summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-07-29 14:42:11 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-07-29 14:42:11 +0000
commit234e256f89226e2f5c299cdd275454ecabf06254 (patch)
treee2d0a75ca81920afd7dfb697253f8e32b35cb8c5 /net-misc/cbqinit
parentStable on sparc wrt #58020 (Manifest recommit) (diff)
downloadgentoo-2-234e256f89226e2f5c299cdd275454ecabf06254.tar.gz
gentoo-2-234e256f89226e2f5c299cdd275454ecabf06254.tar.bz2
gentoo-2-234e256f89226e2f5c299cdd275454ecabf06254.zip
Version bump, little initscript fix
Diffstat (limited to 'net-misc/cbqinit')
-rw-r--r--net-misc/cbqinit/ChangeLog9
-rw-r--r--net-misc/cbqinit/Manifest3
-rw-r--r--net-misc/cbqinit/cbqinit-0.7.3.ebuild47
-rw-r--r--net-misc/cbqinit/files/digest-cbqinit-0.7.31
-rw-r--r--net-misc/cbqinit/files/rc_cbqinit-r117
5 files changed, 76 insertions, 1 deletions
diff --git a/net-misc/cbqinit/ChangeLog b/net-misc/cbqinit/ChangeLog
index b033d94d9656..bbf329c920fe 100644
--- a/net-misc/cbqinit/ChangeLog
+++ b/net-misc/cbqinit/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/cbqinit
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cbqinit/ChangeLog,v 1.8 2004/06/24 23:38:26 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cbqinit/ChangeLog,v 1.9 2004/07/29 14:42:11 phosphan Exp $
+
+*cbqinit-0.7.3 (29 Jul 2004)
+
+ 29 Jul 2004; Patrick Kursawe <phosphan@gentoo.org> +files/rc_cbqinit-r1,
+ +cbqinit-0.7.3.ebuild:
+ Version bump, stopping the init script does not fail any more (as it always
+ did before)
07 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> cbqinit-0.7.2.ebuild:
Stable on alpha.
diff --git a/net-misc/cbqinit/Manifest b/net-misc/cbqinit/Manifest
index c30688b4a38e..aba312ea7056 100644
--- a/net-misc/cbqinit/Manifest
+++ b/net-misc/cbqinit/Manifest
@@ -1,7 +1,10 @@
MD5 f84f9b1f2dd49139778beab0e61c6158 cbqinit-0.7.2.ebuild 1209
MD5 1a2c2ee6175e52dfc28806551ed83926 cbqinit-0.7.ebuild 1104
+MD5 007f1f760506758faa30d94003b1befc cbqinit-0.7.3.ebuild 1191
MD5 07329e28e656d5b088cd80379819788e ChangeLog 1001
+MD5 2f93290d9afb2bfe82da2a3f93a051f3 files/rc_cbqinit-r1 185
MD5 36312b31d2218761e171ebcaf2db04e8 files/cbq-1280.My_first_shaper.sample 79
MD5 20829547e7a1bb95dcbe6b56119650dd files/digest-cbqinit-0.7 57
MD5 fa0a999eda33e423e9f27ad78dc8208e files/digest-cbqinit-0.7.2 59
+MD5 1e272f674fd1bd74d9508f4a50b74ab5 files/digest-cbqinit-0.7.3 59
MD5 bf58f1ad519fe89dc6c6b90eabb3c860 files/rc_cbqinit 188
diff --git a/net-misc/cbqinit/cbqinit-0.7.3.ebuild b/net-misc/cbqinit/cbqinit-0.7.3.ebuild
new file mode 100644
index 000000000000..c88c1fcc2d01
--- /dev/null
+++ b/net-misc/cbqinit/cbqinit-0.7.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cbqinit/cbqinit-0.7.3.ebuild,v 1.1 2004/07/29 14:42:11 phosphan Exp $
+
+DESCRIPTION="Sets up class-based queue traffic control (QoS) with iproute2"
+HOMEPAGE="http://www.sourceforge.net/projects/cbqinit"
+SRC_URI="mirror://sourceforge/cbqinit/cbq.init-v${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="sys-apps/iproute2"
+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|'
+}
+
+src_install() {
+ mv cbq.init-v${PV} cbqinit
+
+ exeinto /usr/sbin
+ doexe cbqinit
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/rc_cbqinit-r1 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.3 b/net-misc/cbqinit/files/digest-cbqinit-0.7.3
new file mode 100644
index 000000000000..69332f51a251
--- /dev/null
+++ b/net-misc/cbqinit/files/digest-cbqinit-0.7.3
@@ -0,0 +1 @@
+MD5 c319f136059aadf7b3f0a38a12f3f3e0 cbq.init-v0.7.3 33438
diff --git a/net-misc/cbqinit/files/rc_cbqinit-r1 b/net-misc/cbqinit/files/rc_cbqinit-r1
new file mode 100644
index 000000000000..2887db5162bc
--- /dev/null
+++ b/net-misc/cbqinit/files/rc_cbqinit-r1
@@ -0,0 +1,17 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting cbqinit"
+ /usr/sbin/cbqinit start
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping cbqinit"
+ /usr/sbin/cbqinit stop
+ eend
+}