1 |
idl0r 11/12/31 20:14:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: netperf-2.4.4-r1.ebuild netperf-2.5.0-r1.ebuild |
5 |
netperf-2.4.5-r2.ebuild |
6 |
Removed: netperf-2.4.5-r1.ebuild netperf-2.4.4.ebuild |
7 |
netperf-2.5.0.ebuild |
8 |
Log: |
9 |
Revbump. Don't use deprecated start-stop-daemon options, bug 389975. |
10 |
|
11 |
(Portage version: 2.1.10.41/cvs/Linux i686, RepoMan options: --force) |
12 |
|
13 |
Revision Changes Path |
14 |
1.49 net-analyzer/netperf/ChangeLog |
15 |
|
16 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/ChangeLog?rev=1.49&view=markup |
17 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/ChangeLog?rev=1.49&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/ChangeLog?r1=1.48&r2=1.49 |
19 |
|
20 |
Index: ChangeLog |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/netperf/ChangeLog,v |
23 |
retrieving revision 1.48 |
24 |
retrieving revision 1.49 |
25 |
diff -u -r1.48 -r1.49 |
26 |
--- ChangeLog 14 Aug 2011 12:57:34 -0000 1.48 |
27 |
+++ ChangeLog 31 Dec 2011 20:14:06 -0000 1.49 |
28 |
@@ -1,6 +1,15 @@ |
29 |
# ChangeLog for net-analyzer/netperf |
30 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
31 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netperf/ChangeLog,v 1.48 2011/08/14 12:57:34 lxnay Exp $ |
32 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netperf/ChangeLog,v 1.49 2011/12/31 20:14:06 idl0r Exp $ |
33 |
+ |
34 |
+*netperf-2.5.0-r1 (31 Dec 2011) |
35 |
+*netperf-2.4.5-r2 (31 Dec 2011) |
36 |
+*netperf-2.4.4-r1 (31 Dec 2011) |
37 |
+ |
38 |
+ 31 Dec 2011; Christian Ruppert <idl0r@g.o> -netperf-2.4.4.ebuild, |
39 |
+ +netperf-2.4.4-r1.ebuild, -netperf-2.4.5-r1.ebuild, +netperf-2.4.5-r2.ebuild, |
40 |
+ -netperf-2.5.0.ebuild, +netperf-2.5.0-r1.ebuild, files/netperf-2.2-init: |
41 |
+ Revbump. Don't use deprecated start-stop-daemon options, bug 389975. |
42 |
|
43 |
14 Aug 2011; Fabio Erculiani <lxnay@g.o> netperf-2.4.4.ebuild, |
44 |
netperf-2.4.5-r1.ebuild, netperf-2.5.0.ebuild: |
45 |
|
46 |
|
47 |
|
48 |
1.1 net-analyzer/netperf/netperf-2.4.4-r1.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/netperf-2.4.4-r1.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/netperf-2.4.4-r1.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: netperf-2.4.4-r1.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2011 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netperf/netperf-2.4.4-r1.ebuild,v 1.1 2011/12/31 20:14:06 idl0r Exp $ |
58 |
|
59 |
inherit eutils flag-o-matic autotools |
60 |
|
61 |
MY_P=${P/_rc/-rc} |
62 |
|
63 |
DESCRIPTION="Network performance benchmark including tests for TCP, UDP, sockets, ATM and more." |
64 |
#SRC_URI="ftp://ftp.netperf.org/netperf/experimental/${MY_P}.tar.gz" |
65 |
SRC_URI="ftp://ftp.netperf.org/netperf/${MY_P}.tar.gz |
66 |
mirror://gentoo/netperf-2.4.4-svn_trunk_20071205.patch.bz2" |
67 |
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" |
68 |
|
69 |
HOMEPAGE="http://www.netperf.org/" |
70 |
LICENSE="netperf" |
71 |
SLOT="0" |
72 |
IUSE="" |
73 |
|
74 |
RDEPEND="" |
75 |
|
76 |
S=${WORKDIR}/${MY_P} |
77 |
|
78 |
src_unpack() { |
79 |
unpack ${A} |
80 |
cd "${S}" |
81 |
|
82 |
sed -i 's:^\(#define DEBUG_LOG_FILE "\)/tmp/netperf.debug:\1/var/log/netperf.debug:' src/netserver.c |
83 |
epatch "${WORKDIR}"/${P}-svn_trunk_20071205.patch |
84 |
epatch "${FILESDIR}"/${PN}-2.4.0-gcc41.patch |
85 |
epatch "${FILESDIR}"/${PN}-CVE-2007-1444.patch |
86 |
epatch "${FILESDIR}"/${PN}-fix-scripts.patch |
87 |
|
88 |
# Fixing paths in scripts |
89 |
sed -i -e 's:^\(NETHOME=\).*:\1"/usr/bin":' \ |
90 |
doc/examples/sctp_stream_script \ |
91 |
doc/examples/tcp_range_script \ |
92 |
doc/examples/tcp_rr_script \ |
93 |
doc/examples/tcp_stream_script \ |
94 |
doc/examples/udp_rr_script \ |
95 |
doc/examples/udp_stream_script |
96 |
|
97 |
eautoconf |
98 |
} |
99 |
|
100 |
src_install () { |
101 |
einstall || die |
102 |
|
103 |
# move netserver into sbin as we had it before 2.4 was released with its |
104 |
# autoconf goodness |
105 |
dodir /usr/sbin |
106 |
mv "${D}"/usr/{bin,sbin}/netserver || die |
107 |
|
108 |
# init.d / conf.d |
109 |
newinitd "${FILESDIR}"/${PN}-2.2-init netperf |
110 |
newconfd "${FILESDIR}"/${PN}-2.2-conf netperf |
111 |
|
112 |
# documentation and example scripts |
113 |
dodoc AUTHORS ChangeLog NEWS README Release_Notes |
114 |
dodir /usr/share/doc/${PF}/examples |
115 |
#Scripts no longer get installed by einstall |
116 |
cp doc/examples/*_script "${D}"/usr/share/doc/${PF}/examples |
117 |
} |
118 |
|
119 |
|
120 |
|
121 |
1.1 net-analyzer/netperf/netperf-2.5.0-r1.ebuild |
122 |
|
123 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/netperf-2.5.0-r1.ebuild?rev=1.1&view=markup |
124 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/netperf-2.5.0-r1.ebuild?rev=1.1&content-type=text/plain |
125 |
|
126 |
Index: netperf-2.5.0-r1.ebuild |
127 |
=================================================================== |
128 |
# Copyright 1999-2011 Gentoo Foundation |
129 |
# Distributed under the terms of the GNU General Public License v2 |
130 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netperf/netperf-2.5.0-r1.ebuild,v 1.1 2011/12/31 20:14:06 idl0r Exp $ |
131 |
|
132 |
EAPI="4" |
133 |
|
134 |
inherit eutils |
135 |
|
136 |
DESCRIPTION="Network performance benchmark including tests for TCP, UDP, sockets, ATM and more." |
137 |
SRC_URI="ftp://ftp.netperf.org/${PN}/${P}.tar.bz2" |
138 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
139 |
|
140 |
HOMEPAGE="http://www.netperf.org/" |
141 |
LICENSE="netperf" |
142 |
SLOT="0" |
143 |
IUSE="" |
144 |
|
145 |
DEPEND=">=sys-apps/sed-4" |
146 |
RDEPEND="" |
147 |
|
148 |
src_prepare() { |
149 |
sed -i src/netserver.c \ |
150 |
-e '/^#define DEBUG_LOG_FILE_DIR/s:"/tmp/":"/var/log/":' \ |
151 |
-e 's:sizeof(netperf_response) - 7:MAXSPECDATA:g' \ |
152 |
|| die |
153 |
|
154 |
epatch "${FILESDIR}"/${PN}-fix-scripts.patch |
155 |
|
156 |
# Fixing paths in scripts |
157 |
sed -i -e 's:^\(NETHOME=\).*:\1"/usr/bin":' \ |
158 |
doc/examples/sctp_stream_script \ |
159 |
doc/examples/tcp_range_script \ |
160 |
doc/examples/tcp_rr_script \ |
161 |
doc/examples/tcp_stream_script \ |
162 |
doc/examples/udp_rr_script \ |
163 |
doc/examples/udp_stream_script |
164 |
} |
165 |
|
166 |
src_install () { |
167 |
default |
168 |
|
169 |
# move netserver into sbin as we had it before 2.4 was released with its |
170 |
# autoconf goodness |
171 |
dodir /usr/sbin |
172 |
mv "${D}"/usr/{bin,sbin}/netserver || die |
173 |
|
174 |
# init.d / conf.d |
175 |
newinitd "${FILESDIR}"/${PN}-2.2-init netperf |
176 |
newconfd "${FILESDIR}"/${PN}-2.2-conf netperf |
177 |
|
178 |
# documentation and example scripts |
179 |
dodoc AUTHORS ChangeLog NEWS README Release_Notes |
180 |
dodir /usr/share/doc/${PF}/examples |
181 |
#Scripts no longer get installed by einstall |
182 |
cp doc/examples/*_script "${D}"/usr/share/doc/${PF}/examples |
183 |
} |
184 |
|
185 |
|
186 |
|
187 |
1.1 net-analyzer/netperf/netperf-2.4.5-r2.ebuild |
188 |
|
189 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/netperf-2.4.5-r2.ebuild?rev=1.1&view=markup |
190 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/netperf-2.4.5-r2.ebuild?rev=1.1&content-type=text/plain |
191 |
|
192 |
Index: netperf-2.4.5-r2.ebuild |
193 |
=================================================================== |
194 |
# Copyright 1999-2011 Gentoo Foundation |
195 |
# Distributed under the terms of the GNU General Public License v2 |
196 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netperf/netperf-2.4.5-r2.ebuild,v 1.1 2011/12/31 20:14:06 idl0r Exp $ |
197 |
|
198 |
EAPI="2" |
199 |
|
200 |
inherit eutils |
201 |
|
202 |
DESCRIPTION="Network performance benchmark including tests for TCP, UDP, sockets, ATM and more." |
203 |
SRC_URI="ftp://ftp.netperf.org/netperf/${P}.tar.gz" |
204 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
205 |
|
206 |
HOMEPAGE="http://www.netperf.org/" |
207 |
LICENSE="netperf" |
208 |
SLOT="0" |
209 |
IUSE="" |
210 |
|
211 |
DEPEND=">=sys-apps/sed-4" |
212 |
RDEPEND="" |
213 |
|
214 |
src_prepare() { |
215 |
epatch \ |
216 |
"${FILESDIR}"/${PN}-fix-scripts.patch \ |
217 |
"${FILESDIR}"/${P}-netserver.patch |
218 |
|
219 |
# Fixing paths in scripts |
220 |
sed -i -e 's:^\(NETHOME=\).*:\1"/usr/bin":' \ |
221 |
doc/examples/sctp_stream_script \ |
222 |
doc/examples/tcp_range_script \ |
223 |
doc/examples/tcp_rr_script \ |
224 |
doc/examples/tcp_stream_script \ |
225 |
doc/examples/udp_rr_script \ |
226 |
doc/examples/udp_stream_script |
227 |
} |
228 |
|
229 |
src_install () { |
230 |
einstall || die |
231 |
|
232 |
# move netserver into sbin as we had it before 2.4 was released with its |
233 |
# autoconf goodness |
234 |
dodir /usr/sbin |
235 |
mv "${D}"/usr/{bin,sbin}/netserver || die |
236 |
|
237 |
# init.d / conf.d |
238 |
newinitd "${FILESDIR}"/${PN}-2.2-init netperf |
239 |
newconfd "${FILESDIR}"/${PN}-2.2-conf netperf |
240 |
|
241 |
# documentation and example scripts |
242 |
dodoc AUTHORS ChangeLog NEWS README Release_Notes |
243 |
dodir /usr/share/doc/${PF}/examples |
244 |
#Scripts no longer get installed by einstall |
245 |
cp doc/examples/*_script "${D}"/usr/share/doc/${PF}/examples |
246 |
} |