diff options
author | Michael Imhof <tantive@gentoo.org> | 2004-09-01 19:46:46 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2004-09-01 19:46:46 +0000 |
commit | c5488086f6dd14e0c7f2332041f4530934c8af66 (patch) | |
tree | 84d03f83831ae1d5bd6cb85b30c837a014ea7b13 /sys-cluster | |
parent | Stable on sparc wrt #62417 (Manifest recommit) (diff) | |
download | gentoo-2-c5488086f6dd14e0c7f2332041f4530934c8af66.tar.gz gentoo-2-c5488086f6dd14e0c7f2332041f4530934c8af66.tar.bz2 gentoo-2-c5488086f6dd14e0c7f2332041f4530934c8af66.zip |
cleaned up the ebuild...
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/saru/ChangeLog | 5 | ||||
-rw-r--r-- | sys-cluster/saru/saru-0.0.1.ebuild | 104 |
2 files changed, 56 insertions, 53 deletions
diff --git a/sys-cluster/saru/ChangeLog b/sys-cluster/saru/ChangeLog index 2e75f5ee82ec..ec6912d17948 100644 --- a/sys-cluster/saru/ChangeLog +++ b/sys-cluster/saru/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-cluster/saru # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/saru/ChangeLog,v 1.1 2004/08/31 15:49:44 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/saru/ChangeLog,v 1.2 2004/09/01 19:46:46 tantive Exp $ + + 01 Sep 2004; Michael Imhof <tantive@gentoo.org> saru-0.0.1.ebuild: + cleaned up the ebuild... *saru-0.0.1 (31 Aug 2004) diff --git a/sys-cluster/saru/saru-0.0.1.ebuild b/sys-cluster/saru/saru-0.0.1.ebuild index d6460ea9369e..d1ef335bcfa4 100644 --- a/sys-cluster/saru/saru-0.0.1.ebuild +++ b/sys-cluster/saru/saru-0.0.1.ebuild @@ -1,21 +1,21 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/saru/saru-0.0.1.ebuild,v 1.1 2004/08/31 15:49:44 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/saru/saru-0.0.1.ebuild,v 1.2 2004/09/01 19:46:46 tantive Exp $ DESCRIPTION="Heartbeat application to provide active active load balancers" HOMEPAGE="http://www.ultramonkey.org/download/active_active/" LICENSE="GPL-2" DEPEND="virtual/glibc - >=sys-cluster/ipvsadm - >=dev-libs/popt - >=dev-libs/glib - >=dev-libs/vanessa-logger-0.0.6 - >=net-libs/vanessa-socket-0.0.7 - >=dev-libs/vanessa-adt-0.0.6 - >=dev-libs/libip_vs_user_sync-1.0.0 - =sys-cluster/heartbeat-1.0.4* - >=net-firewall/iptables" + >=sys-cluster/ipvsadm + >=dev-libs/popt + >=dev-libs/glib + >=dev-libs/vanessa-logger-0.0.6 + >=net-libs/vanessa-socket-0.0.7 + >=dev-libs/vanessa-adt-0.0.6 + >=dev-libs/libip_vs_user_sync-1.0.0 + =sys-cluster/heartbeat-1.0.4 + >=net-firewall/iptables" SRC_URI="http://www.ultramonkey.org/download/active_active/${P}.tar.gz" IUSE="" @@ -24,65 +24,65 @@ KEYWORDS="~x86" S="${WORKDIR}/${P}" src_compile() { - econf \ + econf \ --with-iptables-lib=/lib/iptables \ --with-heartbeat-lib=/usr/lib/heartbeat \ --with-heartbeat-fifo=/var/lib/heartbeat/api || die - - emake || die + + emake || die } src_install() { - #einstall DESTDIR=${D} || die + #einstall DESTDIR=${D} || die - # saru binary - dodir /usr/sbin - exeinto /usr/sbin - doexe saru/saru || die + # saru binary + dodir /usr/sbin + exeinto /usr/sbin + doexe saru/saru || die - dodir /usr/lib/heartbeat - dosym /usr/sbin/saru /usr/lib/heartbeat/saru || die + dodir /usr/lib/heartbeat + dosym /usr/sbin/saru /usr/lib/heartbeat/saru || die - # iptable module - dodir /lib/iptables/ - insinto /lib/iptables/ - insopts -m0755 - doins iptables/extensions/libipt_saru.so || die + # iptable module + dodir /lib/iptables/ + insinto /lib/iptables/ + insopts -m0755 + doins iptables/extensions/libipt_saru.so || die - dodir /lib/modules/${KV}/kernel/net/ipv4/netfilter - insinto /lib/modules/${KV}/kernel/net/ipv4/netfilter - doins iptables/kernel/ipt_saru.o || die + dodir /lib/modules/${KV}/kernel/net/ipv4/netfilter + insinto /lib/modules/${KV}/kernel/net/ipv4/netfilter + doins iptables/kernel/ipt_saru.o || die - dodir /etc/init.d /etc/conf.d /etc/saru - insinto /etc/conf.d - newins ${FILESDIR}/saru.conf saru || die + dodir /etc/init.d /etc/conf.d /etc/saru + insinto /etc/conf.d + newins ${FILESDIR}/saru.conf saru || die - insinto /etc/saru - doins etc/saru/saru.conf || die + insinto /etc/saru + doins etc/saru/saru.conf || die - exeinto /etc/init.d - newexe ${FILESDIR}/saru.init saru || die + exeinto /etc/init.d + newexe ${FILESDIR}/saru.init saru || die - doman saru/saru.8 || die + doman saru/saru.8 || die - dodir /var/lib/heartbeat/api - mknod -m 200 ${D}/var/lib/heartbeat/api/saru_1.req p || die - fowners 65:65 /var/lib/heartbeat/api/saru_1.req || die - mknod -m 600 ${D}/var/lib/heartbeat/api/saru_1.rsp p || die - fowners 65:65 /var/lib/heartbeat/api/saru_1.rsp || die + dodir /var/lib/heartbeat/api + mknod -m 200 ${D}/var/lib/heartbeat/api/saru_1.req p || die + fowners 65:65 /var/lib/heartbeat/api/saru_1.req || die + mknod -m 600 ${D}/var/lib/heartbeat/api/saru_1.rsp p || die + fowners 65:65 /var/lib/heartbeat/api/saru_1.rsp || die - dodoc ChangeLog README INSTALL TODO NEWS AUTHORS || die - dodoc patches/linux-2.4.20-outgoing_mac.hidden.patch \ - patches/linux-2.4.20-outgoing_mac.patch || die - newdoc patches/README README.patches || die + dodoc ChangeLog README INSTALL TODO NEWS AUTHORS || die + dodoc patches/linux-2.4.20-outgoing_mac.hidden.patch \ + patches/linux-2.4.20-outgoing_mac.patch || die + newdoc patches/README README.patches || die } pkg_postinst() { - einfo "" - einfo "upgrading module dependencies ... " - /sbin/depmod -a -F /lib/modules/${KV}/build/System.map - einfo "... done" - einfo "" - einfo "Please remember to re-emerge saru when you upgrade your kernel!" - einfo "" + einfo "" + einfo "upgrading module dependencies ... " + /sbin/depmod -a -F /lib/modules/${KV}/build/System.map + einfo "... done" + einfo "" + einfo "Please remember to re-emerge saru when you upgrade your kernel!" + einfo "" } |