aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/httperf/Makefile32
-rw-r--r--benchmarks/httperf/distinfo1
-rw-r--r--benchmarks/httperf/files/patch-Makefile.in10
-rw-r--r--benchmarks/httperf/files/patch-httperf.c13
-rw-r--r--benchmarks/httperf/files/patch-lib::ssl_writev.c13
-rw-r--r--benchmarks/httperf/pkg-comment1
-rw-r--r--benchmarks/httperf/pkg-descr21
-rw-r--r--benchmarks/httperf/pkg-plist6
-rw-r--r--benchmarks/iperf/Makefile29
-rw-r--r--benchmarks/iperf/distinfo1
-rw-r--r--benchmarks/iperf/pkg-comment1
-rw-r--r--benchmarks/iperf/pkg-descr9
-rw-r--r--benchmarks/iperf/pkg-plist8
-rw-r--r--benchmarks/nttcp/Makefile27
-rw-r--r--benchmarks/nttcp/distinfo1
-rw-r--r--benchmarks/nttcp/files/patch-aa13
-rw-r--r--benchmarks/nttcp/pkg-comment1
-rw-r--r--benchmarks/nttcp/pkg-descr9
-rw-r--r--benchmarks/nttcp/pkg-plist1
-rw-r--r--benchmarks/polygraph31/Makefile22
-rw-r--r--benchmarks/polygraph31/distinfo1
-rw-r--r--benchmarks/polygraph31/files/patch-tools-ReportGen-Makefile.in22
-rw-r--r--benchmarks/polygraph31/files/patch-workloads-Makefile.in84
-rw-r--r--benchmarks/polygraph31/files/patch-workloads-include-Makefile.in44
-rw-r--r--benchmarks/polygraph31/pkg-comment1
-rw-r--r--benchmarks/polygraph31/pkg-descr13
-rw-r--r--benchmarks/polygraph31/pkg-plist59
-rw-r--r--benchmarks/ttcp/Makefile34
-rw-r--r--benchmarks/ttcp/distinfo3
-rw-r--r--benchmarks/ttcp/files/patch-aa257
-rw-r--r--benchmarks/ttcp/pkg-comment1
-rw-r--r--benchmarks/ttcp/pkg-descr16
-rw-r--r--benchmarks/ttcp/pkg-plist3
-rw-r--r--benchmarks/unixbench/Makefile37
-rw-r--r--benchmarks/unixbench/distinfo1
-rw-r--r--benchmarks/unixbench/files/patch-aa96
-rw-r--r--benchmarks/unixbench/files/patch-ab129
-rw-r--r--benchmarks/unixbench/files/patch-ac15
-rw-r--r--benchmarks/unixbench/files/patch-ad17
-rw-r--r--benchmarks/unixbench/files/patch-ae10
-rw-r--r--benchmarks/unixbench/files/patch-af19
-rw-r--r--benchmarks/unixbench/pkg-comment1
-rw-r--r--benchmarks/unixbench/pkg-descr24
-rw-r--r--benchmarks/unixbench/pkg-plist44
44 files changed, 0 insertions, 1150 deletions
diff --git a/benchmarks/httperf/Makefile b/benchmarks/httperf/Makefile
deleted file mode 100644
index b52250718488..000000000000
--- a/benchmarks/httperf/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# New ports collection makefile for: httperf
-# Date created: 28 Jul 1999
-# Whom: Will Andrews <andrews@technologist.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= httperf
-PORTVERSION= 0.8
-CATEGORIES= www
-MASTER_SITES= ftp://ftp.hpl.hp.com/pub/httperf/
-
-MAINTAINER= ports@FreeBSD.org
-
-LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
-
-USE_OPENSSL= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
-
-MAN1= httperf.1
-
-.if !defined(NOPORTDOCS)
-post-install:
- @${MKDIR} ${DOCSDIR}
-.for file in ChangeLog NEWS README TODO
- ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
-.endif
-
-.include <bsd.port.mk>
diff --git a/benchmarks/httperf/distinfo b/benchmarks/httperf/distinfo
deleted file mode 100644
index 319b5cee0898..000000000000
--- a/benchmarks/httperf/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (httperf-0.8.tar.gz) = 2971956d4846349f9e8d3c54acd591a5
diff --git a/benchmarks/httperf/files/patch-Makefile.in b/benchmarks/httperf/files/patch-Makefile.in
deleted file mode 100644
index 59491595c46d..000000000000
--- a/benchmarks/httperf/files/patch-Makefile.in
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile.in.orig Thu Oct 19 16:38:59 2000
-+++ Makefile.in Wed Nov 13 06:30:08 2002
-@@ -6,6 +6,7 @@
- top_builddir = .
-
- prefix = @prefix@
-+exec_prefix = @exec_prefix@
- bindir = @bindir@
- mandir = @mandir@
-
diff --git a/benchmarks/httperf/files/patch-httperf.c b/benchmarks/httperf/files/patch-httperf.c
deleted file mode 100644
index 8e735afadb8d..000000000000
--- a/benchmarks/httperf/files/patch-httperf.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- httperf.c.orig Wed Nov 1 05:20:00 2000
-+++ httperf.c Wed Nov 13 06:19:41 2002
-@@ -68,6 +68,10 @@
- #include <conn.h>
- #include <timer.h>
-
-+#ifdef __FreeBSD__
-+#include <machine/floatingpoint.h>
-+#endif
-+
- #ifdef HAVE_SSL
- # include <openssl/rand.h>
- #endif
diff --git a/benchmarks/httperf/files/patch-lib::ssl_writev.c b/benchmarks/httperf/files/patch-lib::ssl_writev.c
deleted file mode 100644
index 81c05af1e52c..000000000000
--- a/benchmarks/httperf/files/patch-lib::ssl_writev.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- lib/ssl_writev.c.orig Thu Oct 12 09:09:47 2000
-+++ lib/ssl_writev.c Wed Nov 13 06:22:01 2002
-@@ -31,7 +31,10 @@
-
- #ifdef HAVE_OPENSSL_SSL_H
-
-+#ifdef HAVE_ALLOCA_H
- #include <alloca.h>
-+#endif
-+
- #include <string.h>
-
- #include <sys/types.h>
diff --git a/benchmarks/httperf/pkg-comment b/benchmarks/httperf/pkg-comment
deleted file mode 100644
index 6adc47fad0e8..000000000000
--- a/benchmarks/httperf/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-A tool for measuring webserver performance
diff --git a/benchmarks/httperf/pkg-descr b/benchmarks/httperf/pkg-descr
deleted file mode 100644
index 3aee471c8cbf..000000000000
--- a/benchmarks/httperf/pkg-descr
+++ /dev/null
@@ -1,21 +0,0 @@
-Quoted from the website below:
-
- "This paper describes httperf, a tool for measuring web server
-performance. It provides a flexible facility for generating various
-HTTP workloads and for measuring server performance. The focus of httperf
-is not on implementing one particular benchmark but on providing a robust,
-high-performance tool that facilitates the construction of both micro-
-and macro-level benchmarks. The three distinguishing characteristics of
-httperf are its robustness, which includes the ability to generate and
-sustain server overload, support for the HTTP/1.1 protocol, and its
-extensibility to new workload generators and performance measurements.
-In addition to reporting on the design and implementation of httperf this
-paper also discusses some of the experiences and insights gained while
-realizing this tool."
-
-"This paper" refers to the paper that was written on this program. I don't
-think I could possibly summarize it better than the above paragraph.
-
-WWW: http://www.hpl.hp.com/personal/David_Mosberger/httperf.html
-
-- Will <andrews@technologist.com>
diff --git a/benchmarks/httperf/pkg-plist b/benchmarks/httperf/pkg-plist
deleted file mode 100644
index 0fec88272ceb..000000000000
--- a/benchmarks/httperf/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-bin/httperf
-%%PORTDOCS%%share/doc/httperf/ChangeLog
-%%PORTDOCS%%share/doc/httperf/NEWS
-%%PORTDOCS%%share/doc/httperf/README
-%%PORTDOCS%%share/doc/httperf/TODO
-%%PORTDOCS%%@dirrm share/doc/httperf
diff --git a/benchmarks/iperf/Makefile b/benchmarks/iperf/Makefile
deleted file mode 100644
index 357f7ca82d74..000000000000
--- a/benchmarks/iperf/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# New ports collection makefile for: iperf
-# Date Created: 20 May 2001
-# Whom: Pete Fritchman <petef@databits.net>
-#
-# $FreeBSD$
-#
-
-PORTNAME= iperf
-PORTVERSION= 1.6.3
-DISTNAME= iperf-1.6.3-source
-CATEGORIES= net
-MASTER_SITES= http://dast.nlanr.net/Projects/Iperf/
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-MAINTAINER= smace@FreeBSD.org
-
-NO_CDROM= "can't charge a fee for the software"
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/iperf ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/iperf
-.for file in README doc/index.html doc/jperf.gif doc/lib.html doc/release.html \
- doc/ui_license.html
- ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/iperf
-.endfor
-.endif
-
-.include <bsd.port.mk>
diff --git a/benchmarks/iperf/distinfo b/benchmarks/iperf/distinfo
deleted file mode 100644
index 20c96bce0aaa..000000000000
--- a/benchmarks/iperf/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (iperf-1.6.3-source.tar.gz) = 958894904f7abddef9239d2fa12b40da
diff --git a/benchmarks/iperf/pkg-comment b/benchmarks/iperf/pkg-comment
deleted file mode 100644
index 5d78b5a2f384..000000000000
--- a/benchmarks/iperf/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-A tool to measure maximum TCP and UDP bandwidth
diff --git a/benchmarks/iperf/pkg-descr b/benchmarks/iperf/pkg-descr
deleted file mode 100644
index e930a3b166a8..000000000000
--- a/benchmarks/iperf/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-Iperf is a tool for measuring maximum TCP and UDP bandwidth,
-reminiscent of ttcp and nettest. It has been written to overcome
-the shortcomings of those aging tools. Iperf can also test UDP
-bandwidth, loss, and jitter.
-
-WWW: http://dast.nlanr.net/Projects/Iperf/
-
-- Pete
-petef@databits.net
diff --git a/benchmarks/iperf/pkg-plist b/benchmarks/iperf/pkg-plist
deleted file mode 100644
index 08e2333e8b08..000000000000
--- a/benchmarks/iperf/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-bin/iperf
-%%PORTDOCS%%share/doc/iperf/README
-%%PORTDOCS%%share/doc/iperf/index.html
-%%PORTDOCS%%share/doc/iperf/jperf.gif
-%%PORTDOCS%%share/doc/iperf/lib.html
-%%PORTDOCS%%share/doc/iperf/release.html
-%%PORTDOCS%%share/doc/iperf/ui_license.html
-%%PORTDOCS%%@dirrm share/doc/iperf
diff --git a/benchmarks/nttcp/Makefile b/benchmarks/nttcp/Makefile
deleted file mode 100644
index 11caf18dda60..000000000000
--- a/benchmarks/nttcp/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# New ports collection makefile for: nttcp
-# Date created: 11 Nov 1998
-# Whom: Bill Fumerola <billf@chc-chimes.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= nttcp
-PORTVERSION= 1.47
-CATEGORIES= net benchmarks
-MASTER_SITES= http://www.leo.org/~bartel/nttcp/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= billf
-
-MAINTAINER= billf@FreeBSD.org
-
-ALL_TARGET= nttcp
-MAN1= nttcp.1
-USE_GMAKE= yes
-MAKE_ENV+= OPT="${CFLAGS}"
-
-do-install:
-
- ${INSTALL_PROGRAM} ${WRKSRC}/nttcp ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/nttcp.1 ${PREFIX}/man/man1/
-
-.include <bsd.port.mk>
diff --git a/benchmarks/nttcp/distinfo b/benchmarks/nttcp/distinfo
deleted file mode 100644
index 2996a471a29e..000000000000
--- a/benchmarks/nttcp/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (nttcp-1.47.tar.gz) = 05cc30409e6f2cb8cfdf40334d1dcd77
diff --git a/benchmarks/nttcp/files/patch-aa b/benchmarks/nttcp/files/patch-aa
deleted file mode 100644
index 2692f87414dd..000000000000
--- a/benchmarks/nttcp/files/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.orig Mon Dec 18 19:17:20 2000
-+++ Makefile Mon Jan 29 12:26:51 2001
-@@ -111,8 +111,8 @@
- # For FreeBSD
- ARCH= -DFreeBSD
- LIB=
--OPT= -O2
--CC= cc
-+#OPT= -O2
-+#CC= cc
- DBG=
- INC=
-
diff --git a/benchmarks/nttcp/pkg-comment b/benchmarks/nttcp/pkg-comment
deleted file mode 100644
index 24a2539e003c..000000000000
--- a/benchmarks/nttcp/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-A client/server program for testing network performance
diff --git a/benchmarks/nttcp/pkg-descr b/benchmarks/nttcp/pkg-descr
deleted file mode 100644
index a9fce2550164..000000000000
--- a/benchmarks/nttcp/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-This program is a much more convient version of the ttcp program.
-It uses inetd (or simulates its behaviour) to start off the remote
-side program which will send/receive data. Both sides measure the time
-and number of bytes transfered. The local side will print the measures.
-The format of the output can be specified on the commandline.
-
-WWW: http://www.leo.org/~bartel/nttcp/
-
-Bill Fumerola <billf@chc-chimes.com>
diff --git a/benchmarks/nttcp/pkg-plist b/benchmarks/nttcp/pkg-plist
deleted file mode 100644
index e64420d1b349..000000000000
--- a/benchmarks/nttcp/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-bin/nttcp
diff --git a/benchmarks/polygraph31/Makefile b/benchmarks/polygraph31/Makefile
deleted file mode 100644
index b02812a4bbce..000000000000
--- a/benchmarks/polygraph31/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-# New ports collection makefile for: polygraph
-# Date created: 3 March 1999
-# Whom: Dima Sivachenko <dima@chg.ru>
-#
-# $FreeBSD$
-#
-
-PORTNAME= polygraph
-PORTVERSION= 2.7.6
-CATEGORIES= benchmarks www
-MASTER_SITES= http://www.web-polygraph.org/downloads/srcs/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= demon@FreeBSD.org
-
-IS_INTERACTIVE= yes
-
-GNU_CONFIGURE= YES
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-.include <bsd.port.mk>
diff --git a/benchmarks/polygraph31/distinfo b/benchmarks/polygraph31/distinfo
deleted file mode 100644
index 27c58908daf8..000000000000
--- a/benchmarks/polygraph31/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (polygraph-2.7.6-src.tgz) = e23cbb26939217d3ad295bce64a2096d
diff --git a/benchmarks/polygraph31/files/patch-tools-ReportGen-Makefile.in b/benchmarks/polygraph31/files/patch-tools-ReportGen-Makefile.in
deleted file mode 100644
index 130457622a3d..000000000000
--- a/benchmarks/polygraph31/files/patch-tools-ReportGen-Makefile.in
+++ /dev/null
@@ -1,22 +0,0 @@
---- tools/ReportGen/Makefile.in.orig Tue Jun 12 02:04:12 2001
-+++ tools/ReportGen/Makefile.in Sat Aug 3 13:55:53 2002
-@@ -15,7 +15,7 @@
- exec_prefix = @exec_prefix@
- bindir = @bindir@
-
--rgen_dir = @prefix@/ReportGen
-+rgen_dir = @prefix@/share/polygraph/ReportGen
-
- INSTALL = @INSTALL@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
-@@ -42,8 +42,8 @@
- fi
-
- install_mkdirs:
-- @for d in $(prefix) $(rgen_dir); do \
-- if test ! -d $$d; then echo mkdir $$d; mkdir $$d; fi; \
-+ @for d in $(rgen_dir); do \
-+ if test ! -d $$d; then echo mkdir -p $$d; mkdir -p $$d; fi; \
- done
-
- clean:
diff --git a/benchmarks/polygraph31/files/patch-workloads-Makefile.in b/benchmarks/polygraph31/files/patch-workloads-Makefile.in
deleted file mode 100644
index 9bc6ff415c93..000000000000
--- a/benchmarks/polygraph31/files/patch-workloads-Makefile.in
+++ /dev/null
@@ -1,84 +0,0 @@
---- workloads/Makefile.in.orig Sun Jul 29 06:45:59 2001
-+++ workloads/Makefile.in Sat Aug 3 13:56:45 2002
-@@ -45,55 +45,55 @@
- default: all
-
- datacomm-1.pg_install: install_dirs datacomm-1.pg
-- $(INSTALL_DTA) datacomm-1.pg ${prefix}/workloads
-+ $(INSTALL_DTA) datacomm-1.pg ${datadir}/polygraph/workloads
-
- downtime-2.pg_install: install_dirs downtime-2.pg
-- $(INSTALL_DTA) downtime-2.pg ${prefix}/workloads
-+ $(INSTALL_DTA) downtime-2.pg ${datadir}/polygraph/workloads
-
- nolb-l4-4.pg_install: install_dirs nolb-l4-4.pg
-- $(INSTALL_DTA) nolb-l4-4.pg ${prefix}/workloads
-+ $(INSTALL_DTA) nolb-l4-4.pg ${datadir}/polygraph/workloads
-
- polyfill-2.pg_install: install_dirs polyfill-2.pg
-- $(INSTALL_DTA) polyfill-2.pg ${prefix}/workloads
-+ $(INSTALL_DTA) polyfill-2.pg ${datadir}/polygraph/workloads
-
- polymix-1.pg_install: install_dirs polymix-1.pg
-- $(INSTALL_DTA) polymix-1.pg ${prefix}/workloads
-+ $(INSTALL_DTA) polymix-1.pg ${datadir}/polygraph/workloads
-
- polymix-2.pg_install: install_dirs polymix-2.pg
-- $(INSTALL_DTA) polymix-2.pg ${prefix}/workloads
-+ $(INSTALL_DTA) polymix-2.pg ${datadir}/polygraph/workloads
-
- polymix-3.pg_install: install_dirs polymix-3.pg
-- $(INSTALL_DTA) polymix-3.pg ${prefix}/workloads
-+ $(INSTALL_DTA) polymix-3.pg ${datadir}/polygraph/workloads
-
- polymix-4.pg_install: install_dirs polymix-4.pg
-- $(INSTALL_DTA) polymix-4.pg ${prefix}/workloads
-+ $(INSTALL_DTA) polymix-4.pg ${datadir}/polygraph/workloads
-
- pxylb-4.pg_install: install_dirs pxylb-4.pg
-- $(INSTALL_DTA) pxylb-4.pg ${prefix}/workloads
-+ $(INSTALL_DTA) pxylb-4.pg ${datadir}/polygraph/workloads
-
- simple.pg_install: install_dirs simple.pg
-- $(INSTALL_DTA) simple.pg ${prefix}/workloads
-+ $(INSTALL_DTA) simple.pg ${datadir}/polygraph/workloads
-
- srvlb-l4-4.pg_install: install_dirs srvlb-l4-4.pg
-- $(INSTALL_DTA) srvlb-l4-4.pg ${prefix}/workloads
-+ $(INSTALL_DTA) srvlb-l4-4.pg ${datadir}/polygraph/workloads
-
- srvlb-l7-4.pg_install: install_dirs srvlb-l7-4.pg
-- $(INSTALL_DTA) srvlb-l7-4.pg ${prefix}/workloads
-+ $(INSTALL_DTA) srvlb-l7-4.pg ${datadir}/polygraph/workloads
-
- test_csm.pg_install: install_dirs test_csm.pg
-- $(INSTALL_DTA) test_csm.pg ${prefix}/workloads
-+ $(INSTALL_DTA) test_csm.pg ${datadir}/polygraph/workloads
-
- test_polypxy.pg_install: install_dirs test_polypxy.pg
-- $(INSTALL_DTA) test_polypxy.pg ${prefix}/workloads
-+ $(INSTALL_DTA) test_polypxy.pg ${datadir}/polygraph/workloads
-
- webaxe-1.pg_install: install_dirs webaxe-1.pg
-- $(INSTALL_DTA) webaxe-1.pg ${prefix}/workloads
-+ $(INSTALL_DTA) webaxe-1.pg ${datadir}/polygraph/workloads
-
- webaxe-3.pg_install: install_dirs webaxe-3.pg
-- $(INSTALL_DTA) webaxe-3.pg ${prefix}/workloads
-+ $(INSTALL_DTA) webaxe-3.pg ${datadir}/polygraph/workloads
-
- webaxe-4.pg_install: install_dirs webaxe-4.pg
-- $(INSTALL_DTA) webaxe-4.pg ${prefix}/workloads
-+ $(INSTALL_DTA) webaxe-4.pg ${datadir}/polygraph/workloads
-
- all: all_subdirs datacomm-1.pg downtime-2.pg nolb-l4-4.pg polyfill-2.pg polymix-1.pg polymix-2.pg polymix-3.pg polymix-4.pg pxylb-4.pg simple.pg srvlb-l4-4.pg srvlb-l7-4.pg test_csm.pg test_polypxy.pg webaxe-1.pg webaxe-3.pg webaxe-4.pg
-
-@@ -122,7 +122,7 @@
-
- install: install_subdirs datacomm-1.pg downtime-2.pg nolb-l4-4.pg polyfill-2.pg polymix-1.pg polymix-2.pg polymix-3.pg polymix-4.pg pxylb-4.pg simple.pg srvlb-l4-4.pg srvlb-l7-4.pg test_csm.pg test_polypxy.pg webaxe-1.pg webaxe-3.pg webaxe-4.pg
- install_dirs:
-- @for d in ${prefix}/workloads/; do \
-+ @for d in ${datadir}/polygraph/workloads ; do \
- if test ! -d $$d; then echo mkdir -p $$d; mkdir -p $$d; fi; \
- done
-
diff --git a/benchmarks/polygraph31/files/patch-workloads-include-Makefile.in b/benchmarks/polygraph31/files/patch-workloads-include-Makefile.in
deleted file mode 100644
index 3852d88cc9bf..000000000000
--- a/benchmarks/polygraph31/files/patch-workloads-include-Makefile.in
+++ /dev/null
@@ -1,44 +0,0 @@
---- workloads/include/Makefile.in.orig Sat Aug 3 14:23:13 2002
-+++ workloads/include/Makefile.in Sat Aug 3 14:24:50 2002
-@@ -45,25 +45,25 @@
- default: all
-
- benches.pg_install: install_dirs benches.pg
-- $(INSTALL_DTA) benches.pg ${prefix}/workloads/include
-+ $(INSTALL_DTA) benches.pg ${datadir}/polygraph/workloads/include
-
- contents.pg_install: install_dirs contents.pg
-- $(INSTALL_DTA) contents.pg ${prefix}/workloads/include
-+ $(INSTALL_DTA) contents.pg ${datadir}/polygraph/workloads/include
-
- phases.pg_install: install_dirs phases.pg
-- $(INSTALL_DTA) phases.pg ${prefix}/workloads/include
-+ $(INSTALL_DTA) phases.pg ${datadir}/polygraph/workloads/include
-
- pipes.pg_install: install_dirs pipes.pg
-- $(INSTALL_DTA) pipes.pg ${prefix}/workloads/include
-+ $(INSTALL_DTA) pipes.pg ${datadir}/polygraph/workloads/include
-
- polymix-3-guts.pg_install: install_dirs polymix-3-guts.pg
-- $(INSTALL_DTA) polymix-3-guts.pg ${prefix}/workloads/include
-+ $(INSTALL_DTA) polymix-3-guts.pg ${datadir}/polygraph/workloads/include
-
- polymix-4-guts.pg_install: install_dirs polymix-4-guts.pg
-- $(INSTALL_DTA) polymix-4-guts.pg ${prefix}/workloads/include
-+ $(INSTALL_DTA) polymix-4-guts.pg ${datadir}/polygraph/workloads/include
-
- webaxe-4-guts.pg_install: install_dirs webaxe-4-guts.pg
-- $(INSTALL_DTA) webaxe-4-guts.pg ${prefix}/workloads/include
-+ $(INSTALL_DTA) webaxe-4-guts.pg ${datadir}/polygraph/workloads/include
-
- all: all_subdirs benches.pg contents.pg phases.pg pipes.pg polymix-3-guts.pg polymix-4-guts.pg webaxe-4-guts.pg
-
-@@ -80,7 +80,7 @@
-
- install: install_subdirs benches.pg contents.pg phases.pg pipes.pg polymix-3-guts.pg polymix-4-guts.pg webaxe-4-guts.pg
- install_dirs:
-- @for d in ${prefix}/workloads/include/; do \
-+ @for d in ${datadir}/polygraph/workloads/include/; do \
- if test ! -d $$d; then echo mkdir -p $$d; mkdir -p $$d; fi; \
- done
-
diff --git a/benchmarks/polygraph31/pkg-comment b/benchmarks/polygraph31/pkg-comment
deleted file mode 100644
index 5ad3561e2ca7..000000000000
--- a/benchmarks/polygraph31/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-A benchmarking tool for Web proxies
diff --git a/benchmarks/polygraph31/pkg-descr b/benchmarks/polygraph31/pkg-descr
deleted file mode 100644
index 9d618be1b026..000000000000
--- a/benchmarks/polygraph31/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-Web Polygraph is a benchmarking tool for Web proxies. Polygraph
-distribution includes a high-performance client and server simulators.
-The simulators create a stream of HTTP requests that can be routed through
-a Web proxy. Studying proxy performance under various [stress] conditions is
-essential for performance tuning, evaluation of new algorithms, analysis of
-hardware configurations, and comparing available proxy products.
-
-Documentation can be found at http://polygraph.ircache.net/doc/
-
-WWW: http://www.web-polygraph.org/
-
---Dima
-dima@chg.ru
diff --git a/benchmarks/polygraph31/pkg-plist b/benchmarks/polygraph31/pkg-plist
deleted file mode 100644
index 4222a98d2d24..000000000000
--- a/benchmarks/polygraph31/pkg-plist
+++ /dev/null
@@ -1,59 +0,0 @@
-bin/aka
-bin/cdb
-bin/distr_test
-bin/dns_cfg
-bin/lr
-bin/ltrace
-bin/lx
-bin/pgl2eng
-bin/pgl_test
-bin/polyclt
-bin/polymon
-bin/polyprobe
-bin/polypxy
-bin/polyrrd
-bin/polysrv
-bin/pop_test
-bin/rng_test
-bin/udp2tcpd
-share/polygraph/ReportGen/Globs.pm
-share/polygraph/ReportGen/Line.pm
-share/polygraph/ReportGen/ObjDbase.pm
-share/polygraph/ReportGen/ObjManip.pm
-share/polygraph/ReportGen/Opts.pm
-share/polygraph/ReportGen/Plot.pm
-share/polygraph/ReportGen/RepFormat.pm
-share/polygraph/ReportGen/label_results
-share/polygraph/ReportGen/make_card
-share/polygraph/ReportGen/make_report
-share/polygraph/ReportGen/plot_table
-share/polygraph/ReportGen/plot_traces
-share/polygraph/ReportGen/reportgen.cfg
-share/polygraph/workloads/datacomm-1.pg
-share/polygraph/workloads/downtime-2.pg
-share/polygraph/workloads/include/benches.pg
-share/polygraph/workloads/include/contents.pg
-share/polygraph/workloads/include/phases.pg
-share/polygraph/workloads/include/pipes.pg
-share/polygraph/workloads/include/polymix-3-guts.pg
-share/polygraph/workloads/include/polymix-4-guts.pg
-share/polygraph/workloads/include/webaxe-4-guts.pg
-share/polygraph/workloads/nolb-l4-4.pg
-share/polygraph/workloads/polyfill-2.pg
-share/polygraph/workloads/polymix-1.pg
-share/polygraph/workloads/polymix-2.pg
-share/polygraph/workloads/polymix-3.pg
-share/polygraph/workloads/polymix-4.pg
-share/polygraph/workloads/pxylb-4.pg
-share/polygraph/workloads/simple.pg
-share/polygraph/workloads/srvlb-l4-4.pg
-share/polygraph/workloads/srvlb-l7-4.pg
-share/polygraph/workloads/test_csm.pg
-share/polygraph/workloads/test_polypxy.pg
-share/polygraph/workloads/webaxe-1.pg
-share/polygraph/workloads/webaxe-3.pg
-share/polygraph/workloads/webaxe-4.pg
-@dirrm share/polygraph/workloads/include
-@dirrm share/polygraph/workloads
-@dirrm share/polygraph/ReportGen
-@dirrm share/polygraph
diff --git a/benchmarks/ttcp/Makefile b/benchmarks/ttcp/Makefile
deleted file mode 100644
index 9557a832240e..000000000000
--- a/benchmarks/ttcp/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-# New ports collection makefile for: ttcp
-# Date created: Tue Jun 1 22:58:13 PDT 1999
-# Whom: mharo@FreeBSD.org
-#
-# $FreeBSD$
-#
-
-PORTNAME= ttcp
-PORTVERSION= 1.12
-CATEGORIES= net
-MASTER_SITES= ftp://ftp.sgi.com/sgi/src/ttcp/
-DISTFILES= ttcp.c ttcp.1 README
-
-MAINTAINER= mharo@FreeBSD.org
-
-EXTRACT_ONLY= #none
-NO_WRKSUBDIR= yes
-MAN1= ttcp.1
-
-post-extract:
- ${CP} ${DISTDIR}/ttcp.c ${WRKSRC}/
- ${CP} ${DISTDIR}/ttcp.1 ${WRKSRC}/
- ${CP} ${DISTDIR}/README ${WRKSRC}/
-
-do-build:
- ${CC} ${CFLAGS} -o ${WRKSRC}/ttcp ${WRKSRC}/ttcp.c
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ttcp ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/ttcp.1 ${PREFIX}/man/man1
- ${MKDIR} ${PREFIX}/share/doc/ttcp
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ttcp/
-
-.include <bsd.port.mk>
diff --git a/benchmarks/ttcp/distinfo b/benchmarks/ttcp/distinfo
deleted file mode 100644
index 980bbb75dedb..000000000000
--- a/benchmarks/ttcp/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (ttcp.c) = 3d1b75f6116cc246a4def9788ce58c26
-MD5 (ttcp.1) = 01d3a511a05dc8a0669f30c15ebaae82
-MD5 (README) = 6b1e5ff6247a9f284f3b58eb651b37a9
diff --git a/benchmarks/ttcp/files/patch-aa b/benchmarks/ttcp/files/patch-aa
deleted file mode 100644
index 80ebfdb8e6e6..000000000000
--- a/benchmarks/ttcp/files/patch-aa
+++ /dev/null
@@ -1,257 +0,0 @@
---- ttcp.c.orig Thu Oct 18 12:26:35 2001
-+++ ttcp.c Thu Oct 18 12:31:00 2001
-@@ -55,6 +55,9 @@
- #include <arpa/inet.h>
- #include <netdb.h>
- #include <sys/time.h> /* struct timeval */
-+#include <unistd.h>
-+#include <string.h>
-+#include <stdlib.h>
-
- #if defined(SYSV)
- #include <sys/times.h>
-@@ -133,7 +136,7 @@
-
- void err();
- void mes();
--int pattern();
-+void pattern();
- void prep_timer();
- double read_timer();
- int Nread();
-@@ -147,6 +150,7 @@
- {
- }
-
-+int
- main(argc,argv)
- int argc;
- char **argv;
-@@ -249,6 +253,7 @@
- #endif /* cray */
- }
- sinhim.sin_port = htons(port);
-+ sinme.sin_family = AF_INET; /* Solaris needs this */
- sinme.sin_port = 0; /* free choice */
- } else {
- /* rcvr */
-@@ -263,29 +268,31 @@
- if ( (buf = (char *)malloc(buflen+bufalign)) == (char *)NULL)
- err("malloc");
- if (bufalign != 0)
-- buf +=(bufalign - ((int)buf % bufalign) + bufoffset) % bufalign;
-+ buf += (bufalign
-+ -((unsigned long)buf % bufalign)
-+ + bufoffset) % bufalign;
-
- if (trans) {
-- fprintf(stdout,
-+ fprintf(stderr,
- "ttcp-t: buflen=%d, nbuf=%d, align=%d/%d, port=%d",
- buflen, nbuf, bufalign, bufoffset, port);
- if (sockbufsize)
-- fprintf(stdout, ", sockbufsize=%d", sockbufsize);
-- fprintf(stdout, " %s -> %s\n", udp?"udp":"tcp", host);
-+ fprintf(stderr, ", sockbufsize=%d", sockbufsize);
-+ fprintf(stderr, " %s -> %s\n", udp?"udp":"tcp", host);
- } else {
-- fprintf(stdout,
-+ fprintf(stderr,
- "ttcp-r: buflen=%d, nbuf=%d, align=%d/%d, port=%d",
- buflen, nbuf, bufalign, bufoffset, port);
- if (sockbufsize)
-- fprintf(stdout, ", sockbufsize=%d", sockbufsize);
-- fprintf(stdout, " %s\n", udp?"udp":"tcp");
-+ fprintf(stderr, ", sockbufsize=%d", sockbufsize);
-+ fprintf(stderr, " %s\n", udp?"udp":"tcp");
- }
-
- if ((fd = socket(AF_INET, udp?SOCK_DGRAM:SOCK_STREAM, 0)) < 0)
- err("socket");
- mes("socket");
-
-- if (bind(fd, &sinme, sizeof(sinme)) < 0)
-+ if (bind(fd, (struct sockaddr *) &sinme, sizeof(sinme)) < 0)
- err("bind");
-
- #if defined(SO_SNDBUF) || defined(SO_RCVBUF)
-@@ -326,7 +333,7 @@
- mes("nodelay");
- }
- #endif
-- if(connect(fd, &sinhim, sizeof(sinhim) ) < 0)
-+ if(connect(fd, (struct sockaddr*)&sinhim, sizeof(sinhim) ) < 0)
- err("connect");
- mes("connect");
- } else {
-@@ -348,11 +355,11 @@
- }
- fromlen = sizeof(frominet);
- domain = AF_INET;
-- if((fd=accept(fd, &frominet, &fromlen) ) < 0)
-+ if((fd=accept(fd, (struct sockaddr*)&frominet, &fromlen) ) < 0)
- err("accept");
- { struct sockaddr_in peer;
- int peerlen = sizeof(peer);
-- if (getpeername(fd, (struct sockaddr_in *) &peer,
-+ if (getpeername(fd, (struct sockaddr*) &peer,
- &peerlen) < 0) {
- err("getpeername");
- }
-@@ -412,25 +419,25 @@
- }
- if( cput <= 0.0 ) cput = 0.001;
- if( realt <= 0.0 ) realt = 0.001;
-- fprintf(stdout,
-+ fprintf(stderr,
- "ttcp%s: %.0f bytes in %.2f real seconds = %s/sec +++\n",
- trans?"-t":"-r",
- nbytes, realt, outfmt(nbytes/realt));
- if (verbose) {
-- fprintf(stdout,
-+ fprintf(stderr,
- "ttcp%s: %.0f bytes in %.2f CPU seconds = %s/cpu sec\n",
- trans?"-t":"-r",
- nbytes, cput, outfmt(nbytes/cput));
- }
-- fprintf(stdout,
-+ fprintf(stderr,
- "ttcp%s: %d I/O calls, msec/call = %.2f, calls/sec = %.2f\n",
- trans?"-t":"-r",
- numCalls,
- 1024.0 * realt/((double)numCalls),
- ((double)numCalls)/realt);
-- fprintf(stdout,"ttcp%s: %s\n", trans?"-t":"-r", stats);
-+ fprintf(stderr,"ttcp%s: %s\n", trans?"-t":"-r", stats);
- if (verbose) {
-- fprintf(stdout,
-+ fprintf(stderr,
- "ttcp%s: buffer address %#x\n",
- trans?"-t":"-r",
- buf);
-@@ -459,6 +466,7 @@
- fprintf(stderr,"ttcp%s: %s\n", trans?"-t":"-r", s);
- }
-
-+void
- pattern( cp, cnt )
- register char *cp;
- register int cnt;
-@@ -614,13 +622,13 @@
-
- case 'U':
- tvsub(&tdiff, &r1->ru_utime, &r0->ru_utime);
-- sprintf(outp,"%d.%01d", tdiff.tv_sec, tdiff.tv_usec/100000);
-+ sprintf(outp,"%ld.%01ld", tdiff.tv_sec, tdiff.tv_usec/100000);
- END(outp);
- break;
-
- case 'S':
- tvsub(&tdiff, &r1->ru_stime, &r0->ru_stime);
-- sprintf(outp,"%d.%01d", tdiff.tv_sec, tdiff.tv_usec/100000);
-+ sprintf(outp,"%ld.%01ld", tdiff.tv_sec, tdiff.tv_usec/100000);
- END(outp);
- break;
-
-@@ -642,49 +650,49 @@
- break;
-
- case 'X':
-- sprintf(outp,"%d", t == 0 ? 0 : (r1->ru_ixrss-r0->ru_ixrss)/t);
-+ sprintf(outp,"%ld", t == 0 ? 0 : (r1->ru_ixrss-r0->ru_ixrss)/t);
- END(outp);
- break;
-
- case 'D':
-- sprintf(outp,"%d", t == 0 ? 0 :
-+ sprintf(outp,"%ld", t == 0 ? 0 :
- (r1->ru_idrss+r1->ru_isrss-(r0->ru_idrss+r0->ru_isrss))/t);
- END(outp);
- break;
-
- case 'K':
-- sprintf(outp,"%d", t == 0 ? 0 :
-+ sprintf(outp,"%ld", t == 0 ? 0 :
- ((r1->ru_ixrss+r1->ru_isrss+r1->ru_idrss) -
- (r0->ru_ixrss+r0->ru_idrss+r0->ru_isrss))/t);
- END(outp);
- break;
-
- case 'M':
-- sprintf(outp,"%d", r1->ru_maxrss/2);
-+ sprintf(outp,"%ld", r1->ru_maxrss/2);
- END(outp);
- break;
-
- case 'F':
-- sprintf(outp,"%d", r1->ru_majflt-r0->ru_majflt);
-+ sprintf(outp,"%ld", r1->ru_majflt-r0->ru_majflt);
- END(outp);
- break;
-
- case 'R':
-- sprintf(outp,"%d", r1->ru_minflt-r0->ru_minflt);
-+ sprintf(outp,"%ld", r1->ru_minflt-r0->ru_minflt);
- END(outp);
- break;
-
- case 'I':
-- sprintf(outp,"%d", r1->ru_inblock-r0->ru_inblock);
-+ sprintf(outp,"%ld", r1->ru_inblock-r0->ru_inblock);
- END(outp);
- break;
-
- case 'O':
-- sprintf(outp,"%d", r1->ru_oublock-r0->ru_oublock);
-+ sprintf(outp,"%ld", r1->ru_oublock-r0->ru_oublock);
- END(outp);
- break;
- case 'C':
-- sprintf(outp,"%d+%d", r1->ru_nvcsw-r0->ru_nvcsw,
-+ sprintf(outp,"%ld+%ld", r1->ru_nvcsw-r0->ru_nvcsw,
- r1->ru_nivcsw-r0->ru_nivcsw );
- END(outp);
- break;
-@@ -743,6 +751,7 @@
- /*
- * N R E A D
- */
-+int
- Nread( fd, buf, count )
- int fd;
- void *buf;
-@@ -752,7 +761,7 @@
- int len = sizeof(from);
- register int cnt;
- if( udp ) {
-- cnt = recvfrom( fd, buf, count, 0, &from, &len );
-+ cnt = recvfrom( fd, buf, count, 0, (struct sockaddr *)&from, &len );
- numCalls++;
- } else {
- if( b_flag )
-@@ -774,6 +783,7 @@
- /*
- * N W R I T E
- */
-+int
- Nwrite( fd, buf, count )
- int fd;
- void *buf;
-@@ -782,7 +792,7 @@
- register int cnt;
- if( udp ) {
- again:
-- cnt = sendto( fd, buf, count, 0, &sinhim, sizeof(sinhim) );
-+ cnt = sendto( fd, buf, count, 0, (struct sockaddr *)&sinhim, sizeof(sinhim) );
- numCalls++;
- if( cnt<0 && errno == ENOBUFS ) {
- delay(18000);
-@@ -803,7 +813,7 @@
-
- tv.tv_sec = 0;
- tv.tv_usec = us;
-- (void)select( 1, (char *)0, (char *)0, (char *)0, &tv );
-+ (void)select( 1, NULL, NULL, NULL, &tv );
- }
-
- /*
diff --git a/benchmarks/ttcp/pkg-comment b/benchmarks/ttcp/pkg-comment
deleted file mode 100644
index 764ed03d460c..000000000000
--- a/benchmarks/ttcp/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Benchmarking tool for analysing TCP and UDP performance
diff --git a/benchmarks/ttcp/pkg-descr b/benchmarks/ttcp/pkg-descr
deleted file mode 100644
index 9aec29eb0316..000000000000
--- a/benchmarks/ttcp/pkg-descr
+++ /dev/null
@@ -1,16 +0,0 @@
-TTCP is a benchmarking tool for determining TCP and UDP performance
-between 2 systems.
-
-The program was created at the US Army Ballistics Research Lab (BRL)
-and is in the public domain. Feel free to distribute this program
-but please do leave the credit notices in the source and man page intact.
-
-How to get TCP performance numbers:
-
- receiver sender
-
-host1% ttcp -r -s host2% ttcp -t -s host1
-
--n and -l options change the number and size of the buffers.
-
-WWW: http://ftp.arl.mil/~mike/ttcp.html
diff --git a/benchmarks/ttcp/pkg-plist b/benchmarks/ttcp/pkg-plist
deleted file mode 100644
index 5d2266f36ebd..000000000000
--- a/benchmarks/ttcp/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/ttcp
-share/doc/ttcp/README
-@dirrm share/doc/ttcp
diff --git a/benchmarks/unixbench/Makefile b/benchmarks/unixbench/Makefile
deleted file mode 100644
index b6ea556aa8da..000000000000
--- a/benchmarks/unixbench/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# New ports collection makefile for: bytebench
-# Date created: 28 December 1995
-# Whom: se
-#
-# $FreeBSD$
-#
-
-PORTNAME= bytebench
-PORTVERSION= 3.1
-CATEGORIES= benchmarks
-MASTER_SITES= ftp://ftp.inria.fr/system/benchmark/
-EXTRACT_SUFX= .tar.Z
-
-MAINTAINER= se@FreeBSD.org
-
-do-install:
- -${MKDIR} $(PREFIX)/lib/bytebench
- for f in Makefile README Run doc pgms results testdir; \
- do ${CP} -R $(WRKSRC)/$$f $(PREFIX)/lib/bytebench; done
- ${ECHO_CMD} "#!/bin/sh" > $(PREFIX)/bin/bytebench
- ${ECHO_CMD} "TMPDIR=\$${TMPDIR-/var/tmp}" >> $(PREFIX)/bin/bytebench
- ${ECHO_CMD} "RESULTDIR=/tmp" >> $(PREFIX)/bin/bytebench
- ${ECHO_CMD} "export TMPDIR RESULTDIR" >> $(PREFIX)/bin/bytebench
- ${ECHO_CMD} "cd $(PREFIX)/lib/bytebench" >> $(PREFIX)/bin/bytebench
- ${ECHO_CMD} "exec ./Run \"\$$@\"" >> $(PREFIX)/bin/bytebench
- ${CHMOD} 755 $(PREFIX)/bin/bytebench
- ${CHMOD} 644 $(PREFIX)/lib/bytebench/Makefile
- ${CHMOD} 644 $(PREFIX)/lib/bytebench/README
- ${CHMOD} 755 $(PREFIX)/lib/bytebench/Run
- ${CHMOD} 755 $(PREFIX)/lib/bytebench/doc
- ${CHMOD} 755 $(PREFIX)/lib/bytebench/pgms
- ${CHMOD} 755 $(PREFIX)/lib/bytebench/pgms/*
- ${CHMOD} 755 $(PREFIX)/lib/bytebench/results
- ${CHMOD} 755 $(PREFIX)/lib/bytebench/testdir
- @${RM} -f ${PREFIX}/lib/bytebench/pgms/*.orig
-
-.include <bsd.port.mk>
diff --git a/benchmarks/unixbench/distinfo b/benchmarks/unixbench/distinfo
deleted file mode 100644
index 23a74ac768ae..000000000000
--- a/benchmarks/unixbench/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (bytebench-3.1.tar.Z) = 93c718fee38d27c050edcb3a50530b2e
diff --git a/benchmarks/unixbench/files/patch-aa b/benchmarks/unixbench/files/patch-aa
deleted file mode 100644
index 011f1cc85f71..000000000000
--- a/benchmarks/unixbench/files/patch-aa
+++ /dev/null
@@ -1,96 +0,0 @@
---- Makefile.orig Wed Feb 5 02:08:43 1992
-+++ Makefile Fri Feb 4 21:15:26 2000
-@@ -24,18 +24,19 @@
- ##############################################################################
- ID="@(#)Makefile:3.9 -- 5/15/91 19:30:15";
- SHELL = /bin/sh
--#HZ = ???? #(read from environment)
--CFLAGS = -DTIME
--OPTON = -O #optimization on (give it your best shot)
-- # -- check your compiler man
--OPTOFF = -Od #optimization off -- check your compiler man
-+HZ = 128
-+CFLAGS ?= -O -finline-functions -funroll-loops -fomit-frame-pointer
-+CFLAGS+=-DTIME
-+ #optimization on (give it your best shot)
-+ # -- check your compiler man
-+OPTOFF = -O0 -static #optimization off -- check your compiler man
- # local directories
- PROGDIR = ./pgms
- SRCDIR = ./src
- DOCDIR = ./doc
- TESTDIR = ./testdir
--RESULTDIR = ./results
--TMPDIR = ./tmp
-+# RESULTDIR = ./results
-+# TMPDIR = /var/tmp
- # other directories
- INCLDIR = /usr/include
- LIBDIR = /lib
-@@ -128,45 +129,45 @@
-
- # Individual programs
- $(PROGDIR)/arithoh: $(SRCDIR)/arith.c
-- cc -o $(PROGDIR)/arithoh ${CFLAGS} ${OPTON} -Darithoh $(SRCDIR)/arith.c
-+ $(CC) -o $(PROGDIR)/arithoh ${CFLAGS} ${OPTON} -Darithoh $(SRCDIR)/arith.c
- $(PROGDIR)/register: $(SRCDIR)/arith.c
-- cc -o $(PROGDIR)/register ${CFLAGS} ${OPTON} -Ddatum=register $(SRCDIR)/arith.c
-+ $(CC) -o $(PROGDIR)/register ${CFLAGS} ${OPTON} -Ddatum=register $(SRCDIR)/arith.c
- $(PROGDIR)/short: $(SRCDIR)/arith.c
-- cc -o $(PROGDIR)/short ${CFLAGS} ${OPTON} -Ddatum=short $(SRCDIR)/arith.c
-+ $(CC) -o $(PROGDIR)/short ${CFLAGS} ${OPTON} -Ddatum=short $(SRCDIR)/arith.c
- $(PROGDIR)/int: $(SRCDIR)/arith.c
-- cc -o $(PROGDIR)/int ${CFLAGS} ${OPTON} -Ddatum=int $(SRCDIR)/arith.c
-+ $(CC) -o $(PROGDIR)/int ${CFLAGS} ${OPTON} -Ddatum=int $(SRCDIR)/arith.c
- $(PROGDIR)/long: $(SRCDIR)/arith.c
-- cc -o $(PROGDIR)/long ${CFLAGS} ${OPTON} -Ddatum=long $(SRCDIR)/arith.c
-+ $(CC) -o $(PROGDIR)/long ${CFLAGS} ${OPTON} -Ddatum=long $(SRCDIR)/arith.c
- $(PROGDIR)/float: $(SRCDIR)/arith.c
-- cc -o $(PROGDIR)/float ${CFLAGS} ${OPTON} -Ddatum=float $(SRCDIR)/arith.c
-+ $(CC) -o $(PROGDIR)/float ${CFLAGS} ${OPTON} -Ddatum=float $(SRCDIR)/arith.c
- $(PROGDIR)/double: $(SRCDIR)/arith.c
-- cc -o $(PROGDIR)/double ${CFLAGS} ${OPTON} -Ddatum=double $(SRCDIR)/arith.c
-+ $(CC) -o $(PROGDIR)/double ${CFLAGS} ${OPTON} -Ddatum=double $(SRCDIR)/arith.c
- $(PROGDIR)/hanoi: $(SRCDIR)/hanoi.c
-- cc -o $(PROGDIR)/hanoi ${CFLAGS} ${OPTON} $(SRCDIR)/hanoi.c
-+ $(CC) -o $(PROGDIR)/hanoi ${CFLAGS} ${OPTON} $(SRCDIR)/hanoi.c
- $(PROGDIR)/fstime: $(SRCDIR)/fstime.c
-- cc -o $(PROGDIR)/fstime ${CFLAGS} ${OPTON} -Dawk=1 $(SRCDIR)/fstime.c
-+ $(CC) -o $(PROGDIR)/fstime ${CFLAGS} ${OPTON} -Dawk=1 $(SRCDIR)/fstime.c
- $(PROGDIR)/syscall: $(SRCDIR)/syscall.c
-- cc -o $(PROGDIR)/syscall ${CFLAGS} ${OPTON} $(SRCDIR)/syscall.c
-+ $(CC) -o $(PROGDIR)/syscall ${CFLAGS} ${OPTON} $(SRCDIR)/syscall.c
- $(PROGDIR)/context1: $(SRCDIR)/context1.c
-- cc -o $(PROGDIR)/context1 ${CFLAGS} ${OPTON} $(SRCDIR)/context1.c
-+ $(CC) -o $(PROGDIR)/context1 ${CFLAGS} ${OPTON} $(SRCDIR)/context1.c
- $(PROGDIR)/pipe: $(SRCDIR)/pipe.c
-- cc -o $(PROGDIR)/pipe ${CFLAGS} ${OPTON} $(SRCDIR)/pipe.c
-+ $(CC) -o $(PROGDIR)/pipe ${CFLAGS} ${OPTON} $(SRCDIR)/pipe.c
- $(PROGDIR)/spawn: $(SRCDIR)/spawn.c
-- cc -o $(PROGDIR)/spawn ${CFLAGS} ${OPTON} $(SRCDIR)/spawn.c
-+ $(CC) -o $(PROGDIR)/spawn ${CFLAGS} ${OPTON} $(SRCDIR)/spawn.c
- $(PROGDIR)/execl: $(SRCDIR)/execl.c $(SRCDIR)/big.c
-- cc -o $(PROGDIR)/execl ${CFLAGS} ${OPTON} $(SRCDIR)/execl.c
-+ $(CC) -o $(PROGDIR)/execl ${CFLAGS} ${OPTON} $(SRCDIR)/execl.c
- $(PROGDIR)/dhry2: $(SRCDIR)/dhry_1.c $(SRCDIR)/dhry_2.c $(SRCDIR)/dhry.h
-- cd $(SRCDIR); cc -c ${CFLAGS} -DHZ=${HZ} ${OPTON} dhry_1.c
-- cd $(SRCDIR); cc -c ${CFLAGS} -DHZ=${HZ} ${OPTON} dhry_2.c
-- cc -o $(PROGDIR)/dhry2 ${CFLAGS} ${OPTON} $(SRCDIR)/dhry_1.o $(SRCDIR)/dhry_2.o
-+ cd $(SRCDIR); $(CC) -c ${CFLAGS} -DHZ=${HZ} ${OPTON} dhry_1.c
-+ cd $(SRCDIR); $(CC) -c ${CFLAGS} -DHZ=${HZ} ${OPTON} dhry_2.c
-+ $(CC) -o $(PROGDIR)/dhry2 ${CFLAGS} ${OPTON} $(SRCDIR)/dhry_1.o $(SRCDIR)/dhry_2.o
- cd $(SRCDIR); rm -f dhry_1.o dhry_2.o
- $(PROGDIR)/dhry2reg: $(SRCDIR)/dhry_1.c $(SRCDIR)/dhry_2.c $(SRCDIR)/dhry.h
-- cd $(SRCDIR); cc -c ${CFLAGS} -DREG=register -DHZ=${HZ} ${OPTON} dhry_1.c
-- cd $(SRCDIR); cc -c ${CFLAGS} -DREG=register -DHZ=${HZ} ${OPTON} dhry_2.c
-- cc -o $(PROGDIR)/dhry2reg ${CFLAGS} ${OPTON} $(SRCDIR)/dhry_1.o $(SRCDIR)/dhry_2.o
-+ cd $(SRCDIR); $(CC) -c ${CFLAGS} -DREG=register -DHZ=${HZ} ${OPTON} dhry_1.c
-+ cd $(SRCDIR); $(CC) -c ${CFLAGS} -DREG=register -DHZ=${HZ} ${OPTON} dhry_2.c
-+ $(CC) -o $(PROGDIR)/dhry2reg ${CFLAGS} ${OPTON} $(SRCDIR)/dhry_1.o $(SRCDIR)/dhry_2.o
- cd $(SRCDIR); rm -f dhry_1.o dhry_2.o
- $(PROGDIR)/looper: $(SRCDIR)/looper.c
-- cc -o $(PROGDIR)/looper ${CFLAGS} ${OPTON} $(SRCDIR)/looper.c
-+ $(CC) -o $(PROGDIR)/looper ${CFLAGS} ${OPTON} $(SRCDIR)/looper.c
-
- # Run the benchmarks and create the reports
- run:
diff --git a/benchmarks/unixbench/files/patch-ab b/benchmarks/unixbench/files/patch-ab
deleted file mode 100644
index 062decfb4f86..000000000000
--- a/benchmarks/unixbench/files/patch-ab
+++ /dev/null
@@ -1,129 +0,0 @@
-*** Run.orig Wed Feb 5 11:08:46 1992
---- Run Fri Dec 18 22:48:52 1998
-***************
-*** 41,45 ****
- # awk cat cc chmod comm cp date dc df echo ed expr
- # kill ls make mkdir rm sed test time touch tty umask who
-! # AND /bin/time
- # to generate result indexes, you will also need ...
- # join
---- 41,45 ----
- # awk cat cc chmod comm cp date dc df echo ed expr
- # kill ls make mkdir rm sed test time touch tty umask who
-! # AND /usr/bin/time
- # to generate result indexes, you will also need ...
- # join
-***************
-*** 51,55 ****
- then
- # determine flavor of UNIX from number of lines generated by /bin/tim
-! Fcount=`/bin/time date 2>&1 | wc -l | sed 's/ //g'`
- case "$Fcount"
- in
---- 51,55 ----
- then
- # determine flavor of UNIX from number of lines generated by /bin/tim
-! Fcount=`/usr/bin/time date 2>&1 | wc -l | sed 's/ //g'`
- case "$Fcount"
- in
-***************
-*** 68,75 ****
- export FLAVOR
- # check that the required files are in the proper places
-! if make check
-! then :
-! else make all
-! fi
- #
- #
---- 68,75 ----
- export FLAVOR
- # check that the required files are in the proper places
-! #if make check
-! # then :
-! # else make all
-! #fi
- #
- #
-***************
-*** 93,97 ****
- cd $PWD
-
-! TMPDIR=${HOMEDIR}/tmp
- cd $TMPDIR
- TMPDIR=`pwd`
---- 93,97 ----
- cd $PWD
-
-! TMPDIR=${TMPDIR-${HOMEDIR}/tmp}
- cd $TMPDIR
- TMPDIR=`pwd`
-***************
-*** 304,312 ****
- C)
- logmsg="C Compiler Test"
-! prog="looper ${looper-60} cc cctest.c"
- stdout=/dev/null
- repeat="$shortloop"
- cleanopt="-m $TMPTIMES"
-! rm -f ${TESTDIR}/cctest.o ${TESTDIR}/a.out
- ;;
-
---- 304,312 ----
- C)
- logmsg="C Compiler Test"
-! prog="looper ${looper-60} cc cctest.c -o ${TMPDIR}/a.out"
- stdout=/dev/null
- repeat="$shortloop"
- cleanopt="-m $TMPTIMES"
-! rm -f ${TESTDIR}/cctest.o ${TMPDIR}/a.out
- ;;
-
-***************
-*** 324,329 ****
- dc)
- logmsg="Dc: sqrt(2) to 99 decimal places"
-! prog="looper ${looper-60} dc"
-! stdin=dc.dat
- stdout=/dev/null
- cleanopt="-m $TMPTIMES"
---- 324,329 ----
- dc)
- logmsg="Dc: sqrt(2) to 99 decimal places"
-! prog="looper ${looper-60} \"dc < ${TESTDIR}/dc.dat\""
-! stdin=
- stdout=/dev/null
- cleanopt="-m $TMPTIMES"
-***************
-*** 418,426 ****
- if test "$stdin" = ""
- then # without redirected stdin
-! /bin/time $prog $opt $bgstr 2>>$TMPTIMES >>$stdout
- else # with redirected stdin
-! /bin/time $prog $opt $bgstr <$stdin 2>>$TMPTIMES >>$stdout
- fi
-- /bin/time $benchcmd
- ###############################################
- cd $pwd # move back home
---- 418,425 ----
- if test "$stdin" = ""
- then # without redirected stdin
-! /usr/bin/time $prog $opt $bgstr 2>>$TMPTIMES >>$stdout
- else # with redirected stdin
-! /usr/bin/time $prog $opt $bgstr <$stdin 2>>$TMPTIMES >>$stdout
- fi
- ###############################################
- cd $pwd # move back home
-***************
-*** 451,455 ****
- in
- C)
-! rm -f ${TESTDIR}/cctest.o ${TESTDIR}/a.out
- ;;
-
---- 451,455 ----
- in
- C)
-! rm -f ${TESTDIR}/cctest.o ${TMPDIR}/a.out
- ;;
-
diff --git a/benchmarks/unixbench/files/patch-ac b/benchmarks/unixbench/files/patch-ac
deleted file mode 100644
index 7cab0456099b..000000000000
--- a/benchmarks/unixbench/files/patch-ac
+++ /dev/null
@@ -1,15 +0,0 @@
-*** pgms/tst.sh.orig Wed Feb 5 11:08:39 1992
---- pgms/tst.sh Fri Dec 18 23:10:07 1998
-***************
-*** 15,19 ****
- ###############################################################################
- ID="@(#)tst.sh:3.4 -- 5/15/91 19:30:24";
-! sort >sort.$$ <sort.src
- od sort.$$ | sort -n +1 > od.$$
- grep the sort.$$ | tee grep.$$ | wc > wc.$$
---- 15,19 ----
- ###############################################################################
- ID="@(#)tst.sh:3.4 -- 5/15/91 19:30:24";
-! sort >sort.$$ < ${TESTDIR}/sort.src
- od sort.$$ | sort -n +1 > od.$$
- grep the sort.$$ | tee grep.$$ | wc > wc.$$
diff --git a/benchmarks/unixbench/files/patch-ad b/benchmarks/unixbench/files/patch-ad
deleted file mode 100644
index 12de4faa1333..000000000000
--- a/benchmarks/unixbench/files/patch-ad
+++ /dev/null
@@ -1,17 +0,0 @@
-*** pgms/cleanup.sh.orig Wed Feb 5 11:08:37 1992
---- pgms/cleanup.sh Wed Jan 3 19:27:21 1996
-***************
-*** 87,92 ****
-
- -r) : reason for failure
-! echo $1
-! echo $1 >>$LOGFILE
- shift
- ;;
---- 87,92 ----
-
- -r) : reason for failure
-! echo -e $1
-! echo -e $1 >>$LOGFILE
- shift
- ;;
diff --git a/benchmarks/unixbench/files/patch-ae b/benchmarks/unixbench/files/patch-ae
deleted file mode 100644
index 40131bbafc83..000000000000
--- a/benchmarks/unixbench/files/patch-ae
+++ /dev/null
@@ -1,10 +0,0 @@
-*** pgms/multi.sh.orig Thu Jan 4 15:16:20 1996
---- pgms/multi.sh Thu Jan 4 15:17:26 1996
-***************
-*** 15,18 ****
---- 15,19 ----
- ###############################################################################
- ID="@(#)multi.sh:3.4 -- 5/15/91 19:30:24";
-+ cd $TMPDIR
- for i
- do
diff --git a/benchmarks/unixbench/files/patch-af b/benchmarks/unixbench/files/patch-af
deleted file mode 100644
index 7ecc7b21e8dd..000000000000
--- a/benchmarks/unixbench/files/patch-af
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/dhry_1.c.orig Thu Jan 27 21:23:37 2000
-+++ src/dhry_1.c Mon Mar 12 19:08:06 2001
-@@ -32,6 +32,7 @@
- ***************************************************************************/
- char SCCSid[] = "@(#) @(#)dhry_1.c:3.4 -- 5/15/91 19:30:21";
-
-+#include <sys/types.h>
- #include <stdio.h>
- #include "dhry.h"
- #include "timeit.c"
-@@ -78,7 +79,7 @@
- /* Measurements should last at least about 2 seconds */
- #endif
- #ifdef TIME
--extern long time();
-+extern time_t time();
- /* see library function "time" */
- #define Too_Small_Time 2
- /* Measurements should last at least 2 seconds */
diff --git a/benchmarks/unixbench/pkg-comment b/benchmarks/unixbench/pkg-comment
deleted file mode 100644
index 4b271f82ad70..000000000000
--- a/benchmarks/unixbench/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-The BYTE magazine benchmark suite
diff --git a/benchmarks/unixbench/pkg-descr b/benchmarks/unixbench/pkg-descr
deleted file mode 100644
index 8693a1581db4..000000000000
--- a/benchmarks/unixbench/pkg-descr
+++ /dev/null
@@ -1,24 +0,0 @@
-The BYTE benchmark suite tests several aspects of system performance.
-
-An article which describes the concepts and helps understand the results
-can be found in the doc directory (/usr/local/lib/bytebench/doc usually.)
-
-This benchmark is quite prominent among Linux users, and there is a patched
-version available from some web suite from where results are made available,
-too.
-Since they offer some results of non-Linux systems for comparison, they might
-be interested in FreeBSD reports, too ;-)
-
-Quoting from "README.submittal" of the Linux version of this benchmark suite:
-% Please e-mail test results along with platform info to:
-% results@silkroad.com
-%
-% Included CPU info, speed, RAM, and host adapter and bus
-% info as well as any special compilation flags.
-%
-% See TEMPLATE Below....
-% results will be included in the URL:
-% http://www.silkroad.com/bass/linux/bm.html
-% Thanks,
-%
-% Tim Bass (bass@silkroad.com)
diff --git a/benchmarks/unixbench/pkg-plist b/benchmarks/unixbench/pkg-plist
deleted file mode 100644
index 32c956709dd4..000000000000
--- a/benchmarks/unixbench/pkg-plist
+++ /dev/null
@@ -1,44 +0,0 @@
-bin/bytebench
-lib/bytebench/Run
-lib/bytebench/pgms/looper
-lib/bytebench/pgms/cleanup.sh
-lib/bytebench/pgms/fs.awk
-lib/bytebench/pgms/index.awk
-lib/bytebench/pgms/index.base
-lib/bytebench/pgms/index.sh
-lib/bytebench/pgms/loopm.awk
-lib/bytebench/pgms/loops.awk
-lib/bytebench/pgms/multi.sh
-lib/bytebench/pgms/report.awk
-lib/bytebench/pgms/report.sh
-lib/bytebench/pgms/tst.sh
-lib/bytebench/pgms/arithoh
-lib/bytebench/pgms/register
-lib/bytebench/pgms/short
-lib/bytebench/pgms/int
-lib/bytebench/pgms/long
-lib/bytebench/pgms/float
-lib/bytebench/pgms/double
-lib/bytebench/pgms/hanoi
-lib/bytebench/pgms/fstime
-lib/bytebench/pgms/syscall
-lib/bytebench/pgms/context1
-lib/bytebench/pgms/pipe
-lib/bytebench/pgms/spawn
-lib/bytebench/pgms/execl
-lib/bytebench/pgms/dhry2
-lib/bytebench/pgms/dhry2reg
-lib/bytebench/pgms/byte.logo
-lib/bytebench/Makefile
-lib/bytebench/README
-lib/bytebench/doc/bench3.doc
-lib/bytebench/doc/bench.doc
-lib/bytebench/results/reports.shar
-lib/bytebench/testdir/dc.dat
-lib/bytebench/testdir/cctest.c
-lib/bytebench/testdir/sort.src
-@dirrm lib/bytebench/doc
-@dirrm lib/bytebench/results
-@dirrm lib/bytebench/pgms
-@dirrm lib/bytebench/testdir
-@dirrm lib/bytebench