summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2005-11-13 18:22:49 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2005-11-13 18:22:49 +0000
commit3de8bc337ebfb599526cd95aedd5a8bb53b15098 (patch)
treefcecd2c1e5d3e0ed2b1a4974083e9b423c6deb9b /sys-cluster
parentheartbeat: added stonith and pils use flags (diff)
downloadhistorical-3de8bc337ebfb599526cd95aedd5a8bb53b15098.tar.gz
historical-3de8bc337ebfb599526cd95aedd5a8bb53b15098.tar.bz2
historical-3de8bc337ebfb599526cd95aedd5a8bb53b15098.zip
heartbeat-2.0.2 added to portage.
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/heartbeat/ChangeLog7
-rw-r--r--sys-cluster/heartbeat/Manifest10
-rw-r--r--sys-cluster/heartbeat/files/digest-heartbeat-2.0.21
-rw-r--r--sys-cluster/heartbeat/heartbeat-2.0.2.ebuild118
4 files changed, 131 insertions, 5 deletions
diff --git a/sys-cluster/heartbeat/ChangeLog b/sys-cluster/heartbeat/ChangeLog
index a985266a8568..2a39fd7a7d3b 100644
--- a/sys-cluster/heartbeat/ChangeLog
+++ b/sys-cluster/heartbeat/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/heartbeat
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/ChangeLog,v 1.36 2005/09/01 23:07:25 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/ChangeLog,v 1.37 2005/11/13 18:22:49 xmerlin Exp $
+
+*heartbeat-2.0.2 (13 Nov 2005)
+
+ 13 Nov 2005; Christian Zoffoli <xmerlin@gentoo.org> +heartbeat-2.0.2.ebuild:
+ heartbeat-2.0.2 added to portage.
02 Sep 2005; Christian Zoffoli <xmerlin@gentoo.org>
heartbeat-1.2.3-r1.ebuild, heartbeat-1.2.3-r2.ebuild:
diff --git a/sys-cluster/heartbeat/Manifest b/sys-cluster/heartbeat/Manifest
index 2d6de356c976..4ee33d716ab6 100644
--- a/sys-cluster/heartbeat/Manifest
+++ b/sys-cluster/heartbeat/Manifest
@@ -1,21 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 4f349fbfe004424dc715a7ba7fcbce0a ChangeLog 5952
+MD5 0dfed48cff866eed74dafdd56e861cd5 ChangeLog 6100
MD5 469a4f6cad0c54b4faed31a2852af816 metadata.xml 339
MD5 43e3cb324e0096306884c5c68f7ea4ce heartbeat-1.2.3-r1.ebuild 2094
MD5 72cd506bc581948c4a68e28017430c64 heartbeat-1.2.3.ebuild 1875
MD5 6e0ce7550962b424bbdb16edff62a295 heartbeat-1.2.3-r2.ebuild 2148
+MD5 51233b2203378fcb7c79f0133d807644 heartbeat-2.0.2.ebuild 2941
MD5 6cf2ecfcee6a47d187e99cc1fa3081f0 files/digest-heartbeat-1.2.3 68
MD5 343f80e3711eec80114c5ca01d38b8b0 files/heartbeat-init 821
MD5 6cf2ecfcee6a47d187e99cc1fa3081f0 files/digest-heartbeat-1.2.3-r1 68
MD5 4382b0b2d64b5483957114b7123e4a94 files/heartbeat-1.2.3-lvm.patch 1660
MD5 30657e79d1e3630eed837297364fe17c files/heartbeat-1.2.3-misc_security_fixes.patch 7756
MD5 6cf2ecfcee6a47d187e99cc1fa3081f0 files/digest-heartbeat-1.2.3-r2 68
+MD5 aaf8fa43df7ae5328ab7cce82d6a7547 files/digest-heartbeat-2.0.2 68
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFDF4n9gMUyd/cdjWsRAgCTAJ4hhJHzKW9vtdr6N8pwHJ55XT4K4gCbB0cK
-3VTW2zzGnb3K3b+ABDkk4xc=
-=p/jS
+iD8DBQFDd4TKgMUyd/cdjWsRAtxcAJ9n3VXt9zDBUXAsoUpXuvl9aZ3fJACfQmh3
+2RJhls/DcnX1NoqHb3zcHG0=
+=sjED
-----END PGP SIGNATURE-----
diff --git a/sys-cluster/heartbeat/files/digest-heartbeat-2.0.2 b/sys-cluster/heartbeat/files/digest-heartbeat-2.0.2
new file mode 100644
index 000000000000..6e794ff34b1b
--- /dev/null
+++ b/sys-cluster/heartbeat/files/digest-heartbeat-2.0.2
@@ -0,0 +1 @@
+MD5 097de2cc6d15f8f87ea39ab521f616d5 heartbeat-2.0.2.tar.gz 2189961
diff --git a/sys-cluster/heartbeat/heartbeat-2.0.2.ebuild b/sys-cluster/heartbeat/heartbeat-2.0.2.ebuild
new file mode 100644
index 000000000000..f8c3e84730e1
--- /dev/null
+++ b/sys-cluster/heartbeat/heartbeat-2.0.2.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/heartbeat-2.0.2.ebuild,v 1.1 2005/11/13 18:22:49 xmerlin Exp $
+
+inherit flag-o-matic
+
+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 -ppc -amd64"
+IUSE="ldirectord stonith pils doc"
+
+
+#dev-libs/popt
+
+DEPEND="
+ =dev-libs/glib-2*
+ net-libs/libnet
+ dev-util/pkgconfig
+ dev-lang/perl
+ net-misc/iputils
+ net-misc/openssh
+ ldirectord? ( sys-cluster/ipvsadm
+ dev-perl/Net-DNS
+ dev-perl/libwww-perl
+ dev-perl/perl-ldap
+ dev-perl/libnet
+ dev-perl/Crypt-SSLeay
+ dev-perl/HTML-Parser
+ dev-perl/perl-ldap
+ dev-perl/Mail-IMAPClient
+ )
+ stonith? (
+ net-misc/telnet-bsd
+ )
+"
+
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ #epatch ${FILESDIR}/heartbeat-1.2.3-misc_security_fixes.patch || die
+}
+
+src_compile() {
+ append-ldflags -Wl,-z,now
+
+ ./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 -j 1 || die "compile problem"
+}
+
+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
+
+ # heartbeat modules need these dirs
+ #keepdir /var/lib/heartbeat/ckpt /var/lib/heartbeat/ccm /var/lib/heartbeat
+
+ keepdir /var/lib/heartbeat/crm /var/lib/heartbeat/lrm /var/lib/heartbeat/fencing
+ keepdir /var/lib/heartbeat/cores/cluster /var/lib/heartbeat/cores/root /var/lib/heartbeat/cores/nobody
+
+ keepdir /var/run/heartbeat/ccm /var/run/heartbeat/crm
+
+ keepdir /etc/ha.d/conf
+
+ dosym /usr/sbin/ldirectord /etc/ha.d/resource.d/ldirectord || 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
+
+ if ! use stonith ; then
+ rm ${D}/usr/include/stonith
+ rm -r ${D}/usr/lib/*stonith*
+ rm ${D}/usr/sbin/stonith
+ rm ${D}/usr/sbin/meatclient
+ rm ${D}/usr/man/man8/stonith.8*
+ rm ${D}/usr/man/man8/meatclient.8*
+ fi
+
+ if ! use pils ; then
+ rm ${D}/usr/include/pils
+ rm -r ${D}/usr/lib/*pils*
+ fi
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/heartbeat-init heartbeat
+
+ dodoc ldirectord/ldirectord.cf doc/*.cf doc/haresources doc/authkeys || die
+ if use doc ; then
+ dodoc README doc/*.txt doc/AUTHORS doc/COPYING || die
+ fi
+}