diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-08-05 22:52:18 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-08-05 22:52:18 +0000 |
commit | 524726d98702f6323b018a45b1ed7d2882079c95 (patch) | |
tree | 1d6d96d49f43d5a4cd88a1964ec70e3dcec44526 /net-analyzer/netperf | |
parent | EAPI bump and add prefix deps/keywords (diff) | |
download | historical-524726d98702f6323b018a45b1ed7d2882079c95.tar.gz historical-524726d98702f6323b018a45b1ed7d2882079c95.tar.bz2 historical-524726d98702f6323b018a45b1ed7d2882079c95.zip |
Old.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/netperf')
-rw-r--r-- | net-analyzer/netperf/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/netperf/Manifest | 24 | ||||
-rw-r--r-- | net-analyzer/netperf/files/netperf-2.4.0-gcc41.patch | 11 | ||||
-rw-r--r-- | net-analyzer/netperf/files/netperf-2.4.5-netserver.patch | 50 | ||||
-rw-r--r-- | net-analyzer/netperf/files/netperf-CVE-2007-1444.patch | 71 | ||||
-rw-r--r-- | net-analyzer/netperf/netperf-2.4.4-r1.ebuild | 63 | ||||
-rw-r--r-- | net-analyzer/netperf/netperf-2.4.5-r2.ebuild | 53 |
7 files changed, 15 insertions, 265 deletions
diff --git a/net-analyzer/netperf/ChangeLog b/net-analyzer/netperf/ChangeLog index d72500ef68cd..537faa70c26b 100644 --- a/net-analyzer/netperf/ChangeLog +++ b/net-analyzer/netperf/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/netperf # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netperf/ChangeLog,v 1.56 2012/08/05 18:05:42 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netperf/ChangeLog,v 1.57 2012/08/05 22:52:18 jer Exp $ + + 05 Aug 2012; Jeroen Roovers <jer@gentoo.org> + -files/netperf-2.4.0-gcc41.patch, -netperf-2.4.4-r1.ebuild, + -netperf-2.4.5-r2.ebuild, -files/netperf-2.4.5-netserver.patch, + -files/netperf-CVE-2007-1444.patch: + Old. 05 Aug 2012; Raúl Porcel <armin76@gentoo.org> netperf-2.5.0-r1.ebuild: alpha/ia64/sparc stable wrt #419221 diff --git a/net-analyzer/netperf/Manifest b/net-analyzer/netperf/Manifest index 0c2c0400ceed..411cd66d540d 100644 --- a/net-analyzer/netperf/Manifest +++ b/net-analyzer/netperf/Manifest @@ -1,27 +1,19 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 AUX netperf-2.2-conf 103 SHA256 9dce33f9552ce91ed5dbf57f44bd3d64a83aeb67ed9a41952a6c69601a10e340 SHA512 88a0d19c59a054071f472e62e6afd8c5fe37a77802dedea3adc82df0701f280c0ad8b5410e7fab74302861bc45920d38d576cfea1d8baa01cd5739801acb3b60 WHIRLPOOL 30bb26aab461eb024e80fdbb663ea334f0112d7bb1c6d6d4c83ccd017efab4a945a1ed2f6073a122de7a9e6888a4fd11787744ce8d236f22ab3b88a93ad61eb2 AUX netperf-2.2-init 433 SHA256 82df403bbf2dcb0086f4e7563b7ac678b65f8f7b5411312abadaa1594af659b7 SHA512 8151488c05001f2475201f3ebff3213d8a5afef5f75a2b726bae363c688f6c2363a756a9514921bffaf9eb7d7405114d27c8e5b98d3f53eb3a52db75a5236760 WHIRLPOOL 995662769c2ea31bcd0b45c987dddcec536f9df69d4f6d6c062123e30834dc96c482627592ce9b97811548a9edcfb6660aef0cdfb844ae49ff4ec92ec02e0b39 -AUX netperf-2.4.0-gcc41.patch 538 SHA256 a4d74b9855b0e991b4353e8e7e18b4024cc0c46cec153db6db1f551ac2115705 SHA512 b4cc81e1a01f073bdb1cec52cac064e808182d533a9c2141dc0566cf056bd5346bbc4a506e64c95942bbc449ca832e318b5857d16016ce0606cb674fc75bd6a0 WHIRLPOOL 07c9439c45a2865c035ac91c6cc65f7c9008eb3e81b8ff3310cc9eafe7584e69c37cbb5595c8c7e543c73bed935d23b76225a9aa95081777d50f4575dafdfc0e -AUX netperf-2.4.5-netserver.patch 1643 SHA256 f126eccaeb818ed37358879b9f4e0d4536b2758fdbb9310eea2aa46e466ef85b SHA512 4b414e020e831423b0ea8ed2de3e65e3dcc894b5a874e603170b6f890e614ab8a132198a6d5ed27d6fa125133ca94f4a5d0fcea5e5a6fd776b163030c147e96b WHIRLPOOL b670bf96770aa1a8a588d9f80407b08c1849ea7ab712e0c012096a17cd975686820cc73096190c036bd64674316c15e4de128bbd605558f2f9c4a4c3ac36bbe9 -AUX netperf-CVE-2007-1444.patch 2112 SHA256 9e945b6dee2b3469dfb80420322ac236dc4e3ed3b6f375512f368af8818fb460 SHA512 1e96b80d482f74aeb00ff1dbe20016b86cb08da823a9bd5b8f62db21dbab4180e2bd4f203b6ff5981226072d064648debd740b9eacc0126887b03eb3989061a1 WHIRLPOOL 04d5f22d2c68e4600540117f9ddf8ea08326750499c2cc021277b9ab2dcf5a0bb40d4fb922170c338fe5a5cfa773028226685213d9c451579a58ff6997551b14 AUX netperf-fix-scripts.patch 1424 SHA256 16668469ac82bda63c2e9c17431c983368b04c328c4cdc2ab1f973ba22f3c354 SHA512 2dbafd5dfbaea196fa4e5b2669cff151c9837c5ebd07889bf027d7f7de3995c757f3d6a20d96eeb88300ef8ce93d27c78ce24dcd3f363062dfa1f31b6818072d WHIRLPOOL d138b876089a93c593305be941dc7bb22a15c0a5a116940e38fb8d0292317efa76c548d518add9f549efb8dcaa6bacb7950b5ee0bae2c4584fcba04b7fc6da14 -DIST netperf-2.4.4-svn_trunk_20071205.patch.bz2 7077 SHA256 77c2eda5c5b31ff8d6821e28ae88f43b77771bc82b8d2111280e990dca8ed3ec -DIST netperf-2.4.4.tar.gz 1155970 SHA256 ed983395e448e3e7d8e279b194eb40e5c800443d8de0e6ec92ea480f4ff53fdc -DIST netperf-2.4.5.tar.gz 1238976 SHA256 b1c7e5e13c18d36d2cccefebf2ca3b6adc87d0feae9785523fea07f7b3b522c0 -DIST netperf-2.5.0.tar.bz2 1025246 SHA256 8594bc4ea4427c721a89d9901ae0327cd849eece681d2270b58e9395d25a06d0 -DIST netperf-2.6.0.tar.bz2 1032953 SHA256 cd8dac710d4273d29f70e8dbd09353a6362ac58a11926e0822233c0cb230323a -EBUILD netperf-2.4.4-r1.ebuild 1894 SHA256 0399f5f8c78cbe40f3141c9da85be609ca324d0f5ecd25fa28b7d3455c17931a SHA512 02e0fc04cd32a196bb01c2bd8bbd77a458d28d135e0fffd2a2b25e4520e699a3486a0d92c1de6107dce70a13de7db3ae2398e09ba3969f832a7aa2341e19b9b9 WHIRLPOOL b2d2c8ac06c16494c1c740ba5282f992edf6626e6bc15ff1dc28517b4152146196cab8e24bd5625b0742b65acb3338cac710b9b62008f09b2b4f72279d48e50d -EBUILD netperf-2.4.5-r2.ebuild 1501 SHA256 08eba623d3689fd6d8af81de7ec8fb52bbd3d9c878f9ad33ebb89cc0e3447bad SHA512 c9ed85f936625e21a3985a462e608b1fb9df686a23c3bd726629c33d4f7bfbc29f0e671b9602e246236131d5ae25d8a8048b0c98ec4b93dbeabd17169a0cbcc7 WHIRLPOOL b6ce21cacd4c535a6a9f412db941b3bcad0ab426f059e80991e22c061968dfd915a1344bc0dee489164604651fdf9658a76ce37907150be3da121ade954ca087 +DIST netperf-2.5.0.tar.bz2 1025246 SHA256 8594bc4ea4427c721a89d9901ae0327cd849eece681d2270b58e9395d25a06d0 SHA512 e06d1a90aa89786b189c5dca2bb85991315975a9f1c9f1236c79938fd3299cf6374d93ec5a6de8791c5f7ce9d73bee4482949d08e1d5487a523a6d006c42448b WHIRLPOOL 276de22c022fe3bbadbcb1350577a4643450fb2548694a7a519f49e99a907aafb9bb9ff5d114c18b7313dfb46b9663de6cacbe41bd6cf6ec8a127685bbfbf7f0 +DIST netperf-2.6.0.tar.bz2 1032953 SHA256 cd8dac710d4273d29f70e8dbd09353a6362ac58a11926e0822233c0cb230323a SHA512 b3921d2e887088b14a8bbe5ace9b1cc0c8b29951eeaa7857ce3f324933397c8ff6b56eeacfe755181ce1a56c982fe431955f6db55bd20f2343324e22ee23c9b3 WHIRLPOOL b602c8660bae59648cbbe9eed47ee9d86b0ae714bc0c2906e80a14d0ce18951f125f3331f90acd776850b04506e37030545084677f6be512477ea37f76d972e7 EBUILD netperf-2.5.0-r1.ebuild 1594 SHA256 51d2a78fd06973bdc7ae99295b59c535b6cb778c6286c648c08d184cd064346a SHA512 d34815771e9f84a81e9dd0d5af087efeeb8297fcc364a6bb6c50638dbe4df00c889bd209b88184eb9243a36aeaaba5ab43dbe5cc159b91de8e6a76242c949a43 WHIRLPOOL 3e0dddfe88eaf4a0d36f8f676ecf2422c4cc3884afc549babc3d04832885943a8656444b36bc3f2a3cf40a0891ecfc5f24fb14e4c75ad919a3df879c558529cd EBUILD netperf-2.6.0.ebuild 1804 SHA256 e6c1aab984dd5735de84344005039f54060a3965552908b06e0068d855fb0a18 SHA512 453f6718f0bb546c9c19fab2e7ea3e5a0f4537d65b4518810b954316361a6287e76dd29fff60490d992638f86786c8a533da5199bf9b0ba8f1aae8a283a52fa2 WHIRLPOOL d95dda1253d55e1e0ca169ebe7f5013bc126ee5788b4b7d0bf05746cfa9c0c562806c7f8e21f21e2d1bd7578a0f682946122451a5c281187d1f369ae3e7ea983 -MISC ChangeLog 8235 SHA256 2cb7e06e371b3f0c4bbdd01c0826465f8d72c1a2f122e6511f8ddc3a8daea17d SHA512 d3f781330656f6ff94e9811430595df1f0f2194304fc59b48fcf95973f8718cc4129a0ec46c4dfd2ad926e7531b2eeeb89793245d5a810d2b550bd9327f376aa WHIRLPOOL 85dbefb6daea0fb4c6bd3619cb40a47b8184bd076763d2641952b0a05b2034f7ae27b49cdcbb97fe3710d2a43f9520ff5eeb77bedbc2d86ebb8ad72c7605915d +MISC ChangeLog 8452 SHA256 c085c13326ed20d7a9b3798e36bd42e3c1c2a369b72f982d48bc9947439ba11d SHA512 7e284969beba7ab29e3f0327c4e30bb879253e3c5a8656bf88e83f126de21a58fac107a79acd284ff274783fd18015c2020e5c59cb8bfb944f6cc6a1b9ac807b WHIRLPOOL 44bac2509a6ab57f14c68b7cb6e2d27132ca47d099e2d391e93dd8b4564cb622dc95d32b0029a6ecfa8a272a5588d33f3796639388bed386eb3b99a037706e68 MISC metadata.xml 159 SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 SHA512 2c104d2a804da0a38770b6f1ec26cd5b0a49e30392177d5794734a3f4129e82fd0971e5a8a1e48913bfaf1bab57e7bac1fe5ce4f5c618ce057aa5aaf9e59113b WHIRLPOOL 044dec64f8899582332d7fbd7612d2a7c5c7234c44bb9fc51a56f7d6400cd3066a154c3c49dd3f4b468f11e029aa24ff0097ab1387b9f322d57f1d9876afd601 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iEYEARECAAYFAlAetf0ACgkQuQc30/atMkDWKACgkPGYi9qZI33S2O0LePOHfJ6h -464An2Xs6PXgJZ8a/elMALJ5OWEBgws6 -=3bkm +iEYEAREIAAYFAlAe+ScACgkQVWmRsqeSphOy/wCfV7c5zggyBcq3Q3iYhu4JSfbB +Cf4An1g1P2vcODVQw9uvmZzMgREm4Y1Z +=tTxv -----END PGP SIGNATURE----- diff --git a/net-analyzer/netperf/files/netperf-2.4.0-gcc41.patch b/net-analyzer/netperf/files/netperf-2.4.0-gcc41.patch deleted file mode 100644 index 72da7e4cbcc2..000000000000 --- a/net-analyzer/netperf/files/netperf-2.4.0-gcc41.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- aclocal.m4 2005-05-11 19:57:20.000000000 +0300 -+++ aclocal.m4 2006-03-19 19:42:03.000000000 +0200 -@@ -906,7 +906,7 @@ - # "void *" as the second argument to getpeername - curl_cv_socklen_t_equiv= - for arg2 in "struct sockaddr" void; do -- for t in int size_t unsigned long "unsigned long" socklen_t; do -+ for t in socklen_t int size_t unsigned long "unsigned long"; do - AC_TRY_COMPILE([ - #ifdef HAVE_SYS_TYPES_H - #include <sys/types.h> diff --git a/net-analyzer/netperf/files/netperf-2.4.5-netserver.patch b/net-analyzer/netperf/files/netperf-2.4.5-netserver.patch deleted file mode 100644 index 362e4aeb2107..000000000000 --- a/net-analyzer/netperf/files/netperf-2.4.5-netserver.patch +++ /dev/null @@ -1,50 +0,0 @@ -# Set DEBUG_LOG_FILE location -# Fix compiler warnings (bug #337422): - netserver.c: In function ‘process_requests’: - netserver.c:287: warning: array subscript is above array bounds - inlined from ‘process_requests’ at netserver.c:268: - /usr/include/bits/stdio2.h:65: warning: call to __builtin___snprintf_chk will always overflow destination buffer - inlined from ‘process_requests’ at netserver.c:284: - /usr/include/bits/stdio2.h:65: warning: call to __builtin___snprintf_chk will always overflow destination buffer - ---- a/src/netserver.c -+++ b/src/netserver.c -@@ -142,7 +142,7 @@ - - #ifndef DEBUG_LOG_FILE - #ifndef WIN32 --#define DEBUG_LOG_FILE "/tmp/netperf.debug" -+#define DEBUG_LOG_FILE "/var/log/netperf.debug" - #else - #define DEBUG_LOG_FILE "c:\\temp\\netperf.debug" - #endif /* WIN32 */ -@@ -266,7 +266,7 @@ - (!strstr(local_machine,delims[i])) && - (!strstr(local_version,delims[i]))) { - snprintf((char *)netperf_response.content.test_specific_data, -- sizeof(netperf_response) - 7, -+ MAXSPECDATA, - "%c%s%c%s%c%s%c%s", - delims[i][0], - local_sysname, -@@ -282,15 +282,15 @@ - if (i == 4) { - /* none of the delimiters were unique, use the last one */ - snprintf((char *)netperf_response.content.test_specific_data, -- sizeof(netperf_response) - 7, -+ MAXSPECDATA, - "%c%s%c%s%c%s%c%s", -- delims[i][0], -+ delims[3][0], - "NoDelimUnique", -- delims[i][0], -+ delims[3][0], - "NoDelimUnique", -- delims[i][0], -+ delims[3][0], - "NoDelimUnique", -- delims[i][0], -+ delims[3][0], - "NoDelimUnique"); - } - send_response_n(0); diff --git a/net-analyzer/netperf/files/netperf-CVE-2007-1444.patch b/net-analyzer/netperf/files/netperf-CVE-2007-1444.patch deleted file mode 100644 index ca8a33dee40f..000000000000 --- a/net-analyzer/netperf/files/netperf-CVE-2007-1444.patch +++ /dev/null @@ -1,71 +0,0 @@ -diff -Naur netperf-2.4.4.orig/src/netlib.c netperf-2.4.4.patched/src/netlib.c ---- netperf-2.4.4.orig/src/netlib.c 2007-10-18 01:16:02.000000000 +0400 -+++ netperf-2.4.4.patched/src/netlib.c 2008-01-30 22:03:01.000000000 +0300 -@@ -244,6 +244,7 @@ - union netperf_response_struct netperf_response; - - FILE *where; -+int fd = -1; - - char libfmt = '?'; - -diff -Naur netperf-2.4.4.orig/src/netlib.h netperf-2.4.4.patched/src/netlib.h ---- netperf-2.4.4.orig/src/netlib.h 2007-10-18 01:17:37.000000000 +0400 -+++ netperf-2.4.4.patched/src/netlib.h 2008-01-30 21:46:34.000000000 +0300 -@@ -445,6 +445,7 @@ - extern SOCKET server_sock; - extern int times_up; - extern FILE *where; -+extern int fd; - extern int loops_per_msec; - extern float lib_local_per_cpu_util[]; - -diff -Naur netperf-2.4.4.orig/src/netserver.c netperf-2.4.4.patched/src/netserver.c ---- netperf-2.4.4.orig/src/netserver.c 2007-10-18 01:09:12.000000000 +0400 -+++ netperf-2.4.4.patched/src/netserver.c 2008-01-30 21:57:56.000000000 +0300 -@@ -153,6 +153,9 @@ - char listen_port[10]; - extern char *optarg; - extern int optind, opterr; -+#if !defined(WIN_32) -+char debuglog[] = "/tmp/netperf.debugXXXXXX"; -+#endif - - #ifndef WIN32 - #define SERVER_ARGS "dL:n:p:v:V46" -@@ -225,6 +228,10 @@ - if (!debug) - { - fclose(where); -+#if !defined(WIN32) -+ unlink(debuglog); -+ close(fd); -+#endif - #if !defined(WIN32) && !defined(MPE) && !defined(__VMS) - /* For Unix: reopen the debug write file descriptor to "/dev/null" */ - /* and redirect stdout to it. */ -@@ -918,8 +925,11 @@ - strcpy(FileName, DEBUG_LOG_FILE); - - #ifndef WIN32 -- snprintf(&FileName[strlen(FileName)], sizeof(FileName) - strlen(FileName), "_%d", getpid()); -- if ((where = fopen(FileName, "w")) == NULL) { -+ if((fd = mkstemp(debuglog)) == -1 || (where = fdopen(fd, "w+")) == NULL){ -+ if(fd != -1){ -+ unlink(debuglog); -+ close(fd); -+ } - perror("netserver: debug file"); - exit(1); - } -@@ -947,10 +957,6 @@ - } - } - #endif -- --#ifndef WIN32 -- chmod(DEBUG_LOG_FILE,0644); --#endif - - #if WIN32 - if (child) { diff --git a/net-analyzer/netperf/netperf-2.4.4-r1.ebuild b/net-analyzer/netperf/netperf-2.4.4-r1.ebuild deleted file mode 100644 index ebbc55b8e856..000000000000 --- a/net-analyzer/netperf/netperf-2.4.4-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $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 $ - -inherit eutils flag-o-matic autotools - -MY_P=${P/_rc/-rc} - -DESCRIPTION="Network performance benchmark including tests for TCP, UDP, sockets, ATM and more." -#SRC_URI="ftp://ftp.netperf.org/netperf/experimental/${MY_P}.tar.gz" -SRC_URI="ftp://ftp.netperf.org/netperf/${MY_P}.tar.gz - mirror://gentoo/netperf-2.4.4-svn_trunk_20071205.patch.bz2" -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" - -HOMEPAGE="http://www.netperf.org/" -LICENSE="netperf" -SLOT="0" -IUSE="" - -RDEPEND="" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - - sed -i 's:^\(#define DEBUG_LOG_FILE "\)/tmp/netperf.debug:\1/var/log/netperf.debug:' src/netserver.c - epatch "${WORKDIR}"/${P}-svn_trunk_20071205.patch - epatch "${FILESDIR}"/${PN}-2.4.0-gcc41.patch - epatch "${FILESDIR}"/${PN}-CVE-2007-1444.patch - epatch "${FILESDIR}"/${PN}-fix-scripts.patch - - # Fixing paths in scripts - sed -i -e 's:^\(NETHOME=\).*:\1"/usr/bin":' \ - doc/examples/sctp_stream_script \ - doc/examples/tcp_range_script \ - doc/examples/tcp_rr_script \ - doc/examples/tcp_stream_script \ - doc/examples/udp_rr_script \ - doc/examples/udp_stream_script - - eautoconf -} - -src_install () { - einstall || die - - # move netserver into sbin as we had it before 2.4 was released with its - # autoconf goodness - dodir /usr/sbin - mv "${D}"/usr/{bin,sbin}/netserver || die - - # init.d / conf.d - newinitd "${FILESDIR}"/${PN}-2.2-init netperf - newconfd "${FILESDIR}"/${PN}-2.2-conf netperf - - # documentation and example scripts - dodoc AUTHORS ChangeLog NEWS README Release_Notes - dodir /usr/share/doc/${PF}/examples - #Scripts no longer get installed by einstall - cp doc/examples/*_script "${D}"/usr/share/doc/${PF}/examples -} diff --git a/net-analyzer/netperf/netperf-2.4.5-r2.ebuild b/net-analyzer/netperf/netperf-2.4.5-r2.ebuild deleted file mode 100644 index a0878b323450..000000000000 --- a/net-analyzer/netperf/netperf-2.4.5-r2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $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 $ - -EAPI="2" - -inherit eutils - -DESCRIPTION="Network performance benchmark including tests for TCP, UDP, sockets, ATM and more." -SRC_URI="ftp://ftp.netperf.org/netperf/${P}.tar.gz" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" - -HOMEPAGE="http://www.netperf.org/" -LICENSE="netperf" -SLOT="0" -IUSE="" - -DEPEND=">=sys-apps/sed-4" -RDEPEND="" - -src_prepare() { - epatch \ - "${FILESDIR}"/${PN}-fix-scripts.patch \ - "${FILESDIR}"/${P}-netserver.patch - - # Fixing paths in scripts - sed -i -e 's:^\(NETHOME=\).*:\1"/usr/bin":' \ - doc/examples/sctp_stream_script \ - doc/examples/tcp_range_script \ - doc/examples/tcp_rr_script \ - doc/examples/tcp_stream_script \ - doc/examples/udp_rr_script \ - doc/examples/udp_stream_script -} - -src_install () { - einstall || die - - # move netserver into sbin as we had it before 2.4 was released with its - # autoconf goodness - dodir /usr/sbin - mv "${D}"/usr/{bin,sbin}/netserver || die - - # init.d / conf.d - newinitd "${FILESDIR}"/${PN}-2.2-init netperf - newconfd "${FILESDIR}"/${PN}-2.2-conf netperf - - # documentation and example scripts - dodoc AUTHORS ChangeLog NEWS README Release_Notes - dodir /usr/share/doc/${PF}/examples - #Scripts no longer get installed by einstall - cp doc/examples/*_script "${D}"/usr/share/doc/${PF}/examples -} |