summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2007-01-29 20:05:05 +0000
committerGustavo Felisberto <humpback@gentoo.org>2007-01-29 20:05:05 +0000
commita8b8d5a6f316ca2569036b3e5a7bc7a48b4e4118 (patch)
tree8694ebcbb9c3fbf974a218c03b93f78a88fda7ac /net-analyzer/netperf/files
parentFixed gpg-agent-info being ignored (diff)
downloadgentoo-2-a8b8d5a6f316ca2569036b3e5a7bc7a48b4e4118.tar.gz
gentoo-2-a8b8d5a6f316ca2569036b3e5a7bc7a48b4e4118.tar.bz2
gentoo-2-a8b8d5a6f316ca2569036b3e5a7bc7a48b4e4118.zip
fixed instalation of the example scripts and fixed the scripts
(Portage version: 2.1.2-r5)
Diffstat (limited to 'net-analyzer/netperf/files')
-rw-r--r--net-analyzer/netperf/files/digest-netperf-2.2.42
-rw-r--r--net-analyzer/netperf/files/digest-netperf-2.32
-rw-r--r--net-analyzer/netperf/files/digest-netperf-2.4.2-r1 (renamed from net-analyzer/netperf/files/digest-netperf-2.4.2)0
-rw-r--r--net-analyzer/netperf/files/netperf-fix-scripts.patch111
4 files changed, 115 insertions, 0 deletions
diff --git a/net-analyzer/netperf/files/digest-netperf-2.2.4 b/net-analyzer/netperf/files/digest-netperf-2.2.4
index c04c639e9b47..7dfa4734e50e 100644
--- a/net-analyzer/netperf/files/digest-netperf-2.2.4
+++ b/net-analyzer/netperf/files/digest-netperf-2.2.4
@@ -1 +1,3 @@
MD5 0ba938bc65dac4989639a40fdf892952 netperf-2.2pl4.tar.gz 823686
+RMD160 14361e4d41a026c5311a1f50d7f5f012d722a202 netperf-2.2pl4.tar.gz 823686
+SHA256 9bad966cd55f0078e0f2c1ee7b1497df5dc0a7b030a3db4f6404d3f775842c74 netperf-2.2pl4.tar.gz 823686
diff --git a/net-analyzer/netperf/files/digest-netperf-2.3 b/net-analyzer/netperf/files/digest-netperf-2.3
index a7aa74a04cec..f438155cc8d1 100644
--- a/net-analyzer/netperf/files/digest-netperf-2.3
+++ b/net-analyzer/netperf/files/digest-netperf-2.3
@@ -1 +1,3 @@
MD5 df61b8db5e38d58cdf81748635614d33 netperf-2.3.tar.gz 835407
+RMD160 9de3fe14a1ff1d1a81a2140e9126d61d6376d9be netperf-2.3.tar.gz 835407
+SHA256 7a0aebd365b8ebe53d796d3d701f153d2a73c37f81afd535a4d858e4380e7700 netperf-2.3.tar.gz 835407
diff --git a/net-analyzer/netperf/files/digest-netperf-2.4.2 b/net-analyzer/netperf/files/digest-netperf-2.4.2-r1
index ee2e682a79f0..ee2e682a79f0 100644
--- a/net-analyzer/netperf/files/digest-netperf-2.4.2
+++ b/net-analyzer/netperf/files/digest-netperf-2.4.2-r1
diff --git a/net-analyzer/netperf/files/netperf-fix-scripts.patch b/net-analyzer/netperf/files/netperf-fix-scripts.patch
new file mode 100644
index 000000000000..d8e3e2f2cc44
--- /dev/null
+++ b/net-analyzer/netperf/files/netperf-fix-scripts.patch
@@ -0,0 +1,111 @@
+diff -u doc/examples.ori/arr_script doc/examples/arr_script
+--- doc/examples.ori/arr_script 2007-01-29 20:01:45.000000000 +0000
++++ doc/examples/arr_script 2007-01-29 20:01:16.000000000 +0000
+@@ -10,8 +10,8 @@
+ TOLERANCE=15
+ MAX_RETRIES=3
+
+- NETPERF="/usr/local/netperf/netperf"
+- NETPERF="./netperf"
++# NETPERF="/usr/local/netperf/netperf"
++ NETPERF="/usr/bin/netperf"
+
+ NPROC_LIST=""
+ RR_SIZES=""
+diff -u doc/examples.ori/packet_byte_script doc/examples/packet_byte_script
+--- doc/examples.ori/packet_byte_script 2007-01-29 20:01:45.000000000 +0000
++++ doc/examples/packet_byte_script 2007-01-29 20:01:16.000000000 +0000
+@@ -22,7 +22,7 @@
+ fi
+
+ # where is netperf
+-NETPERF_CMD=${NETPERF_CMD:=/opt/netperf/netperf}
++NETPERF_CMD=${NETPERF_CMD:=/usr/bin/netperf}
+
+ # at what port will netserver be waiting? If you decide to run
+ # netserver at a differnet port than the default of 12865, then set
+diff -u doc/examples.ori/sctp_stream_script doc/examples/sctp_stream_script
+--- doc/examples.ori/sctp_stream_script 2007-01-29 20:01:45.000000000 +0000
++++ doc/examples/sctp_stream_script 2007-01-29 20:01:16.000000000 +0000
+@@ -24,7 +24,7 @@
+ # where the programs are
+ #NETHOME=/usr/local/netperf
+ #NETHOME="/opt/netperf"
+-NETHOME=.
++NETHOME=/usr/bin/
+
+ # at what port will netserver be waiting? If you decide to run
+ # netserver at a differnet port than the default of 12865, then set
+diff -u doc/examples.ori/snapshot_script doc/examples/snapshot_script
+--- doc/examples.ori/snapshot_script 2007-01-29 20:01:45.000000000 +0000
++++ doc/examples/snapshot_script 2007-01-29 20:01:16.000000000 +0000
+@@ -37,7 +37,7 @@
+ #
+ # where is netperf installed, there are a few possible places:
+
+-NETPERF_CMD=${NETPERF_CMD:=/opt/netperf/netperf}
++NETPERF_CMD=${NETPERF_CMD:=/usr/bin/netperf}
+
+
+ # there should be no more than two parms passed
+Only in doc/examples: .svn
+diff -u doc/examples.ori/tcp_range_script doc/examples/tcp_range_script
+--- doc/examples.ori/tcp_range_script 2007-01-29 20:01:45.000000000 +0000
++++ doc/examples/tcp_range_script 2007-01-29 20:01:16.000000000 +0000
+@@ -43,7 +43,7 @@
+ # where is netperf, and are there any "constant" options such as
+ # the netserver port number
+ #NETHOME=/usr/etc/net_perf
+-NETHOME="."
++NETHOME="/usr/bin"
+ NETPERF=$NETHOME/netperf $PORT
+
+ # How accurate we want the estimate of performance:
+diff -u doc/examples.ori/tcp_rr_script doc/examples/tcp_rr_script
+--- doc/examples.ori/tcp_rr_script 2007-01-29 20:01:45.000000000 +0000
++++ doc/examples/tcp_rr_script 2007-01-29 20:01:16.000000000 +0000
+@@ -25,7 +25,7 @@
+ # where the programs are
+ #NETHOME=/usr/local/netperf
+ #NETHOME="/opt/netperf"
+-NETHOME=.
++NETHOME="/usr/bin"
+
+ # at what port will netserver be waiting? If you decide to run
+ # netserver at a differnet port than the default of 12865, then set
+diff -u doc/examples.ori/tcp_stream_script doc/examples/tcp_stream_script
+--- doc/examples.ori/tcp_stream_script 2007-01-29 20:01:45.000000000 +0000
++++ doc/examples/tcp_stream_script 2007-01-29 20:01:16.000000000 +0000
+@@ -24,7 +24,7 @@
+ # where the programs are
+ #NETHOME=/usr/local/netperf
+ #NETHOME="/opt/netperf"
+-NETHOME=.
++NETHOME="/usr/bin"
+
+ # at what port will netserver be waiting? If you decide to run
+ # netserver at a different port than the default of 12865, then set
+diff -u doc/examples.ori/udp_rr_script doc/examples/udp_rr_script
+--- doc/examples.ori/udp_rr_script 2007-01-29 20:01:45.000000000 +0000
++++ doc/examples/udp_rr_script 2007-01-29 20:01:16.000000000 +0000
+@@ -22,7 +22,7 @@
+
+ #NETHOME=/usr/local/netperf
+ #NETHOME="/opt/netperf"
+-NETHOME="."
++NETHOME="/usr/bin"
+
+ # at what port will netserver be waiting? If you decide to run
+ # netserver at a differnet port than the default of 12865, then set
+diff -u doc/examples.ori/udp_stream_script doc/examples/udp_stream_script
+--- doc/examples.ori/udp_stream_script 2007-01-29 20:01:45.000000000 +0000
++++ doc/examples/udp_stream_script 2007-01-29 20:01:16.000000000 +0000
+@@ -19,7 +19,7 @@
+
+ #NETHOME=/usr/local/netperf
+ #NETHOME="/opt/netperf"
+-NETHOME="."
++NETHOME="/usr/bin"
+
+ # at what port will netserver be waiting? If you decide to run
+ # netserver at a differnet port than the default of 12865, then set