--- netperf-2.4.2.orig/debian/README.debian +++ netperf-2.4.2/debian/README.debian @@ -0,0 +1,11 @@ +The Debian Package netperf +---------------------------- + +Comments regarding the Package + +Please read netperf.{ps,pdf} first! +You can take the scripts in example/ and modify them to your needs. +The links mentioned in the README file are outdated. The official homepage can +be reached at http://www.netperf.org/ + +Erik Wenzel , Sat, 25 Aug 2001 10:15:17 +0200 --- netperf-2.4.2.orig/debian/changelog +++ netperf-2.4.2/debian/changelog @@ -0,0 +1,69 @@ +netperf (2.4.2-1) unstable; urgency=low + + * New upstream release + + -- Erik Wenzel Tue, 18 Apr 2006 08:30:12 +0200 + +netperf (2.4.1-1) unstable; urgency=low + + * examples moved from src/ to doc/ (Closes: #339385) + * disabled compilation of documentation in postscript + * cleanup of postinst, prerm and postrm + * updated standards-version to 3.6.2 (nothing changed) + + -- Erik Wenzel Sat, 4 Feb 2006 22:48:27 +0100 + +netperf (2.4.0-2) unstable; urgency=low + + * added dependencies for tetex-bin (Closes: #310040) + + -- Erik Wenzel Sat, 21 May 2005 16:43:09 +0200 + +netperf (2.4.0-1) unstable; urgency=low + + * rules is rewritten from scratch and uses debian common build system + * debian/init.d: netserver is in /usr/bin now. + * UDP Port listening is fixed in Upsteam (Closes: #309007) + * build documentation in the following formats: PDF, PS, HTML + + -- Erik Wenzel Mon, 16 May 2005 16:27:13 +0200 + +netperf (2.3-4) unstable; urgency=low + + * Changed netserver manpage back to Section 8. I was confused. + + -- Erik Wenzel Sun, 13 Mar 2005 20:09:45 +0100 + +netperf (2.3-3) unstable; urgency=low + + * Changed netserver manpage to Section 1. + + -- Erik Wenzel Thu, 23 Dec 2004 20:44:09 +0100 + +netperf (2.3-2) unstable; urgency=low + + * enabled IPv6 Support on User-Request (Closes: #285571) + + -- Erik Wenzel Sat, 18 Dec 2004 15:29:41 +0100 + +netperf (2.3-1) unstable; urgency=low + + * New upstream release + + -- Erik Wenzel Mon, 28 Jun 2004 00:10:19 +0200 + +netperf (2.2pl4-1) unstable; urgency=low + + * New upstream. (Closes: #186155) + * fixed lintian problem in manpages + * updated standards-version to 3.5.9.0 (changed nothing) + * updated email in control + + -- Erik Wenzel Wed, 23 Apr 2003 09:44:27 +0200 + +netperf (2.1pl3-1) unstable; urgency=low + + * Initial release. + + -- Erik Wenzel Wed, 30 Jan 2002 10:15:17 +0200 + --- netperf-2.4.2.orig/debian/control +++ netperf-2.4.2/debian/control @@ -0,0 +1,21 @@ +Source: netperf +Section: non-free/net +Priority: optional +Maintainer: Erik Wenzel +Standards-Version: 3.6.2 +Build-Depends: autotools-dev, debhelper (>= 4), cdbs, texinfo, tetex-bin + +Package: netperf +Architecture: any +Depends: ${shlibs:Depends} +Description: Network performance benchmark + Netperf is a benchmark that can be used to measure the performance of many + different types of networking. It provides tests for both unidirecitonal + throughput, and end-to-end latency. The environments currently measureable by + netperf include: + * TCP and UDP via BSD Sockets + * DLPI + * Unix Domain Sockets + * Fore ATM API + * HP HiPPI Link Level Access + --- netperf-2.4.2.orig/debian/dirs +++ netperf-2.4.2/debian/dirs @@ -0,0 +1,3 @@ +etc/init.d +usr/bin +usr/share/man/man1 --- netperf-2.4.2.orig/debian/init.d +++ netperf-2.4.2/debian/init.d @@ -0,0 +1,50 @@ +#!/bin/sh +# +# +# Written by Miquel van Smoorenburg . +# Modified for Debian GNU/Linux by Ian Murdock . +# Modified for Debian by Christoph Lameter + +PATH=/bin:/usr/bin:/sbin:/usr/sbin +DAEMON=/usr/bin/netserver + +test -f $DAEMON || exit 0 + +case "$1" in + start) + echo -n "Starting network benchmark server: netserver" + start-stop-daemon --start --quiet --exec $DAEMON > /dev/null 2>&1 + echo "." + ;; + stop) + echo -n "Stopping network benchmark server: netserver" + start-stop-daemon --stop --quiet --exec $DAEMON + echo "." + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # start-stop-daemon --stop --signal 1 --verbose --exec $DAEMON + # ;; + restart|force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart". + # + start-stop-daemon --stop --verbose --exec $DAEMON + sleep 1 + start-stop-daemon --start --verbose --exec $DAEMON + ;; + *) + echo "Usage: /etc/init.d/netperf {start|stop|restart|force-reload}" + exit 1 + ;; +esac + +exit 0 --- netperf-2.4.2.orig/debian/postinst +++ netperf-2.4.2/debian/postinst @@ -0,0 +1,2 @@ +#! /bin/sh -e +#DEBHELPER# --- netperf-2.4.2.orig/debian/postrm +++ netperf-2.4.2/debian/postrm @@ -0,0 +1,2 @@ +#! /bin/sh -e +#DEBHELPER# --- netperf-2.4.2.orig/debian/prerm +++ netperf-2.4.2/debian/prerm @@ -0,0 +1,2 @@ +#! /bin/sh -e +#DEBHELPER# --- netperf-2.4.2.orig/debian/rules +++ netperf-2.4.2/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +DEB_INSTALL_CHANGELOGS_ALL=ChangeLog +DEB_INSTALL_DOCS_ALL=AUTHORS NEWS README Release_Notes +DEB_INSTALL_EXAMPLES_netperf=doc/examples/packet_byte_script \ +doc/examples/sctp_stream_script doc/examples/snapshot_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 + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +build/netperf:: + find . -name .svn | xargs rm -rf {} + cd doc && make netperf.{pdf,html} + #cd doc && make netperf.{pdf,ps,html} + +binary-post-install/netperf:: + cp COPYING debian/netperf/usr/share/doc/netperf/copyright + cp doc/netperf.pdf debian/netperf/usr/share/doc/netperf/netperf.pdf + #cp doc/netperf.ps debian/netperf/usr/share/doc/netperf/netperf.ps + cp doc/netperf.html debian/netperf/usr/share/doc/netperf/netperf.html --- netperf-2.4.2.orig/debian/compat +++ netperf-2.4.2/debian/compat @@ -0,0 +1 @@ +4 --- netperf-2.4.2.orig/debian/watch +++ netperf-2.4.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/netperf-(.*)\.tar\.gz