diff options
Diffstat (limited to 'net-misc/htbinit/htbinit-0.8.4.ebuild')
-rw-r--r-- | net-misc/htbinit/htbinit-0.8.4.ebuild | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/net-misc/htbinit/htbinit-0.8.4.ebuild b/net-misc/htbinit/htbinit-0.8.4.ebuild deleted file mode 100644 index 6b6d1860d0e3..000000000000 --- a/net-misc/htbinit/htbinit-0.8.4.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/htbinit/htbinit-0.8.4.ebuild,v 1.7 2004/08/08 00:22:02 slarti Exp $ - -DESCRIPTION="Sets up Hierarchical Token Bucket based traffic control (QoS) with iproute2" -HOMEPAGE="http://www.sourceforge.net/projects/htbinit" -SRC_URI="mirror://sourceforge/htbinit/htb.init-v${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc alpha" -IUSE="" - -DEPEND="sys-apps/iproute2" - -S=${WORKDIR} - -src_unpack() { - cp ${DISTDIR}/htb.init-v${PV} ${S} -} - -src_compile() { - mv htb.init-v${PV} htb.init-v${PV}.orig - sed <htb.init-v${PV}.orig >htb.init-v${PV} \ - -e 's|HTB_PATH=${HTB_PATH:-/etc/sysconfig/htb}|HTB_PATH=/etc/htbinit|' \ - -e 's|HTB_CACHE=${HTB_CACHE:-/var/cache/htb.init}|HTB_CACHE=/var/cache/htbinit|' -} - -src_install() { - mv htb.init-v${PV} htbinit - - exeinto /usr/sbin - doexe htbinit - - exeinto /usr/sbin - doexe ${FILESDIR}/htb.sysconfig - - exeinto /etc/init.d - newexe ${FILESDIR}/rc_htbinit htbinit - - dodoc htbinit ${FILESDIR}/htb.sysconfig -} - -pkg_postinst() { - einfo 'Run "rc-update add htbinit default" to run htbinit at startup.' - einfo 'Edit "/usr/sbin/htb.sysconfig" to make a custom configuration.' - einfo 'Please, read carefully the htbinit and htb.sysconfig documentation.' -} |