Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 186305 Details for
Bug 263838
sys-cluster/heartbeat ~x86-fbsd keyword request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild for sys-cluster/heartbeat-2.0.7 with kernel_ flags
heartbeat-2.0.7-r3.ebuild (text/plain), 3.66 KB, created by
Dmitri Bogomolov
on 2009-03-26 08:09:33 UTC
(
hide
)
Description:
ebuild for sys-cluster/heartbeat-2.0.7 with kernel_ flags
Filename:
MIME Type:
Creator:
Dmitri Bogomolov
Created:
2009-03-26 08:09:33 UTC
Size:
3.66 KB
patch
obsolete
># Copyright 1999-2008 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-r2.ebuild,v 1.7 2008/04/19 23:09:01 vapier 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 ~x86-fbsd" >IUSE="ldirectord doc snmp management kernel_FreeBSD kernel_Linux" > >RDEPEND=" > =dev-libs/glib-2* > net-libs/libnet > >=dev-lang/perl-5.8.8 > !kernel_FreeBSD? ( net-misc/iputils ) > virtual/ssh > net-libs/gnutls > ldirectord? ( sys-cluster/ipvsadm > dev-perl/Net-DNS > dev-perl/libwww-perl > dev-perl/perl-ldap > virtual/perl-libnet > dev-perl/Crypt-SSLeay > dev-perl/HTML-Parser > dev-perl/perl-ldap > dev-perl/Mail-IMAPClient > dev-perl/Mail-POP3Client > dev-perl/MailTools > ) > snmp? ( net-analyzer/net-snmp ) > net-misc/telnet-bsd > dev-lang/swig > management? ( > >=dev-lang/python-2.4 > >=dev-python/pygtk-2.4 > kernel_FreeBSD? ( sys-auth/openpam ) > kernel_Linux? ( >=sys-libs/pam-0.78-r3 ) > ) > " >DEPEND="${RDEPEND} > dev-util/pkgconfig" > >src_unpack() { > unpack ${A} > cd "${S}" > epatch "${FILESDIR}"/${P}-update-resources-failcount.patch || die > #epatch "${FILESDIR}"/${P}-crm-leaks.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 \ > --enable-fatal-warnings=NO \ > $(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}"/etc/ha.d/resource.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 > > dodir /var/lib/heartbeat/cores/cluster > keepdir /var/lib/heartbeat/cores/cluster > newinitd "${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 >} > >pkg_postinst() { > # Change wrong permissions > chown -R cluster:cluster /var/run/heartbeat/ccm > chown -R cluster:cluster /var/run/heartbeat/crm > chown -R cluster:cluster /var/lib/heartbeat/cores > chown -R cluster:cluster /var/lib/heartbeat/crm > chown -R cluster:cluster /var/lib/heartbeat/pengine > chown -R cluster:cluster /var/lib/heartbeat/cores/cluster >}
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 263838
: 186305 |
186381
|
191887