--- netperf-2.4.3.orig/debian/README.debian +++ netperf-2.4.3/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.3.orig/debian/changelog +++ netperf-2.4.3/debian/changelog @@ -0,0 +1,100 @@ +netperf (2.4.3-5) unstable; urgency=low + + * [init.d] netperf 2.4.3-3 remote install stuck (Closes: #427480) + + -- Erik Wenzel Tue, 05 Jun 2007 08:54:54 +0000 + +netperf (2.4.3-4) unstable; urgency=low + + * [control] changed description + + -- Erik Wenzel Sun, 18 Mar 2007 23:14:09 +0000 + +netperf (2.4.3-3) unstable; urgency=low + + * [copyright] fixed missing copyright file + + -- Erik Wenzel Tue, 6 Mar 2007 19:08:28 +0100 + +netperf (2.4.3-2) unstable; urgency=low + + * [control] bumped standards-version to 3.7.2 (nothing changed) + + -- Erik Wenzel Wed, 28 Feb 2007 18:08:16 +0000 + +netperf (2.4.3-1) unstable; urgency=low + + * New upstream release + * [watch] updated to new domain + + -- Erik Wenzel Sun, 25 Feb 2007 10:04:57 +0000 + +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.3.orig/debian/compat +++ netperf-2.4.3/debian/compat @@ -0,0 +1 @@ +4 --- netperf-2.4.3.orig/debian/control +++ netperf-2.4.3/debian/control @@ -0,0 +1,19 @@ +Source: netperf +Section: non-free/net +Priority: optional +Maintainer: Erik Wenzel +Standards-Version: 3.7.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 + * IPv6 --- netperf-2.4.3.orig/debian/copyright +++ netperf-2.4.3/debian/copyright @@ -0,0 +1,244 @@ +This package was debianized by Erik Wenzel erik@debian.org on +Wed, 30 Jan 2002 10:15:17 +0200 + +It was downloaded from: +ftp://ftp.netperf.org/netperf + +Upstream Authors: + +Copyright 1993-2007 Hewlett-Packard Company + +Rick Jones +Responsible for initial packaging and release of netperf and +"editorial" continuity for subsequent releases. + +Karen Choy +Code to allow netserver to run as a standalone daemon. + +Dave Shield +Wrote the first revision of the netperf and netserver manpages. + +Sarr Blumson +Fixes for AIX 3.1 and 3.2. Also fixes for Solaris 2.1 without +realizing it ;-) + +Jeff Smits +Fixes for TCP_RR and UDP_RR on sytems with an htonl that is not a no-op. + +Warren Burnett +Example code for DLPI tests. + +Several Folks +Code to tell SunOS 4 to *not* restart system calls on receipt of a +signal. + +Fore Systems Inc. +Manpages for the FORE API and question answering + +David Channin +Access to systems running the Fore ATM API + +Jonathan Stone +Include file fixes for Ultrix + +Bruce Barnett +Bunches of warnings fixes and lint picks for Solaris 2.3 + +Herman Dierks et al +Code to calculate confidence intervals for tests + +Hal Murray +Helpful suggestions for the scripts to make them more compatible with +the netperf database (http://www.cup.hp.com/netperf/NetperfPage.html). +His prompting finally got me off my whatever to put the confidence +interval stuff from the guys at IBM into netperf + +Peter Skopp pds@cs.columbia.edu +Fixes to make netperf more secure. + +Tom Wilson +A fix to send_udp_rr to correct bogus throughput values. + +Thorsten Lockert +A bunch of clean-up for the *BSD OSes + +Serge Pachkovsky +Code for low-priority soaker process for AIX and SGI + +The fine folks at Adaptec +The initial port of netperf (1.9PL4) to Windows NT 3.51. + +Robin Callender +The PPC binaries for the 1.9PL4 port of netperf to NT and for assorted +code clean-ups and help with CPU utilization measurements. + +"Todd J. Derr" +For offering to take-on support of the Fore ATM API files with 2.1 and +for his help in making the tar files and such more user-friendly + +Michael Shuldman +Improvements to the makefile and additional checks for OpenBSD + +Kris Corwin +discovery of a debug statement outside of if (debug) that may have +been the cause of all the nasty connection refused errors in random +UDP_RR tests... + +Charles Harris +Initial prototype of the TCP_SENDFILE test support + +Philip Pishioneri of Cornel +Conversion of the netperf.ps manul to PDF format. + +The Hewlett-Packard OpenVMS folks +Assistance with the port to OpenVMS + +Munechika SUMIKAWA @ KAME Project / FreeBSD.org +IPv6 fixes + +Jan Iven of CERN +initial mods for sendfile() under Linux + +Fabrice Bacchella +for pointing-out that Solaris 9 has a copy of Linux sendfile() + +Andrew Gallatin +for assistance with the FreeBSD sysctl() stuff, and later making it +calibration-free + +Mark Cooper +pointing-out the need for -lresolv when compiling -DDO_DNS on RedHat +7.1 + +Carl Mascott +finding some cut-and-paste erors in create_data_socket error logging + +Fabrice Bacchella +Fixes for -DHISTOGRAM and -DUNIX on Mac OS X, updates to usage strings + +Spencer Frink +Fixes and Cleanup for WIN32. Many over many years. + +Nicholas Thomas +Fixes for DLPI on SVR4 Streams under Linux + +Dave Craig +Fixes for getaddrinfo error returns + +David Mosberger of HP +Workaround for the Linux getsockopt() bug that returns more than that +for which one asked. + +Stephen Burger of HP +Code to implement the netserver CPU binding. + +Vladislav "Vlad" Yasevich of HP +Initial SCTP tests. Enhancements to the configure.ac sources to show +the way to make many of the LIBS="foo" before ./configure unnecessary. + +Padmanabhan "Paddu" S N of HP +Patches for /proc/stat CPU util and recv_tcp_rr. + +Cary Coutant and other hp-mac-users of HP +Access to Mac OS X systems for porting netperf 2.4.0 + +Chris Bertin of HP +Access to AIX for initial porting of netperf 2.4.0 + +James Carlson +Assistance finding the right magic to compile SCTP on Solaris 10. + +Gavin +Pointers on Solaris 10 Microstate accounting. + +Brent Draney +Getting netcpu_perfstat.c in running order on AIX and other misc +fixups in places such as BSD. + +Samuel Ying +Change struct sockaddr to struct sockaddr storage in netserver.c + +Rodolpho Boer +Fix for default message size in UDP_STREAM when defualt SO_SNDBUF size +is > max UDP datagram size. + +Michael Dorff +Getting netperf/netserver to compile under Windows with MS Visual +Studio 2003 + +George Davis +Changes to deal with different floating-point formats. + +Anonymous +Changes to retrieve CPU util on MacOS X. + +Dickon Reed +Patches to attend to some windows in TCP_CRR and TCP_CC under Windows + +Bret McKee +Fixes to get netcpu_looper compiling and working after the "netcpu" +split + +Hans Blom +Improvements to closing/redirecting stdin/stdout/stderr in netserver + +Martin Brown +RPM support in the form of netperf.spec.in and related configure.ac +etc changes + +Shilpi Agarwal +Changes to allow UDP_STREAM to use connected sockets on both sides. + +Steve Reinhardt +Fixes for buffer filling. + +Gisle Vanem +Fixes for Windows compilation under MingW/gcc. + +Scott Weitzenkamp +Patches to enable demo mode in the UDP_STREAM test + + +COPYRIGHT: + + Copyright (C) 1993 Hewlett-Packard Company + ALL RIGHTS RESERVED. + + The enclosed software and documentation includes copyrighted works + of Hewlett-Packard Co. For as long as you comply with the following + limitations, you are hereby authorized to (i) use, reproduce, and + modify the software and documentation, and to (ii) distribute the + software and documentation, including modifications, for + non-commercial purposes only. + + 1. The enclosed software and documentation is made available at no + charge in order to advance the general development of + high-performance networking products. + + 2. You may not delete any copyright notices contained in the + software or documentation. All hard copies, and copies in + source code or object code form, of the software or + documentation (including modifications) must contain at least + one of the copyright notices. + + 3. The enclosed software and documentation has not been subjected + to testing and quality control and is not a Hewlett-Packard Co. + product. At a future time, Hewlett-Packard Co. may or may not + offer a version of the software and documentation as a product. + + 4. THE SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS". + HEWLETT-PACKARD COMPANY DOES NOT WARRANT THAT THE USE, + REPRODUCTION, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR + DOCUMENTATION WILL NOT INFRINGE A THIRD PARTY'S INTELLECTUAL + PROPERTY RIGHTS. HP DOES NOT WARRANT THAT THE SOFTWARE OR + DOCUMENTATION IS ERROR FREE. HP DISCLAIMS ALL WARRANTIES, + EXPRESS AND IMPLIED, WITH REGARD TO THE SOFTWARE AND THE + DOCUMENTATION. HP SPECIFICALLY DISCLAIMS ALL WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + 5. HEWLETT-PACKARD COMPANY WILL NOT IN ANY EVENT BE LIABLE FOR ANY + DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES + (INCLUDING LOST PROFITS) RELATED TO ANY USE, REPRODUCTION, + MODIFICATION, OR DISTRIBUTION OF THE SOFTWARE OR DOCUMENTATION. + + --- netperf-2.4.3.orig/debian/dirs +++ netperf-2.4.3/debian/dirs @@ -0,0 +1,3 @@ +etc/init.d +usr/bin +usr/share/man/man1 --- netperf-2.4.3.orig/debian/init.d +++ netperf-2.4.3/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 > /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.3.orig/debian/postinst +++ netperf-2.4.3/debian/postinst @@ -0,0 +1,2 @@ +#! /bin/sh -e +#DEBHELPER# --- netperf-2.4.3.orig/debian/postrm +++ netperf-2.4.3/debian/postrm @@ -0,0 +1,2 @@ +#! /bin/sh -e +#DEBHELPER# --- netperf-2.4.3.orig/debian/prerm +++ netperf-2.4.3/debian/prerm @@ -0,0 +1,2 @@ +#! /bin/sh -e +#DEBHELPER# --- netperf-2.4.3.orig/debian/rules +++ netperf-2.4.3/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.3.orig/debian/watch +++ netperf-2.4.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +ftp://ftp.netperf.org/netperf/netperf-(.*)\.tar\.gz