diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2006-09-21 01:14:04 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2006-09-21 01:14:04 +0000 |
commit | d251b16313bd8b02e4dfadb1814f062cd7f6f732 (patch) | |
tree | 39c17036a892705182aea76cbbe802aa9e39c0b5 /sys-cluster/heartbeat | |
parent | Fixed HOMEPAGE. (diff) | |
download | historical-d251b16313bd8b02e4dfadb1814f062cd7f6f732.tar.gz historical-d251b16313bd8b02e4dfadb1814f062cd7f6f732.tar.bz2 historical-d251b16313bd8b02e4dfadb1814f062cd7f6f732.zip |
Fixed bug #146374.
Package-Manager: portage-2.1-r1
Diffstat (limited to 'sys-cluster/heartbeat')
-rw-r--r-- | sys-cluster/heartbeat/ChangeLog | 8 | ||||
-rw-r--r-- | sys-cluster/heartbeat/Manifest | 21 | ||||
-rw-r--r-- | sys-cluster/heartbeat/files/digest-heartbeat-1.2.5-r1 | 3 | ||||
-rw-r--r-- | sys-cluster/heartbeat/heartbeat-1.2.5-r1.ebuild | 74 |
4 files changed, 98 insertions, 8 deletions
diff --git a/sys-cluster/heartbeat/ChangeLog b/sys-cluster/heartbeat/ChangeLog index e40b59a7853e..be73e7d761e8 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.57 2006/09/17 22:48:05 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/ChangeLog,v 1.58 2006/09/21 01:14:04 xmerlin Exp $ + +*heartbeat-1.2.5-r1 (21 Sep 2006) + + 21 Sep 2006; Christian Zoffoli <xmerlin@gentoo.org> + +heartbeat-1.2.5-r1.ebuild: + Fixed bug #146374. *heartbeat-2.0.7-r2 (17 Sep 2006) diff --git a/sys-cluster/heartbeat/Manifest b/sys-cluster/heartbeat/Manifest index 54eea4ce12b4..472c37991e56 100644 --- a/sys-cluster/heartbeat/Manifest +++ b/sys-cluster/heartbeat/Manifest @@ -11,6 +11,10 @@ RMD160 2a76f26e572b0b466fa860f8eab0fad5fcb6e29f files/heartbeat-init 1616 SHA256 98e34d2e9d6fde5e8dedb1b4d934fa39b502f2d4e603e9faa7a86b66cd0e0437 files/heartbeat-init 1616 DIST heartbeat-1.2.5.tar.gz 2107371 RMD160 0e94fa64339b9b77e11ffe92cffa66fef4f4f2b0 SHA1 eeea454bcf0e12dd1135f6544c95584fa2e66770 SHA256 46f88a69324012317a4426dc93654ab28947b77675826686624d15cd5a4e357f DIST heartbeat-2.0.7.tar.gz 3327126 RMD160 8fe70e64fc6714fef4e501ae0b240d870a51cf75 SHA1 c0caf848b90d2fc76e0a390aaf59352d580d714a SHA256 008214f51fd0c49e168d1bb262cb5c967bc166f99d0c8ff3a2623c8ba51a0ab3 +EBUILD heartbeat-1.2.5-r1.ebuild 2019 RMD160 48d5d9ef607514a0560840a42838991b17eef485 SHA1 c21df7ddc02ea77a2b38d2c8c6ad26c1969c7eb5 SHA256 d52cada7e12214b0d65f796d43966da8a6322f8eda02af8affb7b62eb0ec65b6 +MD5 59a283dc682fbc7752deb32032e391ea heartbeat-1.2.5-r1.ebuild 2019 +RMD160 48d5d9ef607514a0560840a42838991b17eef485 heartbeat-1.2.5-r1.ebuild 2019 +SHA256 d52cada7e12214b0d65f796d43966da8a6322f8eda02af8affb7b62eb0ec65b6 heartbeat-1.2.5-r1.ebuild 2019 EBUILD heartbeat-1.2.5.ebuild 1986 RMD160 b25871073d61edada88a167eaf37a4de2b552d6a SHA1 377835bafed1fd11cd8ca768b0b6ef12d8b125a7 SHA256 66e711596a2b2dad696930abe7ccde73340e6742a09499a65795236fa1e425c0 MD5 f58c89bbad4b79cf45813b8425371891 heartbeat-1.2.5.ebuild 1986 RMD160 b25871073d61edada88a167eaf37a4de2b552d6a heartbeat-1.2.5.ebuild 1986 @@ -23,10 +27,10 @@ EBUILD heartbeat-2.0.7-r2.ebuild 3080 RMD160 3d80126a25239a5b9a30adf6a6aa860ac6b MD5 a240e0dddeb18deccf74143ddbb0e0c7 heartbeat-2.0.7-r2.ebuild 3080 RMD160 3d80126a25239a5b9a30adf6a6aa860ac6b35ab1 heartbeat-2.0.7-r2.ebuild 3080 SHA256 bb04177af240f6ba68fe9adc02e702ed94c2e40c4c66198b28c3708f2c17acb3 heartbeat-2.0.7-r2.ebuild 3080 -MISC ChangeLog 9713 RMD160 050a9c0f4f77151c93e2d56efe8e7d18b8a3fe2b SHA1 09e61f2b01a168b8f2aa271a168f34d9af8a6320 SHA256 b08395bbdcf00b445799706b535c54a5e0bf743f7da07af7b9cf36327a037a3d -MD5 c588f39cab3e47c2cd385e72eecc497c ChangeLog 9713 -RMD160 050a9c0f4f77151c93e2d56efe8e7d18b8a3fe2b ChangeLog 9713 -SHA256 b08395bbdcf00b445799706b535c54a5e0bf743f7da07af7b9cf36327a037a3d ChangeLog 9713 +MISC ChangeLog 9854 RMD160 924ec660ab2c1dd467094af04e12e73fe1fc4389 SHA1 f9638998129ca14b074dfeeab6c0ecd90e70f2ff SHA256 192fb60bd49b813f757331c597413b8db7bb7b6597f727f133acc206971e29e5 +MD5 32e4799cc3cbd7823711394b2d76ba93 ChangeLog 9854 +RMD160 924ec660ab2c1dd467094af04e12e73fe1fc4389 ChangeLog 9854 +SHA256 192fb60bd49b813f757331c597413b8db7bb7b6597f727f133acc206971e29e5 ChangeLog 9854 MISC metadata.xml 339 RMD160 503ff4e79821bcf9851a8a6f8df0d43b3be8aa99 SHA1 7af6b38347db8330de0f27dbe2677156b524ebf9 SHA256 bb453c6b308cf1dfcbd818320ea43b654620a2b28dc24296c35367d803062635 MD5 469a4f6cad0c54b4faed31a2852af816 metadata.xml 339 RMD160 503ff4e79821bcf9851a8a6f8df0d43b3be8aa99 metadata.xml 339 @@ -34,6 +38,9 @@ SHA256 bb453c6b308cf1dfcbd818320ea43b654620a2b28dc24296c35367d803062635 metadata MD5 daf9681c106348445798e3a5ef2c244e files/digest-heartbeat-1.2.5 250 RMD160 f4e5e39e26ea317e2573ad5b4060a7ea86db34c1 files/digest-heartbeat-1.2.5 250 SHA256 931bb676e4aaa9426fadcc6cea6f67a3ea9f0d9d2737abb80e89eceb9bacca04 files/digest-heartbeat-1.2.5 250 +MD5 daf9681c106348445798e3a5ef2c244e files/digest-heartbeat-1.2.5-r1 250 +RMD160 f4e5e39e26ea317e2573ad5b4060a7ea86db34c1 files/digest-heartbeat-1.2.5-r1 250 +SHA256 931bb676e4aaa9426fadcc6cea6f67a3ea9f0d9d2737abb80e89eceb9bacca04 files/digest-heartbeat-1.2.5-r1 250 MD5 730e170420e55cc6abbb746fb0f0ae14 files/digest-heartbeat-2.0.7-r1 250 RMD160 c33c56e13bd882781b92ac96f8a8d4fff191208e files/digest-heartbeat-2.0.7-r1 250 SHA256 4e28f3c92fda41c864ef7aaa4d6b540a751f22135d21ae4be00a89cf5c57425d files/digest-heartbeat-2.0.7-r1 250 @@ -43,7 +50,7 @@ SHA256 4e28f3c92fda41c864ef7aaa4d6b540a751f22135d21ae4be00a89cf5c57425d files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) -iD8DBQFFDeAFgMUyd/cdjWsRAg0+AJ4t6rywwlqpOPDDpQl1pOzsbIr6CgCbBmbU -Uoz0RPPESTOPBzExwQr6pm4= -=R+GV +iD8DBQFFEfcmgMUyd/cdjWsRAp3TAJ4nD8Jm4VicgMrQdc8FFxeJfGx+sgCfQ2B5 +svkHSsKD+V3XHOb6bNasXNw= +=k+xd -----END PGP SIGNATURE----- diff --git a/sys-cluster/heartbeat/files/digest-heartbeat-1.2.5-r1 b/sys-cluster/heartbeat/files/digest-heartbeat-1.2.5-r1 new file mode 100644 index 000000000000..0246e3f14807 --- /dev/null +++ b/sys-cluster/heartbeat/files/digest-heartbeat-1.2.5-r1 @@ -0,0 +1,3 @@ +MD5 d59b021af0e1cbaba56345cc67f6ef12 heartbeat-1.2.5.tar.gz 2107371 +RMD160 0e94fa64339b9b77e11ffe92cffa66fef4f4f2b0 heartbeat-1.2.5.tar.gz 2107371 +SHA256 46f88a69324012317a4426dc93654ab28947b77675826686624d15cd5a4e357f heartbeat-1.2.5.tar.gz 2107371 diff --git a/sys-cluster/heartbeat/heartbeat-1.2.5-r1.ebuild b/sys-cluster/heartbeat/heartbeat-1.2.5-r1.ebuild new file mode 100644 index 000000000000..b2bb9e7cb3b2 --- /dev/null +++ b/sys-cluster/heartbeat/heartbeat-1.2.5-r1.ebuild @@ -0,0 +1,74 @@ +# 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-1.2.5-r1.ebuild,v 1.1 2006/09/21 01:14:04 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" + +DEPEND="dev-libs/popt + =dev-libs/glib-1.2* + net-libs/libnet + ldirectord? ( sys-cluster/ipvsadm + dev-perl/libwww-perl + dev-perl/perl-ldap + virtual/perl-libnet )" + +# need to add dev-perl/Mail-IMAPClient inside ldirectord above + +src_compile() { + append-ldflags -Wl,-z,now + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-fatal-warnings \ + --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 /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 + rm ${D}/etc/ha.d/resource.d/ldirectord + fi + + exeinto /etc/init.d + newexe ${FILESDIR}/heartbeat-init heartbeat +} |