1 |
jer 15/07/25 08:26:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: netperf-2.7.0.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
9 |
|
10 |
Revision Changes Path |
11 |
1.72 net-analyzer/netperf/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/ChangeLog?rev=1.72&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/ChangeLog?rev=1.72&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/ChangeLog?r1=1.71&r2=1.72 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/netperf/ChangeLog,v |
20 |
retrieving revision 1.71 |
21 |
retrieving revision 1.72 |
22 |
diff -u -r1.71 -r1.72 |
23 |
--- ChangeLog 29 Oct 2014 09:40:30 -0000 1.71 |
24 |
+++ ChangeLog 25 Jul 2015 08:26:32 -0000 1.72 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-analyzer/netperf |
27 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netperf/ChangeLog,v 1.71 2014/10/29 09:40:30 jer Exp $ |
29 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netperf/ChangeLog,v 1.72 2015/07/25 08:26:32 jer Exp $ |
31 |
+ |
32 |
+*netperf-2.7.0 (25 Jul 2015) |
33 |
+ |
34 |
+ 25 Jul 2015; Jeroen Roovers <jer@g.o> +netperf-2.7.0.ebuild, |
35 |
+ +files/netperf-2.7.0-includes.patch: |
36 |
+ Version bump. |
37 |
|
38 |
29 Oct 2014; Jeroen Roovers <jer@g.o> -netperf-2.5.0-r1.ebuild: |
39 |
Old. |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-analyzer/netperf/netperf-2.7.0.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/netperf-2.7.0.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netperf/netperf-2.7.0.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: netperf-2.7.0.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netperf/netperf-2.7.0.ebuild,v 1.1 2015/07/25 08:26:32 jer Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
inherit eutils flag-o-matic |
56 |
|
57 |
DESCRIPTION="Network performance benchmark including tests for TCP, UDP, sockets, ATM and more" |
58 |
SRC_URI="ftp://ftp.netperf.org/${PN}/${P}.tar.bz2" |
59 |
KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
60 |
|
61 |
HOMEPAGE="http://www.netperf.org/" |
62 |
LICENSE="netperf" |
63 |
SLOT="0" |
64 |
IUSE="demo sctp" |
65 |
|
66 |
DEPEND=">=sys-apps/sed-4" |
67 |
|
68 |
src_prepare() { |
69 |
epatch \ |
70 |
"${FILESDIR}"/${PN}-fix-scripts.patch \ |
71 |
"${FILESDIR}"/${PN}-2.6.0-log-dir.patch \ |
72 |
"${FILESDIR}"/${PN}-2.7.0-includes.patch |
73 |
|
74 |
# Fixing paths in scripts |
75 |
sed -i \ |
76 |
-e 's:^\(NETHOME=\).*:\1"/usr/bin":' \ |
77 |
doc/examples/sctp_stream_script \ |
78 |
doc/examples/tcp_range_script \ |
79 |
doc/examples/tcp_rr_script \ |
80 |
doc/examples/tcp_stream_script \ |
81 |
doc/examples/udp_rr_script \ |
82 |
doc/examples/udp_stream_script \ |
83 |
|| die |
84 |
|
85 |
# netlib.c:2292:5: warning: implicit declaration of function ‘sched_setaffinity’ |
86 |
# nettest_omni.c:2943:5: warning: implicit declaration of function ‘splice’ |
87 |
append-cppflags -D_GNU_SOURCE |
88 |
} |
89 |
|
90 |
src_configure() { |
91 |
econf \ |
92 |
$(use_enable demo) \ |
93 |
$(use_enable sctp) |
94 |
} |
95 |
|
96 |
src_install () { |
97 |
default |
98 |
|
99 |
# move netserver into sbin as we had it before 2.4 was released with its |
100 |
# autoconf goodness |
101 |
dodir /usr/sbin |
102 |
mv "${D}"/usr/{bin,sbin}/netserver || die |
103 |
|
104 |
# init.d / conf.d |
105 |
newinitd "${FILESDIR}"/${PN}-2.2-init netperf |
106 |
newconfd "${FILESDIR}"/${PN}-2.2-conf netperf |
107 |
|
108 |
# documentation and example scripts |
109 |
dodoc AUTHORS ChangeLog NEWS README Release_Notes |
110 |
dodir /usr/share/doc/${PF}/examples |
111 |
#Scripts no longer get installed by einstall |
112 |
cp doc/examples/*_script "${D}"/usr/share/doc/${PF}/examples || die |
113 |
} |