Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 79406 Details for
Bug 122331
sys-cluster/heartbeat-2.0.2 would benefit from snmp keyword
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
entire modified ebuild
heartbeat-2.0.2-r1.ebuild (text/plain), 2.64 KB, created by
Neil Katin
on 2006-02-09 19:46:55 UTC
(
hide
)
Description:
entire modified ebuild
Filename:
MIME Type:
Creator:
Neil Katin
Created:
2006-02-09 19:46:55 UTC
Size:
2.64 KB
patch
obsolete
># 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.4 2005/12/30 12:05:50 mcummings 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 doc snmp" > >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 > 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 >" > > >src_unpack() { > unpack ${A} > cd ${S} > #epatch ${FILESDIR}/heartbeat-1.2.3-misc_security_fixes.patch || die >} > >src_compile() { > append-ldflags $(bindnow-flags) > > ./configure --prefix=/usr \ > --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/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 > > 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 >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 122331
:
79405
| 79406