Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 37334 Details for
Bug 60202
heartbeat 1.2.2 apcmastersnmp stonith plugin linkage is broken
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild for heartbeat 1.2.2 w/ working apcmastersnmp stonith plugin
heartbeat-1.2.2-r1.ebuild (text/plain), 1.80 KB, created by
Martin bene
on 2004-08-13 02:28:05 UTC
(
hide
)
Description:
Ebuild for heartbeat 1.2.2 w/ working apcmastersnmp stonith plugin
Filename:
MIME Type:
Creator:
Martin bene
Created:
2004-08-13 02:28:05 UTC
Size:
1.80 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/heartbeat-1.2.2.ebuild,v 1.3 2004/06/28 01:51:16 agriffis Exp $ > >inherit 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="x86 -mips" >IUSE="ldirectord" > >DEPEND="dev-libs/popt > dev-libs/glib > net-libs/libnet > ldirectord? ( sys-cluster/ipvsadm > dev-perl/libwww-perl > dev-perl/perl-ldap > dev-perl/libnet ) > >=sys-devel/libtool-1.5.2-r5" > ># need to add dev-perl/Mail-IMAPClient inside ldirectord above > >src_unpack() { > unpack ${A} > cd ${S} > # Patch configure.in to include snmp libs for apcmasternsmp if available > epatch ${FILESDIR}/${P}-apcsnmp.patch >} > >src_compile() { > ./bootstrap --prefix=/usr \ > --sysconfdir=/etc \ > --localstatedir=/var \ > --with-group-name=cluster \ > --with-group-id=65 \ > --with-ccmuser-name=cluster \ > --with-ccmuser-id=65 || die > emake || die >} > >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 > > # 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 >}
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 60202
:
37333
| 37334