diff options
author | Brian Jackson <iggy@gentoo.org> | 2004-03-17 08:20:52 +0000 |
---|---|---|
committer | Brian Jackson <iggy@gentoo.org> | 2004-03-17 08:20:52 +0000 |
commit | f4b330f12698b94920a6cec5b2fdb58cadf04a44 (patch) | |
tree | 10cbd45e588c5653f3788bfe965ae05b97582d95 /sys-cluster/heartbeat | |
parent | tidy older version (Manifest recommit) (diff) | |
download | gentoo-2-f4b330f12698b94920a6cec5b2fdb58cadf04a44.tar.gz gentoo-2-f4b330f12698b94920a6cec5b2fdb58cadf04a44.tar.bz2 gentoo-2-f4b330f12698b94920a6cec5b2fdb58cadf04a44.zip |
version bump
Diffstat (limited to 'sys-cluster/heartbeat')
-rw-r--r-- | sys-cluster/heartbeat/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/heartbeat/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/heartbeat/files/digest-heartbeat-1.2.0 | 1 | ||||
-rw-r--r-- | sys-cluster/heartbeat/heartbeat-1.2.0.ebuild | 80 |
4 files changed, 89 insertions, 1 deletions
diff --git a/sys-cluster/heartbeat/ChangeLog b/sys-cluster/heartbeat/ChangeLog index 23c300f4eefa..7422b4f464bd 100644 --- a/sys-cluster/heartbeat/ChangeLog +++ b/sys-cluster/heartbeat/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/heartbeat # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/ChangeLog,v 1.16 2004/02/11 07:39:31 iggy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/ChangeLog,v 1.17 2004/03/17 08:20:52 iggy Exp $ + +*heartbeat-1.2.0 (17 Mar 2004) + + 17 Mar 2004; Brian Jackson <iggy@gentoo.org> heartbeat-1.2.0.ebuild: + version bump 11 Feb 2004; Brian Jackson <iggy@gentoo.org> heartbeat-1.1.5.ebuild: couple of fixes diff --git a/sys-cluster/heartbeat/Manifest b/sys-cluster/heartbeat/Manifest index 4d51705b4f29..bfdd77b89a35 100644 --- a/sys-cluster/heartbeat/Manifest +++ b/sys-cluster/heartbeat/Manifest @@ -1,7 +1,9 @@ +MD5 982fe07f61f7059eaad3cd82ac9dc794 heartbeat-1.2.0.ebuild 2122 MD5 982fe07f61f7059eaad3cd82ac9dc794 heartbeat-1.1.5.ebuild 2122 MD5 86b09eec465d796e703271cac3ec8198 ChangeLog 2910 MD5 69048ef629f87413429e4c74dd4ee9c9 heartbeat-1.0.4.ebuild 1656 MD5 5161e76bc0f80fa0964d4234bbd1b6f0 metadata.xml 418 MD5 42f0e631ebd916d234c0a3a807d4a671 files/digest-heartbeat-1.0.4 68 MD5 d940c2eea866c93bb48facd1ae54f5f6 files/digest-heartbeat-1.1.5 68 +MD5 5a2e512ad67f6469362d57745be05d42 files/digest-heartbeat-1.2.0 68 MD5 3b1d3f0f7e51f900d4f511c6a9c28ef5 files/heartbeat-init 723 diff --git a/sys-cluster/heartbeat/files/digest-heartbeat-1.2.0 b/sys-cluster/heartbeat/files/digest-heartbeat-1.2.0 new file mode 100644 index 000000000000..46bc5b362cbe --- /dev/null +++ b/sys-cluster/heartbeat/files/digest-heartbeat-1.2.0 @@ -0,0 +1 @@ +MD5 b31e3f91c76fe006d2af94a868445293 heartbeat-1.2.0.tar.gz 1668142 diff --git a/sys-cluster/heartbeat/heartbeat-1.2.0.ebuild b/sys-cluster/heartbeat/heartbeat-1.2.0.ebuild new file mode 100644 index 000000000000..2b8528892112 --- /dev/null +++ b/sys-cluster/heartbeat/heartbeat-1.2.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/heartbeat-1.2.0.ebuild,v 1.1 2004/03/17 08:20:52 iggy Exp $ + +DESCRIPTION="Heartbeat high availability cluster manager" +HOMEPAGE="http://www.linux-ha.org" +SRC_URI="http://www.linux-ha.org/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 -mips" +IUSE="ldirectord" + +DEPEND="dev-libs/popt + dev-libs/glib + net-libs/libnet + ldirectord? ( sys-cluster/ipvsadm + dev-perl/libwww-perl + dev-perl/perl-ldap + dev-perl/libnet )" + +# need to add dev-perl/Mail-IMAPClient inside ldirectord above + +fix_makefiles() { + einfo "fixing up the Makefiles" + sed -i -e 's:mkdir -p $(ckptvarlibdir):mkdir -p $(DESTDIR)$(ckptvarlibdir):' ${S}/telecom/checkpointd/Makefile* || die "failed to sed Makefiles" + aclocal + autoheader + libtoolize --ltdl --force --copy + automake --add-missing --include-deps + autoconf +} + +src_unpack() { + unpack ${A} + cd ${S} + mv ltmain.sh ltmain.orig + echo "export _POSIX2_VERSION=199209" > ltmain.sh + cat ltmain.orig >> ltmain.sh + fix_makefiles +} + +src_compile() { + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-group-name=cluster \ + --with-group-id=65 \ + --with-ccmuser-name=cluster \ + --with-ccmuser-id=65 || die + emake || die +} + +pkg_preinst() { + # check for cluster group, if it doesn't exist make it + if ! grep -q cluster.*65 /etc/group ; then + groupadd -g 65 cluster + fi + # check for cluster user, if it doesn't exist make it + if ! grep -q cluster.*65 /etc/passwd ; then + useradd -u 65 -g cluster -s /dev/null -d /var/lib/heartbeat cluster + fi +} + +src_install() { + make DESTDIR=${D} install || die + + # if ! USE="ldirectord" then don't install it + if [ ! `use ldirectord` ] ; then + rm ${D}/etc/init.d/ldirectord + rm ${D}/etc/logrotate.d/ldirectord + rm ${D}/usr/man/man8/supervise-ldirectord-config.8 + rm ${D}/usr/man/man8/ldirectord.8 + rm ${D}/usr/sbin/ldirectord + rm ${D}/usr/sbin/supervise-ldirectord-config + fi + + exeinto /etc/init.d + newexe ${FILESDIR}/heartbeat-init heartbeat +} |