summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2004-06-06 23:29:46 +0000
committerMichael Imhof <tantive@gentoo.org>2004-06-06 23:29:46 +0000
commit7ba47c79a0a55f266b4545cf6d6945675f23c48e (patch)
tree22848560203bea7295b5153aaf5877aaeed564ed /sys-cluster
parent/me loves weeve's watchful eyes :) (Manifest recommit) (diff)
downloadgentoo-2-7ba47c79a0a55f266b4545cf6d6945675f23c48e.tar.gz
gentoo-2-7ba47c79a0a55f266b4545cf6d6945675f23c48e.tar.bz2
gentoo-2-7ba47c79a0a55f266b4545cf6d6945675f23c48e.zip
Version bumped. Closes #50909.
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/heartbeat/ChangeLog7
-rw-r--r--sys-cluster/heartbeat/Manifest8
-rw-r--r--sys-cluster/heartbeat/files/digest-heartbeat-1.2.21
-rw-r--r--sys-cluster/heartbeat/heartbeat-1.2.2.ebuild61
4 files changed, 73 insertions, 4 deletions
diff --git a/sys-cluster/heartbeat/ChangeLog b/sys-cluster/heartbeat/ChangeLog
index 6ba24e783b38..ff4065a5ee27 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.20 2004/04/27 21:42:44 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/ChangeLog,v 1.21 2004/06/06 23:29:46 tantive Exp $
+
+*heartbeat-1.2.2 (07 Jun 2004)
+
+ 07 Jun 2004; root <root@gentoo.org> heartbeat-1.2.2.ebuild:
+ Version bumped. Closes #50909.
27 Apr 2004; Aron Griffis <agriffis@gentoo.org> heartbeat-1.2.0-r2.ebuild:
Add inherit eutils
diff --git a/sys-cluster/heartbeat/Manifest b/sys-cluster/heartbeat/Manifest
index b5adc8d48e06..12968e14c905 100644
--- a/sys-cluster/heartbeat/Manifest
+++ b/sys-cluster/heartbeat/Manifest
@@ -1,10 +1,12 @@
-MD5 f0b668aa8e99c6f01a4dc75d210a2c08 ChangeLog 3627
MD5 c743cffe5e69d6e56307b13b5cad861b heartbeat-1.1.5.ebuild 2155
MD5 469a4f6cad0c54b4faed31a2852af816 metadata.xml 339
+MD5 f0b668aa8e99c6f01a4dc75d210a2c08 ChangeLog 3627
MD5 69048ef629f87413429e4c74dd4ee9c9 heartbeat-1.0.4.ebuild 1656
+MD5 091f54e64f65ab6a6bd0fbd87902a782 heartbeat-1.2.2.ebuild 1662
MD5 6b2e4e7806c24170bd9d3679561e0c64 heartbeat-1.2.0-r2.ebuild 2218
+MD5 e3895cdfd71fec4131de1c12a1a1c6bb files/digest-heartbeat-1.2.2 68
MD5 d940c2eea866c93bb48facd1ae54f5f6 files/digest-heartbeat-1.1.5 68
-MD5 42f0e631ebd916d234c0a3a807d4a671 files/digest-heartbeat-1.0.4 68
-MD5 5a2e512ad67f6469362d57745be05d42 files/digest-heartbeat-1.2.0-r2 68
MD5 d0464cdef2467f7458b0a36c33ffc226 files/heartbeat-init 828
MD5 9fc3b9c04b508118400377fabd75be92 files/heartbeat-1.2.0-failbackfix.patch 486
+MD5 42f0e631ebd916d234c0a3a807d4a671 files/digest-heartbeat-1.0.4 68
+MD5 5a2e512ad67f6469362d57745be05d42 files/digest-heartbeat-1.2.0-r2 68
diff --git a/sys-cluster/heartbeat/files/digest-heartbeat-1.2.2 b/sys-cluster/heartbeat/files/digest-heartbeat-1.2.2
new file mode 100644
index 000000000000..cf73363f94f9
--- /dev/null
+++ b/sys-cluster/heartbeat/files/digest-heartbeat-1.2.2
@@ -0,0 +1 @@
+MD5 2f4b94f3d164dc5ffe4a4df95536f730 heartbeat-1.2.2.tar.gz 1740434
diff --git a/sys-cluster/heartbeat/heartbeat-1.2.2.ebuild b/sys-cluster/heartbeat/heartbeat-1.2.2.ebuild
new file mode 100644
index 000000000000..f6771d607650
--- /dev/null
+++ b/sys-cluster/heartbeat/heartbeat-1.2.2.ebuild
@@ -0,0 +1,61 @@
+# 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.2.ebuild,v 1.1 2004/06/06 23:29:46 tantive 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
+
+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
+}