summaryrefslogtreecommitdiff
path: root/sys-cluster/pacemaker
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/pacemaker')
-rw-r--r--sys-cluster/pacemaker/Manifest1
-rw-r--r--sys-cluster/pacemaker/pacemaker-1.1.19-r1.ebuild80
2 files changed, 81 insertions, 0 deletions
diff --git a/sys-cluster/pacemaker/Manifest b/sys-cluster/pacemaker/Manifest
index e9d87b9558d7..f862f3e05908 100644
--- a/sys-cluster/pacemaker/Manifest
+++ b/sys-cluster/pacemaker/Manifest
@@ -3,5 +3,6 @@ AUX pacemaker.service 105 BLAKE2B 2b77b0c81427ab418bb5af372fb4938a7c630a9bb1e412
DIST Pacemaker-1.1.16.tar.gz 4897772 BLAKE2B a6ea8b3e5f6ef776a67d8895a0361945c5bcd98ecd861c0fd8d8b3c474a6f14c816e1f36da1dccd429ab8d92c53a9dd071796968d5080d6a900518df200fafbd SHA512 967c860fab7b9e73dd8643e6d09083a2a1298a77d71c3b138187803c89153bee7219da13e6b94b20f2881b53ba7fc1c8584a43ff058a265e76708fd5dbccf534
DIST Pacemaker-1.1.19.tar.gz 5369381 BLAKE2B 9134f014b4da61c01bb2533ad33201400335d9e722e064f5e838df851777cfd17115430bd4623b08b97330bfe98340091f06a98c06dd125761053e79f0375dd2 SHA512 c41403441a3ba7a4fb81b6c3e84d7eff5ee951e1040918597ea8462284c83dc6f572607d4903b1238c55757f1eca78132878a172da4e3b5db2dbfe0831c34548
EBUILD pacemaker-1.1.16.ebuild 1717 BLAKE2B bd304b1002434499f249ae7e1086137f2feff3d733924513f0d7ed1af3b6293ac4515844ff3360ecf319f2de77eb7fd3cace492e9641649f9ad1c8bbfe1da621 SHA512 2cde996f9d0eb1dec1f534adf05d3390ac2c78bb891898ebe5bcc6f27ec9d1eff571880441a25aa260c8fcfc4c61af8260ab47499e47f88dd377c252854d29ee
+EBUILD pacemaker-1.1.19-r1.ebuild 1738 BLAKE2B bd9a796bb21206a028af54cd018226abb8b1dbb69e9f6bbf85ee77bfd454ef796d389972ba299a02ceda9d2b28fa367fe45155147b66b06aab8a1142e6cd2d16 SHA512 8eef712ebbb65c8c46026a95127b5e1c1f33c28ecf8d3e3ac687ff8004b5c81ca57502549b1755003fccbf454a55de303fb9ca8335b9c1c411c48c1dd8953cd5
EBUILD pacemaker-1.1.19.ebuild 1720 BLAKE2B 13e9d97d068ddfb22e41219d1a86471084132dcbaa78637a5d9f40a7ad291861b5f9ce9bfbb5ab26172e7b07726f2a92be97ace5cba26dc543ec7c9b7921752f SHA512 67d65c32128d13bc9403c55d736b7f4bceba9cfff49d6889798c6d86d69cea6812899119e391f33967f9adaf302182f33ba133ec1d0d10aa1d2c2eab16b4166e
MISC metadata.xml 889 BLAKE2B 9b52f88582de605852765e0956640e713e68584066410f472beecccbf69db5a8b7226aaf4ce12851b45fd6945d0cde5cd7e524a873599bf35d4e3cf03a6dd8a5 SHA512 dbfaa3e72fbe361e1648a0a1dfd3e0f153489d005f052fc4ddd1468480d53c84a49bb18c0cfc16ac3f2f409f2ff673ec554faae562452420b898167b8650654f
diff --git a/sys-cluster/pacemaker/pacemaker-1.1.19-r1.ebuild b/sys-cluster/pacemaker/pacemaker-1.1.19-r1.ebuild
new file mode 100644
index 000000000000..ed65ac8337a0
--- /dev/null
+++ b/sys-cluster/pacemaker/pacemaker-1.1.19-r1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+
+inherit autotools python-single-r1
+
+MY_PN="${PN^}"
+MY_P="${MY_PN}-${PV/_/-}"
+
+DESCRIPTION="Pacemaker CRM"
+HOMEPAGE="http://www.linux-ha.org/wiki/Pacemaker"
+SRC_URI="https://github.com/ClusterLabs/${PN}/archive/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="acl heartbeat smtp snmp"
+
+DEPEND="${PYTHON_DEPS}
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ sys-cluster/cluster-glue
+ >=sys-cluster/libqb-0.14.0
+ sys-cluster/resource-agents
+
+ heartbeat? ( >=sys-cluster/heartbeat-3.0.0 )
+ !heartbeat? ( sys-cluster/corosync )
+ smtp? ( net-libs/libesmtp )
+ snmp? ( net-analyzer/net-snmp )
+"
+RDEPEND="${DEPEND}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+S="${WORKDIR}/${PN}-${MY_P}"
+
+src_prepare() {
+ default
+ sed -i -e "s/ -ggdb//g" configure.ac || die
+ eautoreconf
+ python_fix_shebang .
+}
+
+src_configure() {
+ # appends lib to localstatedir automatically
+ local myconf=(
+ --libdir="/usr/$(get_libdir)"
+ --localstatedir=/var
+ --disable-dependency-tracking
+ --disable-fatal-warnings
+ --disable-static
+ --without-cs-quorum
+ --without-cman
+ $(use_with acl)
+ $(use_with heartbeat)
+ $(use_with smtp esmtp)
+ $(use_with snmp)
+ )
+
+ if use heartbeat ; then
+ myconf+=( --without-corosync )
+ else
+ myconf+=( --with-ais )
+ fi
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ rm -rf "${D}/var/run" "${D}/etc/init.d"
+ newinitd "${FILESDIR}/${PN}.initd" "${PN}" || die
+ if has_version "<sys-cluster/corosync-2.0"; then
+ insinto /etc/corosync/service.d
+ newins "${FILESDIR}/${PN}.service" "${PN}" || die
+ fi
+ find "${D}" -name '*.la' -delete || die
+}