1 |
idl0r 12/01/01 00:56:46 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: htbinit-0.8.5-r5.ebuild htbinit-0.8.5-r4.ebuild |
5 |
htbinit-0.8.5-r3.ebuild |
6 |
Removed: htbinit-0.8.5-r1.ebuild htbinit-0.8.5.ebuild |
7 |
htbinit-0.8.5-r2.ebuild |
8 |
Log: |
9 |
Revbump. Don't use the deprecated $opts variable, bug 386767. |
10 |
|
11 |
(Portage version: 2.1.10.41/cvs/Linux i686, RepoMan options: --force) |
12 |
|
13 |
Revision Changes Path |
14 |
1.16 net-misc/htbinit/ChangeLog |
15 |
|
16 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/htbinit/ChangeLog?rev=1.16&view=markup |
17 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/htbinit/ChangeLog?rev=1.16&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/htbinit/ChangeLog?r1=1.15&r2=1.16 |
19 |
|
20 |
Index: ChangeLog |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/htbinit/ChangeLog,v |
23 |
retrieving revision 1.15 |
24 |
retrieving revision 1.16 |
25 |
diff -u -r1.15 -r1.16 |
26 |
--- ChangeLog 16 Nov 2011 00:18:15 -0000 1.15 |
27 |
+++ ChangeLog 1 Jan 2012 00:56:46 -0000 1.16 |
28 |
@@ -1,6 +1,16 @@ |
29 |
# ChangeLog for net-misc/htbinit |
30 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
31 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/htbinit/ChangeLog,v 1.15 2011/11/16 00:18:15 robbat2 Exp $ |
32 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
33 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/htbinit/ChangeLog,v 1.16 2012/01/01 00:56:46 idl0r Exp $ |
34 |
+ |
35 |
+*htbinit-0.8.5-r5 (01 Jan 2012) |
36 |
+*htbinit-0.8.5-r4 (01 Jan 2012) |
37 |
+*htbinit-0.8.5-r3 (01 Jan 2012) |
38 |
+ |
39 |
+ 01 Jan 2012; Christian Ruppert <idl0r@g.o> -htbinit-0.8.5.ebuild, |
40 |
+ -htbinit-0.8.5-r1.ebuild, -htbinit-0.8.5-r2.ebuild, +htbinit-0.8.5-r3.ebuild, |
41 |
+ +htbinit-0.8.5-r4.ebuild, +htbinit-0.8.5-r5.ebuild, files/htbinit.rc, |
42 |
+ files/rc_htbinit: |
43 |
+ Revbump. Don't use the deprecated $opts variable, bug 386767. |
44 |
|
45 |
16 Nov 2011; Robin H. Johnson <robbat2@g.o> htbinit-0.8.5-r1.ebuild, |
46 |
htbinit-0.8.5-r2.ebuild: |
47 |
|
48 |
|
49 |
|
50 |
1.1 net-misc/htbinit/htbinit-0.8.5-r5.ebuild |
51 |
|
52 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/htbinit/htbinit-0.8.5-r5.ebuild?rev=1.1&view=markup |
53 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/htbinit/htbinit-0.8.5-r5.ebuild?rev=1.1&content-type=text/plain |
54 |
|
55 |
Index: htbinit-0.8.5-r5.ebuild |
56 |
=================================================================== |
57 |
# Copyright 1999-2012 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/htbinit/htbinit-0.8.5-r5.ebuild,v 1.1 2012/01/01 00:56:46 idl0r Exp $ |
60 |
|
61 |
EAPI=2 |
62 |
inherit eutils linux-info |
63 |
|
64 |
DESCRIPTION="Sets up Hierachical Token Bucket based traffic control (QoS) with iproute2" |
65 |
HOMEPAGE="http://www.sourceforge.net/projects/htbinit" |
66 |
SRC_URI="mirror://sourceforge/htbinit/htb.init-v${PV}" |
67 |
|
68 |
LICENSE="GPL-2" |
69 |
SLOT="0" |
70 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
71 |
IUSE="ipv6 esfq" |
72 |
|
73 |
DEPEND="sys-apps/iproute2" |
74 |
|
75 |
S=${WORKDIR} |
76 |
|
77 |
pkg_setup() { |
78 |
for i in NET_SCH_HTB NET_SCH_SFQ NET_CLS_FW NET_CLS_U32 NET_CLS_ROUTE ; do |
79 |
CONFIG_CHECK="${CONFIG_CHECK} ~${i}" |
80 |
eval "export WARNING_${i}='module needed at runtime!'" |
81 |
done |
82 |
use esfq && CONFIG_CHECK="${CONFIG_CHECK} ~NET_SCH_ESFQ" |
83 |
WARNING_NET_SCH_ESFQ='module needed at runtime! Available at http://fatooh.org/esfq-2.6/' |
84 |
export CONFIG_CHECK |
85 |
linux-info_pkg_setup |
86 |
} |
87 |
|
88 |
src_unpack() { |
89 |
cp "${DISTDIR}"/htb.init-v${PV} "${S}"/htb.init |
90 |
} |
91 |
|
92 |
src_prepare() { |
93 |
sed -i 's|/etc/sysconfig/htb|/etc/htb|g' "${S}"/htb.init |
94 |
epatch "${FILESDIR}"/htb.init-v0.8.5_tos.patch |
95 |
use ipv6 && epatch "${FILESDIR}"/htb_0.8.5_ipv6.diff |
96 |
use esfq && epatch "${FILESDIR}"/htb_0.8.5_esfq.diff |
97 |
epatch "${FILESDIR}"/prio_rule.patch |
98 |
epatch "${FILESDIR}"/timecheck_fix.patch |
99 |
epatch "${FILESDIR}"/htb.init_find_fix.patch |
100 |
} |
101 |
|
102 |
src_compile() { |
103 |
: |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
dosbin htb.init |
108 |
|
109 |
newinitd "${FILESDIR}"/htbinit.rc htbinit |
110 |
|
111 |
keepdir /etc/htb |
112 |
} |
113 |
|
114 |
pkg_postinst() { |
115 |
einfo 'Run "rc-update add htbinit default" to run htb.init at startup.' |
116 |
einfo 'Please, read carefully the htb.init documentation.' |
117 |
einfo 'new directory to store configuration /etc/htb' |
118 |
} |
119 |
|
120 |
|
121 |
|
122 |
1.1 net-misc/htbinit/htbinit-0.8.5-r4.ebuild |
123 |
|
124 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/htbinit/htbinit-0.8.5-r4.ebuild?rev=1.1&view=markup |
125 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/htbinit/htbinit-0.8.5-r4.ebuild?rev=1.1&content-type=text/plain |
126 |
|
127 |
Index: htbinit-0.8.5-r4.ebuild |
128 |
=================================================================== |
129 |
# Copyright 1999-2012 Gentoo Foundation |
130 |
# Distributed under the terms of the GNU General Public License v2 |
131 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/htbinit/htbinit-0.8.5-r4.ebuild,v 1.1 2012/01/01 00:56:46 idl0r Exp $ |
132 |
|
133 |
inherit eutils linux-info |
134 |
|
135 |
DESCRIPTION="Sets up Hierachical Token Bucket based traffic control (QoS) with iproute2" |
136 |
HOMEPAGE="http://www.sourceforge.net/projects/htbinit" |
137 |
SRC_URI="mirror://sourceforge/htbinit/htb.init-v${PV}" |
138 |
|
139 |
LICENSE="GPL-2" |
140 |
SLOT="0" |
141 |
KEYWORDS="alpha ~amd64 ~ppc ~sparc x86" |
142 |
IUSE="ipv6 esfq" |
143 |
|
144 |
DEPEND="sys-apps/iproute2" |
145 |
|
146 |
S=${WORKDIR} |
147 |
|
148 |
pkg_setup() { |
149 |
for i in NET_SCH_HTB NET_SCH_SFQ NET_CLS_FW NET_CLS_U32 NET_CLS_ROUTE ; do |
150 |
CONFIG_CHECK="${CONFIG_CHECK} ~${i}" |
151 |
eval "export WARNING_${i}='module needed at runtime!'" |
152 |
done |
153 |
use esfq && CONFIG_CHECK="${CONFIG_CHECK} ~NET_SCH_ESFQ" |
154 |
WARNING_NET_SCH_ESFQ='module needed at runtime! Available at http://fatooh.org/esfq-2.6/' |
155 |
export CONFIG_CHECK |
156 |
linux-info_pkg_setup |
157 |
} |
158 |
|
159 |
src_unpack() { |
160 |
cp "${DISTDIR}"/htb.init-v${PV} "${S}"/htb.init |
161 |
} |
162 |
|
163 |
src_compile() { |
164 |
sed -i 's|/etc/sysconfig/htb|/etc/htb|g' "${S}"/htb.init |
165 |
epatch "${FILESDIR}"/htb.init-v0.8.5_tos.patch |
166 |
use ipv6 && epatch "${FILESDIR}"/htb_0.8.5_ipv6.diff |
167 |
use esfq && epatch "${FILESDIR}"/htb_0.8.5_esfq.diff |
168 |
epatch "${FILESDIR}"/prio_rule.patch |
169 |
epatch "${FILESDIR}"/timecheck_fix.patch |
170 |
epatch "${FILESDIR}"/htb.init_find_fix.patch |
171 |
} |
172 |
|
173 |
src_install() { |
174 |
dosbin htb.init |
175 |
|
176 |
newinitd "${FILESDIR}"/htbinit.rc htbinit |
177 |
|
178 |
keepdir /etc/htb |
179 |
} |
180 |
|
181 |
pkg_postinst() { |
182 |
einfo 'Run "rc-update add htbinit default" to run htb.init at startup.' |
183 |
einfo 'Please, read carefully the htb.init documentation.' |
184 |
einfo 'new directory to store configuration /etc/htb' |
185 |
} |
186 |
|
187 |
|
188 |
|
189 |
1.1 net-misc/htbinit/htbinit-0.8.5-r3.ebuild |
190 |
|
191 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/htbinit/htbinit-0.8.5-r3.ebuild?rev=1.1&view=markup |
192 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/htbinit/htbinit-0.8.5-r3.ebuild?rev=1.1&content-type=text/plain |
193 |
|
194 |
Index: htbinit-0.8.5-r3.ebuild |
195 |
=================================================================== |
196 |
# Copyright 1999-2012 Gentoo Foundation |
197 |
# Distributed under the terms of the GNU General Public License v2 |
198 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/htbinit/htbinit-0.8.5-r3.ebuild,v 1.1 2012/01/01 00:56:46 idl0r Exp $ |
199 |
|
200 |
DESCRIPTION="Sets up Hierachical Token Bucket based traffic control (QoS) with iproute2" |
201 |
HOMEPAGE="http://www.sourceforge.net/projects/htbinit" |
202 |
SRC_URI="mirror://sourceforge/htbinit/htb.init-v${PV}" |
203 |
|
204 |
LICENSE="GPL-2" |
205 |
SLOT="0" |
206 |
KEYWORDS="x86 ~ppc ~sparc alpha ~amd64" |
207 |
IUSE="" |
208 |
|
209 |
DEPEND="sys-apps/iproute2" |
210 |
|
211 |
S=${WORKDIR} |
212 |
|
213 |
src_unpack() { |
214 |
cp "${DISTDIR}"/htb.init-v${PV} "${S}" |
215 |
} |
216 |
|
217 |
src_compile() { |
218 |
mv htb.init-v${PV} htb.init-v${PV}.orig |
219 |
sed <htb.init-v${PV}.orig >htb.init-v${PV} \ |
220 |
-e 's|HTB_PATH=${HTB_PATH:-/etc/sysconfig/htb}|HTB_PATH=/etc/htbinit|' \ |
221 |
-e 's|HTB_CACHE=${HTB_CACHE:-/var/cache/htb.init}|HTB_CACHE=/var/cache/htbinit|' |
222 |
} |
223 |
|
224 |
src_install() { |
225 |
mv htb.init-v${PV} htbinit |
226 |
|
227 |
exeinto /usr/sbin |
228 |
doexe htbinit |
229 |
|
230 |
exeinto /usr/sbin |
231 |
doexe "${FILESDIR}"/htb.sysconfig |
232 |
|
233 |
newinitd "${FILESDIR}"/rc_htbinit htbinit |
234 |
|
235 |
dodoc htbinit "${FILESDIR}"/htb.sysconfig |
236 |
|
237 |
dodir /etc/htbinit |
238 |
} |
239 |
|
240 |
pkg_postinst() { |
241 |
einfo 'Run "rc-update add htbinit default" to run htbinit at startup.' |
242 |
einfo 'Edit "/usr/sbin/htb.sysconfig" to make a custom configuration.' |
243 |
einfo 'Please, read carefully the htbinit and htb.sysconfig documentation.' |
244 |
} |