diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2006-08-14 14:21:07 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2006-08-14 14:21:07 +0000 |
commit | 1f744be74fe396d91495d7d67d48b88a4659a099 (patch) | |
tree | 4965fcb41544628d20f4e8de5ed7620d4e19e043 /sys-cluster | |
parent | Ebuild cleanup. (diff) | |
download | gentoo-2-1f744be74fe396d91495d7d67d48b88a4659a099.tar.gz gentoo-2-1f744be74fe396d91495d7d67d48b88a4659a099.tar.bz2 gentoo-2-1f744be74fe396d91495d7d67d48b88a4659a099.zip |
Ebuild cleanup.
(Portage version: 2.1-r1)
(Signed Manifest commit)
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/heartbeat/Manifest | 46 | ||||
-rw-r--r-- | sys-cluster/heartbeat/files/digest-heartbeat-2.0.4 | 3 | ||||
-rw-r--r-- | sys-cluster/heartbeat/files/digest-heartbeat-2.0.5 | 3 | ||||
-rw-r--r-- | sys-cluster/heartbeat/files/digest-heartbeat-2.0.6 | 3 | ||||
-rw-r--r-- | sys-cluster/heartbeat/files/heartbeat-2.0.4-fix-local-DOS-attack.patch | 11 | ||||
-rw-r--r-- | sys-cluster/heartbeat/files/heartbeat-2.0.4-op_list.patch | 11 | ||||
-rw-r--r-- | sys-cluster/heartbeat/heartbeat-2.0.4.ebuild | 107 | ||||
-rw-r--r-- | sys-cluster/heartbeat/heartbeat-2.0.5.ebuild | 116 | ||||
-rw-r--r-- | sys-cluster/heartbeat/heartbeat-2.0.6.ebuild | 116 |
9 files changed, 7 insertions, 409 deletions
diff --git a/sys-cluster/heartbeat/Manifest b/sys-cluster/heartbeat/Manifest index 13e75019f14f..10d54b1dd6c1 100644 --- a/sys-cluster/heartbeat/Manifest +++ b/sys-cluster/heartbeat/Manifest @@ -9,22 +9,11 @@ AUX heartbeat-1.2.3-misc_security_fixes.patch 7756 RMD160 373a1091443afdf6d2a376 MD5 30657e79d1e3630eed837297364fe17c files/heartbeat-1.2.3-misc_security_fixes.patch 7756 RMD160 373a1091443afdf6d2a376293b20b3e125aac982 files/heartbeat-1.2.3-misc_security_fixes.patch 7756 SHA256 5c56152c7283f928eba5b39690bf198685447b54bcf66a25c8a9bd9543a37940 files/heartbeat-1.2.3-misc_security_fixes.patch 7756 -AUX heartbeat-2.0.4-fix-local-DOS-attack.patch 423 RMD160 19d2cea4263199ef9f9b583be5be4e4611bd7273 SHA1 98d09abf1aec1b4f1ff1ee870e67d22fa6bba9ee SHA256 74618cc8e8f08ca5a0cd2e911abc43571be4696c8259010e95d96238698ffaad -MD5 72ae7f74f6e540b4b0348c19dea9ffce files/heartbeat-2.0.4-fix-local-DOS-attack.patch 423 -RMD160 19d2cea4263199ef9f9b583be5be4e4611bd7273 files/heartbeat-2.0.4-fix-local-DOS-attack.patch 423 -SHA256 74618cc8e8f08ca5a0cd2e911abc43571be4696c8259010e95d96238698ffaad files/heartbeat-2.0.4-fix-local-DOS-attack.patch 423 -AUX heartbeat-2.0.4-op_list.patch 326 RMD160 c9fc0884c443b9b9df72c5278f5dab70d4fcfe60 SHA1 84df35b8671efff023adc01f997acd88c5d3dd6b SHA256 c9c128dc32155698984c5af67d50d0e32222a9ff575e00e80753b8d564963c79 -MD5 d0477f83ab923e21ff1e5770fc626672 files/heartbeat-2.0.4-op_list.patch 326 -RMD160 c9fc0884c443b9b9df72c5278f5dab70d4fcfe60 files/heartbeat-2.0.4-op_list.patch 326 -SHA256 c9c128dc32155698984c5af67d50d0e32222a9ff575e00e80753b8d564963c79 files/heartbeat-2.0.4-op_list.patch 326 AUX heartbeat-init 1616 RMD160 2a76f26e572b0b466fa860f8eab0fad5fcb6e29f SHA1 9c20eff23ee59434b1d9f222adb587c1bc7a7e26 SHA256 98e34d2e9d6fde5e8dedb1b4d934fa39b502f2d4e603e9faa7a86b66cd0e0437 MD5 74949e88062a20f9c6c20dd01c20533b files/heartbeat-init 1616 RMD160 2a76f26e572b0b466fa860f8eab0fad5fcb6e29f files/heartbeat-init 1616 SHA256 98e34d2e9d6fde5e8dedb1b4d934fa39b502f2d4e603e9faa7a86b66cd0e0437 files/heartbeat-init 1616 DIST heartbeat-1.2.3.tar.gz 1772513 RMD160 f2d7b58e862c7bef3ee7d8a0421744fcd35544c2 SHA1 e3ea8f25e4d5d453f91a86ce5e4ac48e8d4e945e SHA256 44a2e7b3cea825f873d47366f02ff51a8aaab320d51618e959fa2c6a5cbf3ed2 -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 @@ -34,26 +23,14 @@ EBUILD heartbeat-1.2.3-r2.ebuild 2154 RMD160 6d6d68390bcac5b14faf8d4d1fece1242e1 MD5 f2b532351a9e4594ec5489b3855a2737 heartbeat-1.2.3-r2.ebuild 2154 RMD160 6d6d68390bcac5b14faf8d4d1fece1242e19382e heartbeat-1.2.3-r2.ebuild 2154 SHA256 eaf875004987a4a2e8a66e075520376f24d49a12d62ab794a3cb73fac17647bc heartbeat-1.2.3-r2.ebuild 2154 -EBUILD heartbeat-2.0.4.ebuild 2823 RMD160 a2c46fe158e29b5573565cf32ebe19b3e0df6cba SHA1 4e0b764d08bd0763f54d94fe4fe0ea703c1fb6c6 SHA256 8a2637d768da02a9bc5356f1fe1c6806b7d1f8536357bcdf1667f79c6939e6a6 -MD5 cb573327b4551846e34531944140f5b4 heartbeat-2.0.4.ebuild 2823 -RMD160 a2c46fe158e29b5573565cf32ebe19b3e0df6cba heartbeat-2.0.4.ebuild 2823 -SHA256 8a2637d768da02a9bc5356f1fe1c6806b7d1f8536357bcdf1667f79c6939e6a6 heartbeat-2.0.4.ebuild 2823 -EBUILD heartbeat-2.0.5.ebuild 2972 RMD160 e1f5db48df6e73c5ec96364d7c94760c90144056 SHA1 288953e349ac1377c60a7906837bde4de69f1925 SHA256 5d3a269c645e272898281c0d63e977c3bb5425ff32f3a7e594fe69f576150c46 -MD5 03a1aca7825f9a4f834948f5b2296db4 heartbeat-2.0.5.ebuild 2972 -RMD160 e1f5db48df6e73c5ec96364d7c94760c90144056 heartbeat-2.0.5.ebuild 2972 -SHA256 5d3a269c645e272898281c0d63e977c3bb5425ff32f3a7e594fe69f576150c46 heartbeat-2.0.5.ebuild 2972 -EBUILD heartbeat-2.0.6.ebuild 2980 RMD160 780849dc0944dfeb621eaa92db3d2d6297cd35d8 SHA1 644e00dd2be68de6bd2b62e13bac0a52b7160c5a SHA256 e2a7f762c96a7e38f64573c62c90d54921e181583aa15363f77b32d3ba7895fb -MD5 da6d07db04a56877c60c799d65e69c32 heartbeat-2.0.6.ebuild 2980 -RMD160 780849dc0944dfeb621eaa92db3d2d6297cd35d8 heartbeat-2.0.6.ebuild 2980 -SHA256 e2a7f762c96a7e38f64573c62c90d54921e181583aa15363f77b32d3ba7895fb heartbeat-2.0.6.ebuild 2980 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 ChangeLog 8756 RMD160 06aa3acf68325dee8c1002aec447664e822d9fe7 SHA1 da9abf8eff7e4f2919c3f26c3134d8defdafe980 SHA256 32d8fd45e9330c9e705aad0db686d5be3533d6ef800b2ac51faf11de3a0f756d +MD5 c77d3246b6a7fdd5d3c6198650546c0a ChangeLog 8756 +RMD160 06aa3acf68325dee8c1002aec447664e822d9fe7 ChangeLog 8756 +SHA256 32d8fd45e9330c9e705aad0db686d5be3533d6ef800b2ac51faf11de3a0f756d ChangeLog 8756 MISC metadata.xml 339 RMD160 503ff4e79821bcf9851a8a6f8df0d43b3be8aa99 SHA1 7af6b38347db8330de0f27dbe2677156b524ebf9 SHA256 bb453c6b308cf1dfcbd818320ea43b654620a2b28dc24296c35367d803062635 MD5 469a4f6cad0c54b4faed31a2852af816 metadata.xml 339 RMD160 503ff4e79821bcf9851a8a6f8df0d43b3be8aa99 metadata.xml 339 @@ -64,22 +41,13 @@ SHA256 bc006ce9bc4b1ad0e959e8dc86f54c916ee6f0913ea60da82418e73e36c11302 files/di MD5 415608c317af65c870b640a0395a3cf6 files/digest-heartbeat-1.2.3-r2 250 RMD160 84e81768fd2d08451886f4b940e30afe0f860780 files/digest-heartbeat-1.2.3-r2 250 SHA256 bc006ce9bc4b1ad0e959e8dc86f54c916ee6f0913ea60da82418e73e36c11302 files/digest-heartbeat-1.2.3-r2 250 -MD5 312a98b3ebe9915c39b97f2a31822d5f files/digest-heartbeat-2.0.4 250 -RMD160 04652bd5f162d5b563e161b3158307c246634950 files/digest-heartbeat-2.0.4 250 -SHA256 c04540a9637f917fe1621888ccdb60682205fc5be2575cb4e9d9c2faa4492202 files/digest-heartbeat-2.0.4 250 -MD5 cde808732e5a6827e8f78cb3f80d1853 files/digest-heartbeat-2.0.5 250 -RMD160 60a8930056f7b0e77428ce75ec7f6a409a546dee files/digest-heartbeat-2.0.5 250 -SHA256 78549687fdd2003a265f6537958824589ccda63c1c7be3dd1bf8601bfb73f164 files/digest-heartbeat-2.0.5 250 -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) -iD8DBQFE4JWQgMUyd/cdjWsRAlGpAJ9ndh7d+PHwWPej0jo+T8qyfEpXRACcCpDd -rm7IsgU2KRjxhrycNCPTy3s= -=ePzY +iD8DBQFE4JYTgMUyd/cdjWsRAraDAKCEMlTUuv0SWBRoHIhoRf/tp62LNQCeLcRl +ttK0WHm/Bxym5cLAtbuWh78= +=wwP7 -----END PGP SIGNATURE----- diff --git a/sys-cluster/heartbeat/files/digest-heartbeat-2.0.4 b/sys-cluster/heartbeat/files/digest-heartbeat-2.0.4 deleted file mode 100644 index e8c91007a8bb..000000000000 --- a/sys-cluster/heartbeat/files/digest-heartbeat-2.0.4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 659aae2365daea3a17e5a4a4ae0b0a3e heartbeat-2.0.4.tar.gz 2807110 -RMD160 94ff6d018253c29bee876bc5063ab1072b51091d heartbeat-2.0.4.tar.gz 2807110 -SHA256 334a3df02cdba3f1ef5f0ff60be54702928c54b40a5623cd55150b2a2d5d079f heartbeat-2.0.4.tar.gz 2807110 diff --git a/sys-cluster/heartbeat/files/digest-heartbeat-2.0.5 b/sys-cluster/heartbeat/files/digest-heartbeat-2.0.5 deleted file mode 100644 index b2eda3c2f3d9..000000000000 --- a/sys-cluster/heartbeat/files/digest-heartbeat-2.0.5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 209228b2948cfa4762a3a66454c6cc35 heartbeat-2.0.5.tar.gz 2837784 -RMD160 38591600953fe225ba9c548fd63b328f7e344da3 heartbeat-2.0.5.tar.gz 2837784 -SHA256 55565e61d991dd6b902b6b842321b6f33dd24ab4025cbd8bc72ae8b18e68e2b9 heartbeat-2.0.5.tar.gz 2837784 diff --git a/sys-cluster/heartbeat/files/digest-heartbeat-2.0.6 b/sys-cluster/heartbeat/files/digest-heartbeat-2.0.6 deleted file mode 100644 index e7b9f90b8bbd..000000000000 --- a/sys-cluster/heartbeat/files/digest-heartbeat-2.0.6 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 15f0ded68b8b6ef0bf75ebd06c0cbb04 heartbeat-2.0.6.tar.gz 3267773 -RMD160 4310afabdc03880cb973e03148df82973d5a42b3 heartbeat-2.0.6.tar.gz 3267773 -SHA256 d67e96ecc56326f4b13bbce0118568f237996017c6e22ef8863f6040efbcddaa heartbeat-2.0.6.tar.gz 3267773 diff --git a/sys-cluster/heartbeat/files/heartbeat-2.0.4-fix-local-DOS-attack.patch b/sys-cluster/heartbeat/files/heartbeat-2.0.4-fix-local-DOS-attack.patch deleted file mode 100644 index c688e2964661..000000000000 --- a/sys-cluster/heartbeat/files/heartbeat-2.0.4-fix-local-DOS-attack.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- heartbeat-2.0.4/heartbeat/heartbeat.c.orig 2006-02-24 17:52:26.000000000 +0100 -+++ heartbeat-2.0.4/heartbeat/heartbeat.c 2006-07-24 20:11:14.000000000 +0200 -@@ -502,7 +502,7 @@ - int ipcid; - struct pstat_shm * shm; - -- if ((ipcid = shmget(IPC_PRIVATE, sizeof(*procinfo), 0666)) < 0) { -+ if ((ipcid = shmget(IPC_PRIVATE, sizeof(*procinfo), 0600)) < 0) { - cl_perror("Cannot shmget for process status"); - return; - } diff --git a/sys-cluster/heartbeat/files/heartbeat-2.0.4-op_list.patch b/sys-cluster/heartbeat/files/heartbeat-2.0.4-op_list.patch deleted file mode 100644 index 508be71d2ac3..000000000000 --- a/sys-cluster/heartbeat/files/heartbeat-2.0.4-op_list.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- heartbeat-2.0.4/lib/lrm/clientlib.c.orig 2006-07-14 20:27:35.000000000 +0200 -+++ heartbeat-2.0.4/lib/lrm/clientlib.c 2006-07-14 20:36:44.000000000 +0200 -@@ -1014,7 +1014,7 @@ - } - ha_msg_del(op_msg); - } -- g_list_sort(op_list, compare_call_id); -+ op_list = g_list_sort(op_list, compare_call_id); - return op_list; - } - diff --git a/sys-cluster/heartbeat/heartbeat-2.0.4.ebuild b/sys-cluster/heartbeat/heartbeat-2.0.4.ebuild deleted file mode 100644 index cc22e290bdd2..000000000000 --- a/sys-cluster/heartbeat/heartbeat-2.0.4.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# 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.4.ebuild,v 1.6 2006/07/24 17:59:10 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" - -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 - " - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-op_list.patch || die - 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 \ - || 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/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 -} diff --git a/sys-cluster/heartbeat/heartbeat-2.0.5.ebuild b/sys-cluster/heartbeat/heartbeat-2.0.5.ebuild deleted file mode 100644 index 17b2c40b114a..000000000000 --- a/sys-cluster/heartbeat/heartbeat-2.0.5.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# 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.5.ebuild,v 1.3 2006/07/24 17:59:10 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="~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 -} diff --git a/sys-cluster/heartbeat/heartbeat-2.0.6.ebuild b/sys-cluster/heartbeat/heartbeat-2.0.6.ebuild deleted file mode 100644 index 26cc3bf3dd55..000000000000 --- a/sys-cluster/heartbeat/heartbeat-2.0.6.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# 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.6.ebuild,v 1.2 2006/07/24 17:59:10 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 -} |