aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-01-10 06:49:54 +0800
committerobrien <obrien@FreeBSD.org>2000-01-10 06:49:54 +0800
commit87414a69c1ca5e6b8962ae1f02ddc09c5b3f237e (patch)
tree3112402b6b52a63fbbffb30f8b399e555e25c704 /benchmarks
parent1f300601674643a07f656d3719e314eb65ca759e (diff)
downloadfreebsd-ports-graphics-87414a69c1ca5e6b8962ae1f02ddc09c5b3f237e.tar.gz
freebsd-ports-graphics-87414a69c1ca5e6b8962ae1f02ddc09c5b3f237e.tar.zst
freebsd-ports-graphics-87414a69c1ca5e6b8962ae1f02ddc09c5b3f237e.zip
Revert back to version 2.1 The 3.x versions of iozone have completely
changed their testing methods, thus their output is useless in comparing with older statistics.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/iozone21/Makefile27
-rw-r--r--benchmarks/iozone21/distinfo2
-rw-r--r--benchmarks/iozone21/files/patch-aa38
3 files changed, 50 insertions, 17 deletions
diff --git a/benchmarks/iozone21/Makefile b/benchmarks/iozone21/Makefile
index f33616ec34b..58c49f29fdd 100644
--- a/benchmarks/iozone21/Makefile
+++ b/benchmarks/iozone21/Makefile
@@ -1,30 +1,25 @@
# New ports collection makefile for: iozone
-# Version required: 3.9
+# Version required: 2.01
# Date created: 26 September 1994
# Whom: jmz
#
# $FreeBSD$
#
-DISTNAME= iozone3_9
-PKGNAME= iozone-3.9
+DISTNAME= iozone-2.01
CATEGORIES= benchmarks
-MASTER_SITES= http://www.iozone.org/src/stable/
-EXTRACT_SUFX= .tar
+MASTER_SITES= ftp://ftp.cs.uni-sb.de/pub/others/
+EXTRACT_SUFX= .shar.gz
-MAINTAINER= jmz@FreeBSD.org
+# This site does not allow root@<hostname> password
+FETCH_CMD= FTP_PASSWORD=portsuser@FreeBSD.org /usr/bin/fetch
-WRKSRC= ${WRKDIR}/src
-
-MAKEFILE= makefile
-MAKE_ARGS= freebsd
-ALL_TARGET=
+MAINTAINER= obrien@FreeBSD.org
+EXTRACT_CMD= ( gzcat | awk '{if (/^\#!/) x++} {if(x) print $$0'}| /bin/sh )
+EXTRACT_BEFORE_ARGS= <
+EXTRACT_AFTER_ARGS= # empty
+NO_WRKSUBDIR= YES
MAN1= iozone.1
-do-install:
- strip ${WRKSRC}/iozone
- ${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/iozone.1 ${PREFIX}/man/man1
-
.include <bsd.port.mk>
diff --git a/benchmarks/iozone21/distinfo b/benchmarks/iozone21/distinfo
index 6b47751dd1f..4df2103cc28 100644
--- a/benchmarks/iozone21/distinfo
+++ b/benchmarks/iozone21/distinfo
@@ -1 +1 @@
-MD5 (iozone3_9.tar) = 5b81151f0d8a2abd737af53f7f60f348
+MD5 (iozone-2.01.shar.gz) = 6c7d5f67de6e93650cf945470ec94ba4
diff --git a/benchmarks/iozone21/files/patch-aa b/benchmarks/iozone21/files/patch-aa
new file mode 100644
index 00000000000..07a2da65ec0
--- /dev/null
+++ b/benchmarks/iozone21/files/patch-aa
@@ -0,0 +1,38 @@
+*** /dev/null Wed Oct 5 14:46:59 1994
+--- Makefile Wed Oct 5 16:03:22 1994
+***************
+*** 0 ****
+--- 1,33 ----
++ all: iozone
++
++ iozone:
++ $(CC) $(CFLAGS) -Dbsd4_3 -DOS_TYPE="\"FreeBSD 2.x\"" -o iozone iozone.c
++
++ install:
++ -@mkdir -p ${PREFIX}/bin
++ -@mkdir -p ${PREFIX}/man/man1
++ ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} iozone ${PREFIX}/bin
++ @echo .Dd `/bin/date` > iozone.1
++ @echo .Dt IOZONE 1 >> iozone.1
++ @echo .Sh NAME >> iozone.1
++ @echo .Nm iozone >> iozone.1
++ @echo .Nd Performance Test of Sequential File I/O >> iozone.1
++ @echo .Sh SYNOPSIS >> iozone.1
++ @echo .Nm iozone >> iozone.1
++ @echo .Op Ar megabytes >> iozone.1
++ @echo .Op Ar record_length_in_bytes >> iozone.1
++ @echo .Op Ar [path]filename>> iozone.1
++ @echo .Nm iozone >> iozone.1
++ @echo .Ar auto[=filename] >> iozone.1
++ @echo .Nm iozone >> iozone.1
++ @echo .Ar raw[=filename] >> iozone.1
++ @echo .Nm iozone >> iozone.1
++ @echo .Ar cdrom[=filename] >> iozone.1
++ @echo .Nm iozone >> iozone.1
++ @echo .Ar help >> iozone.1
++ @echo .Sh DESCRIPTION >> iozone.1
++ ./iozone help|awk '{if (/Copyright/) x++} {if (/For V1.06/) exit;}\
++ {if (x) print $0}' >>iozone.1
++ @echo .Sh AUTHOR >> iozone.1
++ @echo Bill Norcott >> iozone.1
++ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 iozone.1 ${PREFIX}/man/man1 \ No newline at end of file