summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-01-29 01:37:23 +0000
committerAron Griffis <agriffis@gentoo.org>2004-01-29 01:37:23 +0000
commit1390cf3254447d9acfc2c2b775dd57891019b674 (patch)
tree4f033f094f29842d8d9f71814e8fa4c2be2d3305 /net-analyzer/netperf/files
parentupdate to netperf-2.2pl4 for bug 19463 (diff)
downloadgentoo-2-1390cf3254447d9acfc2c2b775dd57891019b674.tar.gz
gentoo-2-1390cf3254447d9acfc2c2b775dd57891019b674.tar.bz2
gentoo-2-1390cf3254447d9acfc2c2b775dd57891019b674.zip
update to netperf-2.2pl4 for bug 19463
Diffstat (limited to 'net-analyzer/netperf/files')
-rw-r--r--net-analyzer/netperf/files/digest-netperf-2.2.41
-rw-r--r--net-analyzer/netperf/files/netperf-2.2-conf4
-rw-r--r--net-analyzer/netperf/files/netperf-2.2-init21
3 files changed, 26 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
new file mode 100644
index 000000000000..c04c639e9b47
--- /dev/null
+++ b/net-analyzer/netperf/files/digest-netperf-2.2.4
@@ -0,0 +1 @@
+MD5 0ba938bc65dac4989639a40fdf892952 netperf-2.2pl4.tar.gz 823686
diff --git a/net-analyzer/netperf/files/netperf-2.2-conf b/net-analyzer/netperf/files/netperf-2.2-conf
new file mode 100644
index 000000000000..f61f483a83ea
--- /dev/null
+++ b/net-analyzer/netperf/files/netperf-2.2-conf
@@ -0,0 +1,4 @@
+# Config file for /etc/init.d/netperf
+
+# Add your preferred netserver args here
+#NETSERVER_ARGS="-n 4"
diff --git a/net-analyzer/netperf/files/netperf-2.2-init b/net-analyzer/netperf/files/netperf-2.2-init
new file mode 100644
index 000000000000..c6fed548f912
--- /dev/null
+++ b/net-analyzer/netperf/files/netperf-2.2-init
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+#
+# init.d script for net-analyzer/netperf's netserver
+#
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin 'Starting netperf server (netserver)'
+ start-stop-daemon --start --quiet --chuid nobody \
+ --exec /usr/sbin/netserver -- ${NETSERVER_ARGS} >/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin 'Stopping netperf server (netserver)'
+ start-stop-daemon --stop --quiet --exec /usr/sbin/netserver
+ eend $?
+}