diff options
author | 2011-02-22 12:41:35 +0000 | |
---|---|---|
committer | 2011-02-22 12:41:35 +0000 | |
commit | f97a29c241f2ba00ccc614307c1edd7915f0ca95 (patch) | |
tree | 70562ca4ecb06518b49eb2fbeada7ef2b1f78c49 /sys-cluster | |
parent | QA: fix build that broke on last commit. (diff) | |
download | gentoo-2-f97a29c241f2ba00ccc614307c1edd7915f0ca95.tar.gz gentoo-2-f97a29c241f2ba00ccc614307c1edd7915f0ca95.tar.bz2 gentoo-2-f97a29c241f2ba00ccc614307c1edd7915f0ca95.zip |
version bump
(Portage version: 2.1.9.40/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/resource-agents/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/resource-agents/resource-agents-1.0.4.ebuild | 61 |
2 files changed, 67 insertions, 1 deletions
diff --git a/sys-cluster/resource-agents/ChangeLog b/sys-cluster/resource-agents/ChangeLog index 72ec4a2c6810..e0ae4113e807 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-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/resource-agents/ChangeLog,v 1.8 2011/02/21 08:34:10 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/resource-agents/ChangeLog,v 1.9 2011/02/22 12:41:35 ultrabug Exp $ + +*resource-agents-1.0.4 (22 Feb 2011) + + 22 Feb 2011; Ultrabug <ultrabug@gentoo.org> +resource-agents-1.0.4.ebuild: + version bump 21 Feb 2011; Jeroen Roovers <jer@gentoo.org> resource-agents-1.0.3-r1.ebuild: Stable for HPPA (bug #354461). diff --git a/sys-cluster/resource-agents/resource-agents-1.0.4.ebuild b/sys-cluster/resource-agents/resource-agents-1.0.4.ebuild new file mode 100644 index 000000000000..7681a11af072 --- /dev/null +++ b/sys-cluster/resource-agents/resource-agents-1.0.4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/resource-agents/resource-agents-1.0.4.ebuild,v 1.1 2011/02/22 12:41:35 ultrabug Exp $ + +EAPI="2" + +MY_P="${P/resource-}" +inherit autotools multilib eutils base + +DESCRIPTION="Resources pack for Heartbeat / Pacemaker" +HOMEPAGE="http://www.linux-ha.org/wiki/Resource_Agents" +SRC_URI="http://hg.linux-ha.org/agents/archive/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="doc libnet" + +DEPEND="sys-apps/iproute2 + sys-cluster/cluster-glue + !<sys-cluster/heartbeat-3.0 + libnet? ( <net-libs/libnet-1.1.5 )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/Cluster-Resource-Agents-${MY_P}" + +PATCHES=( + "${FILESDIR}/1.0.3-docs.patch" + "${FILESDIR}/1.0.3-respect_cflags.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/ldirectord || die +} + +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." +} |