pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Move directory of "netperf" package to "benchmarks". I...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bfd4df56750b
branches:  trunk
changeset: 521780:bfd4df56750b
user:      tron <tron%pkgsrc.org@localhost>
date:      Tue Nov 21 10:59:25 2006 +0000

description:
Move directory of "netperf" package to "benchmarks". It was marked as
being in that category anyway.

diffstat:

 benchmarks/Makefile                 |   3 ++-
 benchmarks/netperf/DESCR            |  23 +++++++++++++++++++++++
 benchmarks/netperf/Makefile         |  36 ++++++++++++++++++++++++++++++++++++
 benchmarks/netperf/PLIST            |  14 ++++++++++++++
 benchmarks/netperf/distinfo         |   6 ++++++
 benchmarks/netperf/patches/patch-aa |  25 +++++++++++++++++++++++++
 net/Makefile                        |   3 +--
 net/netperf/DESCR                   |  23 -----------------------
 net/netperf/Makefile                |  36 ------------------------------------
 net/netperf/PLIST                   |  14 --------------
 net/netperf/distinfo                |   6 ------
 net/netperf/patches/patch-aa        |  25 -------------------------
 12 files changed, 107 insertions(+), 107 deletions(-)

diffs (282 lines):

diff -r bb1a4f217848 -r bfd4df56750b benchmarks/Makefile
--- a/benchmarks/Makefile       Tue Nov 21 10:39:19 2006 +0000
+++ b/benchmarks/Makefile       Tue Nov 21 10:59:25 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2005/10/13 08:19:31 xtraeme Exp $
+# $NetBSD: Makefile,v 1.40 2006/11/21 10:59:25 tron Exp $
 #
 
 COMMENT=       Benchmarking tools
@@ -23,6 +23,7 @@
 SUBDIR+=       lmbench
 SUBDIR+=       nbench
 SUBDIR+=       netio
+SUBDIR+=       netperf
 SUBDIR+=       netpipe
 SUBDIR+=       nettest
 SUBDIR+=       nsieve
diff -r bb1a4f217848 -r bfd4df56750b benchmarks/netperf/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/netperf/DESCR  Tue Nov 21 10:59:25 2006 +0000
@@ -0,0 +1,23 @@
+Netperf is a serious networking performance evaluation tool being
+distributed under GPL by HP's Information Networks Division.
+Testing is done using a pair of programs: `netserver' (the server) and
+`netperf' (the measurement tool).
+
+Netperf allows control over a large number of test `variables'.
+Some of these are:
+
+        * specification of desired confidence levels for the tests
+          Netperf will warn the user if these levels were not achieved.
+        * filling send buffers with specified data (to beat compression
+         schemes)
+        * specification of send/recieve buffer alignments and data offsets
+        * requesting cpu utilization and service demand calculations
+        * specification of sizes of data to send
+
+Netperf can be used for measuring stream performance as well as
+round-trip performance.
+
+This port of netperf has been configured to support:
+
+       TCP and UDP via BSD sockets
+       Unix domain sockets
diff -r bb1a4f217848 -r bfd4df56750b benchmarks/netperf/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/netperf/Makefile       Tue Nov 21 10:59:25 2006 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2006/11/21 10:59:25 tron Exp $
+# KAME Id: Makefile,v 1.3 2000/01/21 12:34:29 itojun Exp
+#
+
+DISTNAME=      netperf-2.3pl1
+PKGNAME=       netperf-2.3.1
+CATEGORIES=    benchmarks
+MASTER_SITES=  ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/
+
+MAINTAINER=    itojun%kame.net@localhost
+HOMEPAGE=      http://www.netperf.org/
+COMMENT=       Rick Jones' network performance benchmarking package
+
+USE_TOOLS+=    gzip
+MAKE_FILE=     makefile
+
+CFLAGS.IRIX+=  -DIRIX
+
+post-install:
+       strip ${PREFIX}/netperf/netperf
+       strip ${PREFIX}/netperf/netserver
+       ${INSTALL_MAN} ${WRKSRC}/netperf.man ${PREFIX}/man/man1/netperf.1
+       ${INSTALL_MAN} ${WRKSRC}/netserver.man ${PREFIX}/man/man1/netserver.1
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/netperf
+       ${INSTALL_MAN} ${WRKSRC}/netperf.ps ${PREFIX}/share/doc/netperf
+       ${GZIP_CMD} ${PREFIX}/share/doc/netperf/netperf.ps
+
+# The sources assume <malloc.h> exists.  Create a fake one for platforms
+# that don't have it.
+post-wrapper:
+       if ${TEST} ! -f /usr/include/malloc.h; then             \
+               ${ECHO} "#include <stdlib.h>"                   \
+                       > ${BUILDLINK_DIR}/include/malloc.h;    \
+       fi
+
+.include "../../mk/bsd.pkg.mk"
diff -r bb1a4f217848 -r bfd4df56750b benchmarks/netperf/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/netperf/PLIST  Tue Nov 21 10:59:25 2006 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2006/11/21 10:59:25 tron Exp $
+netperf/netperf
+netperf/netserver
+netperf/tcp_range_script
+netperf/tcp_stream_script
+netperf/tcp_rr_script
+netperf/udp_stream_script
+netperf/udp_rr_script
+netperf/snapshot_script
+share/doc/netperf/netperf.ps.gz
+@dirrm netperf
+@dirrm share/doc/netperf
+man/man1/netperf.1
+man/man1/netserver.1
diff -r bb1a4f217848 -r bfd4df56750b benchmarks/netperf/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/netperf/distinfo       Tue Nov 21 10:59:25 2006 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2006/11/21 10:59:25 tron Exp $
+
+SHA1 (netperf-2.3pl1.tar.gz) = 288c34b6c4d937b06422a8cdab3dcae5ed58cc17
+RMD160 (netperf-2.3pl1.tar.gz) = 83f2afd612b7d4d4b486b82554f4e792c5e8509d
+Size (netperf-2.3pl1.tar.gz) = 836110 bytes
+SHA1 (patch-aa) = f9a835995de2130d4bd74d9c5c6a48bc4c0eb59b
diff -r bb1a4f217848 -r bfd4df56750b benchmarks/netperf/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/netperf/patches/patch-aa       Tue Nov 21 10:59:25 2006 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1 2006/11/21 10:59:25 tron Exp $
+
+--- makefile.orig      2004-09-22 06:33:40.000000000 +0900
++++ makefile   2004-12-02 15:39:16.000000000 +0900
+@@ -15,8 +15,8 @@
+ # for the rest of the world, it is probably better to put the binaries
+ # in /usr/local/netperf or /opt/netperf
+ #
+-#NETPERF_HOME = /usr/local/netperf
+-NETPERF_HOME = /opt/netperf
++NETPERF_HOME = ${PREFIX}/netperf
++#NETPERF_HOME = /opt/netperf
+ 
+ # The compiler on your system might be somewhere else, and/or have
+ # a different name.
+@@ -113,7 +113,8 @@
+ #                   netserver via the netperf command line with -T
+ 
+ LOG_FILE=DEBUG_LOG_FILE="\"/tmp/netperf.debug\""
+-CFLAGS = -O -D$(LOG_FILE) -DNEED_MAKEFILE_EDIT
++CFLAGS = -O -D$(LOG_FILE)
++CFLAGS+=-fno-strength-reduce -DUSE_LOOPER -DHISTOGRAM -DDO_UNIX -DDO_IPV6
+ 
+ # Some platforms, and some options, require additional libraries.
+ # you can add to the "LIBS =" line to accomplish this. if you find
diff -r bb1a4f217848 -r bfd4df56750b net/Makefile
--- a/net/Makefile      Tue Nov 21 10:39:19 2006 +0000
+++ b/net/Makefile      Tue Nov 21 10:59:25 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.645 2006/11/13 15:05:45 drochner Exp $
+# $NetBSD: Makefile,v 1.646 2006/11/21 10:59:25 tron Exp $
 #
 
 COMMENT=       Networking tools
@@ -234,7 +234,6 @@
 SUBDIR+=       netdisco
 SUBDIR+=       netgroup
 SUBDIR+=       netname
-SUBDIR+=       netperf
 SUBDIR+=       netpipes
 SUBDIR+=       netsaint-base
 SUBDIR+=       netsaint-plugin-cluster
diff -r bb1a4f217848 -r bfd4df56750b net/netperf/DESCR
--- a/net/netperf/DESCR Tue Nov 21 10:39:19 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-Netperf is a serious networking performance evaluation tool being
-distributed under GPL by HP's Information Networks Division.
-Testing is done using a pair of programs: `netserver' (the server) and
-`netperf' (the measurement tool).
-
-Netperf allows control over a large number of test `variables'.
-Some of these are:
-
-        * specification of desired confidence levels for the tests
-          Netperf will warn the user if these levels were not achieved.
-        * filling send buffers with specified data (to beat compression
-         schemes)
-        * specification of send/recieve buffer alignments and data offsets
-        * requesting cpu utilization and service demand calculations
-        * specification of sizes of data to send
-
-Netperf can be used for measuring stream performance as well as
-round-trip performance.
-
-This port of netperf has been configured to support:
-
-       TCP and UDP via BSD sockets
-       Unix domain sockets
diff -r bb1a4f217848 -r bfd4df56750b net/netperf/Makefile
--- a/net/netperf/Makefile      Tue Nov 21 10:39:19 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-# $NetBSD: Makefile,v 1.17 2006/09/09 02:43:11 obache Exp $
-# KAME Id: Makefile,v 1.3 2000/01/21 12:34:29 itojun Exp
-#
-
-DISTNAME=      netperf-2.3pl1
-PKGNAME=       netperf-2.3.1
-CATEGORIES=    benchmarks
-MASTER_SITES=  ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/
-
-MAINTAINER=    itojun%kame.net@localhost
-HOMEPAGE=      http://www.netperf.org/
-COMMENT=       Rick Jones' network performance benchmarking package
-
-USE_TOOLS+=    gzip
-MAKE_FILE=     makefile
-
-CFLAGS.IRIX+=  -DIRIX
-
-post-install:
-       strip ${PREFIX}/netperf/netperf
-       strip ${PREFIX}/netperf/netserver
-       ${INSTALL_MAN} ${WRKSRC}/netperf.man ${PREFIX}/man/man1/netperf.1
-       ${INSTALL_MAN} ${WRKSRC}/netserver.man ${PREFIX}/man/man1/netserver.1
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/netperf
-       ${INSTALL_MAN} ${WRKSRC}/netperf.ps ${PREFIX}/share/doc/netperf
-       ${GZIP_CMD} ${PREFIX}/share/doc/netperf/netperf.ps
-
-# The sources assume <malloc.h> exists.  Create a fake one for platforms
-# that don't have it.
-post-wrapper:
-       if ${TEST} ! -f /usr/include/malloc.h; then             \
-               ${ECHO} "#include <stdlib.h>"                   \
-                       > ${BUILDLINK_DIR}/include/malloc.h;    \
-       fi
-
-.include "../../mk/bsd.pkg.mk"
diff -r bb1a4f217848 -r bfd4df56750b net/netperf/PLIST
--- a/net/netperf/PLIST Tue Nov 21 10:39:19 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:56:43 zuntum Exp $
-netperf/netperf
-netperf/netserver
-netperf/tcp_range_script
-netperf/tcp_stream_script
-netperf/tcp_rr_script
-netperf/udp_stream_script
-netperf/udp_rr_script
-netperf/snapshot_script
-share/doc/netperf/netperf.ps.gz
-@dirrm netperf
-@dirrm share/doc/netperf
-man/man1/netperf.1
-man/man1/netserver.1
diff -r bb1a4f217848 -r bfd4df56750b net/netperf/distinfo
--- a/net/netperf/distinfo      Tue Nov 21 10:39:19 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.6 2005/10/20 18:11:56 wiz Exp $
-
-SHA1 (netperf-2.3pl1.tar.gz) = 288c34b6c4d937b06422a8cdab3dcae5ed58cc17
-RMD160 (netperf-2.3pl1.tar.gz) = 83f2afd612b7d4d4b486b82554f4e792c5e8509d
-Size (netperf-2.3pl1.tar.gz) = 836110 bytes
-SHA1 (patch-aa) = f9a835995de2130d4bd74d9c5c6a48bc4c0eb59b
diff -r bb1a4f217848 -r bfd4df56750b net/netperf/patches/patch-aa
--- a/net/netperf/patches/patch-aa      Tue Nov 21 10:39:19 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2004/12/02 06:41:49 itojun Exp $
-
---- makefile.orig      2004-09-22 06:33:40.000000000 +0900
-+++ makefile   2004-12-02 15:39:16.000000000 +0900
-@@ -15,8 +15,8 @@
- # for the rest of the world, it is probably better to put the binaries
- # in /usr/local/netperf or /opt/netperf
- #
--#NETPERF_HOME = /usr/local/netperf
--NETPERF_HOME = /opt/netperf
-+NETPERF_HOME = ${PREFIX}/netperf
-+#NETPERF_HOME = /opt/netperf
- 
- # The compiler on your system might be somewhere else, and/or have
- # a different name.
-@@ -113,7 +113,8 @@
- #                   netserver via the netperf command line with -T
- 
- LOG_FILE=DEBUG_LOG_FILE="\"/tmp/netperf.debug\""
--CFLAGS = -O -D$(LOG_FILE) -DNEED_MAKEFILE_EDIT
-+CFLAGS = -O -D$(LOG_FILE)
-+CFLAGS+=-fno-strength-reduce -DUSE_LOOPER -DHISTOGRAM -DDO_UNIX -DDO_IPV6
- 
- # Some platforms, and some options, require additional libraries.
- # you can add to the "LIBS =" line to accomplish this. if you find



Home | Main Index | Thread Index | Old Index