summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2013-02-14 13:43:52 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2013-02-14 13:43:52 +0000
commitc9f5e85e279bdd17bad1a6deeaae818cb23873f3 (patch)
tree10259402251f8b5d3f6c1ddbce49bada9ebacce6 /sys-cluster/resource-agents
parentDrop old versions (diff)
downloadgentoo-2-c9f5e85e279bdd17bad1a6deeaae818cb23873f3.tar.gz
gentoo-2-c9f5e85e279bdd17bad1a6deeaae818cb23873f3.tar.bz2
gentoo-2-c9f5e85e279bdd17bad1a6deeaae818cb23873f3.zip
Version bump
(Portage version: 2.1.11.51/cvs/Linux x86_64, signed Manifest commit with key B658FA13)
Diffstat (limited to 'sys-cluster/resource-agents')
-rw-r--r--sys-cluster/resource-agents/ChangeLog7
-rw-r--r--sys-cluster/resource-agents/resource-agents-3.9.5.ebuild64
2 files changed, 70 insertions, 1 deletions
diff --git a/sys-cluster/resource-agents/ChangeLog b/sys-cluster/resource-agents/ChangeLog
index e8d92a3016ad..35f283f77270 100644
--- a/sys-cluster/resource-agents/ChangeLog
+++ b/sys-cluster/resource-agents/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/resource-agents
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/resource-agents/ChangeLog,v 1.16 2013/01/18 12:36:36 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/resource-agents/ChangeLog,v 1.17 2013/02/14 13:43:52 ultrabug Exp $
+
+*resource-agents-3.9.5 (14 Feb 2013)
+
+ 14 Feb 2013; Ultrabug <ultrabug@gentoo.org> +resource-agents-3.9.5.ebuild:
+ Version bump
*resource-agents-3.9.4 (18 Jan 2013)
*resource-agents-1.0.4-r2 (18 Jan 2013)
diff --git a/sys-cluster/resource-agents/resource-agents-3.9.5.ebuild b/sys-cluster/resource-agents/resource-agents-3.9.5.ebuild
new file mode 100644
index 000000000000..7625822b9f6d
--- /dev/null
+++ b/sys-cluster/resource-agents/resource-agents-3.9.5.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/resource-agents/resource-agents-3.9.5.ebuild,v 1.1 2013/02/14 13:43:52 ultrabug Exp $
+
+EAPI="5"
+
+MY_P="${P/resource-}"
+inherit autotools base eutils multilib
+
+DESCRIPTION="Resources pack for Heartbeat / Pacemaker"
+HOMEPAGE="http://www.linux-ha.org/wiki/Resource_Agents"
+SRC_URI="https://github.com/ClusterLabs/resource-agents/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="doc libnet rgmanager"
+
+RDEPEND="sys-apps/iproute2
+ sys-cluster/cluster-glue
+ !<sys-cluster/heartbeat-3.0
+ libnet? ( net-libs/libnet:1.1 )"
+DEPEND="${RDEPEND}
+ doc? (
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ )"
+
+PATCHES=(
+ "${FILESDIR}/3.9.4-configure.patch"
+)
+
+src_prepare() {
+ base_src_prepare
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --disable-fatal-warnings \
+ --localstatedir=/var \
+ --docdir=/usr/share/doc/${PF} \
+ --libdir=/usr/$(get_libdir) \
+ --with-ocf-root=/usr/$(get_libdir)/ocf \
+ $(use_enable doc) \
+ $(use_enable libnet)
+}
+
+src_install() {
+ base_src_install
+ rm -rf "${D}"/etc/init.d/ || die
+ rm -rf "${D}"/var/run || die
+ use rgmanager || rm -rf "${D}"/usr/share/cluster/ "${D}"/var/
+}
+
+pkg_postinst() {
+ elog "To use Resource Agents installed in /usr/$(get_libdir)/ocf/resource.d"
+ elog "you have to emerge required runtime dependencies manually."
+ elog ""
+ elog "Description and dependencies of all Agents can be found on"
+ elog "http://www.linux-ha.org/wiki/Resource_Agents"
+ elog "or in the documentation of this package."
+}