summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2006-08-14 14:18:32 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2006-08-14 14:18:32 +0000
commitc1a298b6e0598cd10124b428c606e944ee7bc404 (patch)
tree1994e51a96e61086e84030d9680283865c755e77 /sys-cluster
parent- p.mask goodness from the bottom of my heart (diff)
downloadhistorical-c1a298b6e0598cd10124b428c606e944ee7bc404.tar.gz
historical-c1a298b6e0598cd10124b428c606e944ee7bc404.tar.bz2
historical-c1a298b6e0598cd10124b428c606e944ee7bc404.zip
Version bump.
Package-Manager: portage-2.1-r1
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/heartbeat/ChangeLog8
-rw-r--r--sys-cluster/heartbeat/Manifest22
-rw-r--r--sys-cluster/heartbeat/files/digest-heartbeat-2.0.73
-rw-r--r--sys-cluster/heartbeat/heartbeat-2.0.7.ebuild116
4 files changed, 141 insertions, 8 deletions
diff --git a/sys-cluster/heartbeat/ChangeLog b/sys-cluster/heartbeat/ChangeLog
index 090bdfa260b5..7d6d04a5bdbb 100644
--- a/sys-cluster/heartbeat/ChangeLog
+++ b/sys-cluster/heartbeat/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-cluster/heartbeat
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/ChangeLog,v 1.50 2006/07/24 17:59:10 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/ChangeLog,v 1.51 2006/08/14 14:18:32 xmerlin Exp $
+
+*heartbeat-2.0.7 (14 Aug 2006)
+
+ 14 Aug 2006; Christian Zoffoli <xmerlin@gentoo.org>
+ +heartbeat-2.0.7.ebuild:
+ Version bump.
24 Jul 2006; Christian Zoffoli <xmerlin@gentoo.org>
+files/heartbeat-2.0.4-fix-local-DOS-attack.patch, heartbeat-2.0.4.ebuild,
diff --git a/sys-cluster/heartbeat/Manifest b/sys-cluster/heartbeat/Manifest
index 8993b5a47208..13e75019f14f 100644
--- a/sys-cluster/heartbeat/Manifest
+++ b/sys-cluster/heartbeat/Manifest
@@ -25,6 +25,7 @@ DIST heartbeat-1.2.3.tar.gz 1772513 RMD160 f2d7b58e862c7bef3ee7d8a0421744fcd3554
DIST heartbeat-2.0.4.tar.gz 2807110 RMD160 94ff6d018253c29bee876bc5063ab1072b51091d SHA1 470fcc7cdc1a2f1dd3db6e7bfa1ce9a3b806c987 SHA256 334a3df02cdba3f1ef5f0ff60be54702928c54b40a5623cd55150b2a2d5d079f
DIST heartbeat-2.0.5.tar.gz 2837784 RMD160 38591600953fe225ba9c548fd63b328f7e344da3 SHA1 6b55d9caf3f3631a548f9601cbd73d903635ce83 SHA256 55565e61d991dd6b902b6b842321b6f33dd24ab4025cbd8bc72ae8b18e68e2b9
DIST heartbeat-2.0.6.tar.gz 3267773 RMD160 4310afabdc03880cb973e03148df82973d5a42b3 SHA1 dda21dcfa000dc75617b735a0206851cc5812ee9 SHA256 d67e96ecc56326f4b13bbce0118568f237996017c6e22ef8863f6040efbcddaa
+DIST heartbeat-2.0.7.tar.gz 3327126 RMD160 8fe70e64fc6714fef4e501ae0b240d870a51cf75 SHA1 c0caf848b90d2fc76e0a390aaf59352d580d714a SHA256 008214f51fd0c49e168d1bb262cb5c967bc166f99d0c8ff3a2623c8ba51a0ab3
EBUILD heartbeat-1.2.3-r1.ebuild 2100 RMD160 ad770c6f19db4f66464fb9607cacac15be85993a SHA1 fe084e17812f5147a6ff6188fb4a95e5a901734f SHA256 4a9cd43da95d4acc27ef2052834455b7204478db711057f01ea704db2418a4b2
MD5 4a49236960a441f4fecb1530de623e76 heartbeat-1.2.3-r1.ebuild 2100
RMD160 ad770c6f19db4f66464fb9607cacac15be85993a heartbeat-1.2.3-r1.ebuild 2100
@@ -45,10 +46,14 @@ EBUILD heartbeat-2.0.6.ebuild 2980 RMD160 780849dc0944dfeb621eaa92db3d2d6297cd35
MD5 da6d07db04a56877c60c799d65e69c32 heartbeat-2.0.6.ebuild 2980
RMD160 780849dc0944dfeb621eaa92db3d2d6297cd35d8 heartbeat-2.0.6.ebuild 2980
SHA256 e2a7f762c96a7e38f64573c62c90d54921e181583aa15363f77b32d3ba7895fb heartbeat-2.0.6.ebuild 2980
-MISC ChangeLog 8383 RMD160 f439ee299b24d64adc07383a79d2d526796201c2 SHA1 949bad2f864ac4d90b2d125c5e51e7c1e618d1af SHA256 e151e3c9ba3d4e2e0dfe54045acb070f4ef7f169dd4f1e6c5aec26be622ee363
-MD5 3280d0f224c33240e109073b0cc41fec ChangeLog 8383
-RMD160 f439ee299b24d64adc07383a79d2d526796201c2 ChangeLog 8383
-SHA256 e151e3c9ba3d4e2e0dfe54045acb070f4ef7f169dd4f1e6c5aec26be622ee363 ChangeLog 8383
+EBUILD heartbeat-2.0.7.ebuild 2980 RMD160 4c33ec6f5137ccecada03345085d4254c5729eaf SHA1 73815a241edb93ac9df41469ecfb4160bf8d9f62 SHA256 7f5ab1d62fe245966c3b85a58441319d18d03f9b85cd36c20ed43727953a3e3a
+MD5 6fad290e81c401225620b5decbd74e36 heartbeat-2.0.7.ebuild 2980
+RMD160 4c33ec6f5137ccecada03345085d4254c5729eaf heartbeat-2.0.7.ebuild 2980
+SHA256 7f5ab1d62fe245966c3b85a58441319d18d03f9b85cd36c20ed43727953a3e3a heartbeat-2.0.7.ebuild 2980
+MISC ChangeLog 8513 RMD160 0f9b6d800ccef8c8f75ad4b61632690281aa6c94 SHA1 48684e8b86dcc409fc17c2a2e0b40c6c6872006e SHA256 eb3a72c66b0871caeb32ff1222bfbfe44162bb3d4ba5efc8309e33f2c29afd5b
+MD5 ea55514c23010273f52645224c3dbe31 ChangeLog 8513
+RMD160 0f9b6d800ccef8c8f75ad4b61632690281aa6c94 ChangeLog 8513
+SHA256 eb3a72c66b0871caeb32ff1222bfbfe44162bb3d4ba5efc8309e33f2c29afd5b ChangeLog 8513
MISC metadata.xml 339 RMD160 503ff4e79821bcf9851a8a6f8df0d43b3be8aa99 SHA1 7af6b38347db8330de0f27dbe2677156b524ebf9 SHA256 bb453c6b308cf1dfcbd818320ea43b654620a2b28dc24296c35367d803062635
MD5 469a4f6cad0c54b4faed31a2852af816 metadata.xml 339
RMD160 503ff4e79821bcf9851a8a6f8df0d43b3be8aa99 metadata.xml 339
@@ -68,10 +73,13 @@ SHA256 78549687fdd2003a265f6537958824589ccda63c1c7be3dd1bf8601bfb73f164 files/di
MD5 1d08d3ae2876ae7f851893efea346d91 files/digest-heartbeat-2.0.6 250
RMD160 3b04652804f9160813cd2f08b5e792b7c0a00c95 files/digest-heartbeat-2.0.6 250
SHA256 6f0be48042c62aa3e5eeaeac5bda7b7b4ce55011a097472354fe24ee98d0e0c0 files/digest-heartbeat-2.0.6 250
+MD5 730e170420e55cc6abbb746fb0f0ae14 files/digest-heartbeat-2.0.7 250
+RMD160 c33c56e13bd882781b92ac96f8a8d4fff191208e files/digest-heartbeat-2.0.7 250
+SHA256 4e28f3c92fda41c864ef7aaa4d6b540a751f22135d21ae4be00a89cf5c57425d files/digest-heartbeat-2.0.7 250
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
-iD8DBQFExRmpgMUyd/cdjWsRAkYjAKCPzbYdo+4PeGF7aQfdGtLiGX2J0wCfY3g5
-4u16qJz/WNj4j7k+uTUU85E=
-=a/x4
+iD8DBQFE4JWQgMUyd/cdjWsRAlGpAJ9ndh7d+PHwWPej0jo+T8qyfEpXRACcCpDd
+rm7IsgU2KRjxhrycNCPTy3s=
+=ePzY
-----END PGP SIGNATURE-----
diff --git a/sys-cluster/heartbeat/files/digest-heartbeat-2.0.7 b/sys-cluster/heartbeat/files/digest-heartbeat-2.0.7
new file mode 100644
index 000000000000..8ff7ae56cec2
--- /dev/null
+++ b/sys-cluster/heartbeat/files/digest-heartbeat-2.0.7
@@ -0,0 +1,3 @@
+MD5 41233e5097c42341bf2162806d4cb99c heartbeat-2.0.7.tar.gz 3327126
+RMD160 8fe70e64fc6714fef4e501ae0b240d870a51cf75 heartbeat-2.0.7.tar.gz 3327126
+SHA256 008214f51fd0c49e168d1bb262cb5c967bc166f99d0c8ff3a2623c8ba51a0ab3 heartbeat-2.0.7.tar.gz 3327126
diff --git a/sys-cluster/heartbeat/heartbeat-2.0.7.ebuild b/sys-cluster/heartbeat/heartbeat-2.0.7.ebuild
new file mode 100644
index 000000000000..ba5ed20b3041
--- /dev/null
+++ b/sys-cluster/heartbeat/heartbeat-2.0.7.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/heartbeat-2.0.7.ebuild,v 1.1 2006/08/14 14:18:32 xmerlin Exp $
+
+inherit flag-o-matic eutils
+
+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="~amd64 -mips ~ppc -s390 ~x86"
+IUSE="ldirectord doc snmp management"
+
+DEPEND="
+ =dev-libs/glib-2*
+ net-libs/libnet
+ dev-util/pkgconfig
+ dev-lang/perl
+ net-misc/iputils
+ virtual/ssh
+ net-libs/gnutls
+ ldirectord? ( sys-cluster/ipvsadm
+ dev-perl/Net-DNS
+ dev-perl/libwww-perl
+ dev-perl/perl-ldap
+ perl-core/libnet
+ dev-perl/Crypt-SSLeay
+ dev-perl/HTML-Parser
+ dev-perl/perl-ldap
+ dev-perl/Mail-IMAPClient
+ )
+ snmp? ( net-analyzer/net-snmp )
+ net-misc/telnet-bsd
+ dev-lang/swig
+ management? (
+ >=dev-lang/python-2.4
+ >=dev-python/pygtk-2.4
+ >=sys-libs/pam-0.78-r3
+ )
+ "
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ #epatch ${FILESDIR}/${PN}-2.0.4-fix-local-DOS-attack.patch || die
+}
+
+src_compile() {
+ append-ldflags $(bindnow-flags)
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-group-name=cluster \
+ --with-group-id=65 \
+ --with-ccmuser-name=cluster \
+ --with-ccmuser-id=65 \
+ --enable-checkpointd \
+ --enable-crm \
+ --enable-lrm \
+ $(use_enable management mgmt) \
+ || 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 management ; then
+ keepdir /var/lib/heartbeat/mgmt
+ fi
+
+ # 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/share/man/man8/supervise-ldirectord-config.8
+ rm ${D}/usr/share/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
+
+ 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
+}