diff options
author | Seth Chandler <sethbc@gentoo.org> | 2003-02-10 14:24:17 +0000 |
---|---|---|
committer | Seth Chandler <sethbc@gentoo.org> | 2003-02-10 14:24:17 +0000 |
commit | 4baf3095897aa03a6359cf6766b26e490c5ad078 (patch) | |
tree | bea814ef7c061eb2b22d317ceab36fb4d8fec977 /net-misc/cbqinit | |
parent | and the needed patch (diff) | |
download | gentoo-2-4baf3095897aa03a6359cf6766b26e490c5ad078.tar.gz gentoo-2-4baf3095897aa03a6359cf6766b26e490c5ad078.tar.bz2 gentoo-2-4baf3095897aa03a6359cf6766b26e490c5ad078.zip |
version bumpage
Diffstat (limited to 'net-misc/cbqinit')
-rw-r--r-- | net-misc/cbqinit/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/cbqinit/cbqinit-0.7.2.ebuild | 46 | ||||
-rw-r--r-- | net-misc/cbqinit/files/digest-cbqinit-0.7.2 | 1 |
3 files changed, 53 insertions, 1 deletions
diff --git a/net-misc/cbqinit/ChangeLog b/net-misc/cbqinit/ChangeLog index dfdf07489307..993e548ad451 100644 --- a/net-misc/cbqinit/ChangeLog +++ b/net-misc/cbqinit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/cbqinit # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/cbqinit/ChangeLog,v 1.1 2002/07/12 00:57:11 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/cbqinit/ChangeLog,v 1.2 2003/02/10 14:24:17 sethbc Exp $ + +*cbqinit-0.7.2 (10 Feb 2003) + + 10 Feb 2002; Seth Chandler <sethbc@gentoo.org> :cbqinit-0.7.2.ebuild + version bump, ~arch masked for all archs rather than a KEYWORDS="*" *cbqinit-0.7 (12 Jul 2002) diff --git a/net-misc/cbqinit/cbqinit-0.7.2.ebuild b/net-misc/cbqinit/cbqinit-0.7.2.ebuild new file mode 100644 index 000000000000..18111aef0848 --- /dev/null +++ b/net-misc/cbqinit/cbqinit-0.7.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cbqinit/cbqinit-0.7.2.ebuild,v 1.1 2003/02/10 14:24:17 sethbc Exp $ + +DESCRIPTION="Sets up class-based queue traffic control (QoS) with iproute2" +HOMEPAGE="http://www.sourceforge.net/projects/cbqinit" +SRC_URI="http://unc.dl.sourceforge.net/sourceforge/cbqinit/cbq.init-v${PV}" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" + +RDEPEND="sys-apps/iproute" +DEPEND="" + +S="${WORKDIR}" + +src_unpack() { + cp ${DISTDIR}/cbq.init-v${PV} ${S} +} + +src_compile() { + mv cbq.init-v${PV} cbq.init-v${PV}.orig + sed <cbq.init-v${PV}.orig >cbq.init-v${PV} \ + -e 's|CBQ_PATH=${CBQ_PATH:-/etc/sysconfig/cbq}|CBQ_PATH=/etc/cbqinit|' \ + -e 's|CBQ_CACHE=${CBQ_CACHE:-/var/cache/cbq.init}|CBQ_CACHE=/var/cache/cbqinit|' \ + -e 's|-x /sbin/tc -a -x /sbin/ip|-x /usr/sbin/tc -a -x /usr/sbin/ip|' +} + +src_install() { + mv cbq.init-v${PV} cbqinit + + exeinto /usr/sbin + doexe cbqinit + + exeinto /etc/init.d + newexe ${FILESDIR}/rc_cbqinit cbqinit + + insinto /etc/cbqinit/sample + newins ${FILESDIR}/cbq-1280.My_first_shaper.sample cbq-1280.My_first_shaper + + dodoc cbqinit +} + +pkg_postinst() { + einfo 'Run "rc-update add cbqinit default" to run cbqinit at startup.' +} diff --git a/net-misc/cbqinit/files/digest-cbqinit-0.7.2 b/net-misc/cbqinit/files/digest-cbqinit-0.7.2 new file mode 100644 index 000000000000..5cc0d0d0c03c --- /dev/null +++ b/net-misc/cbqinit/files/digest-cbqinit-0.7.2 @@ -0,0 +1 @@ +MD5 f58368ae779f32acbbf1aeaa4e28b4c5 cbq.init-v0.7.2 32366 |