aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/iozone21
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-12-28 05:46:33 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-12-28 05:46:33 +0000
commit54f7c443fdab9d4ef7b6f35ae22adbd9e9712fb5 (patch)
treed623565fcb6ab6344f67c97f914ff225bbcddb77 /benchmarks/iozone21
parent46b4022eb15c2eb0179e6cb56d9758d46ff2eaf6 (diff)
downloadports-54f7c443fdab9d4ef7b6f35ae22adbd9e9712fb5.tar.gz
ports-54f7c443fdab9d4ef7b6f35ae22adbd9e9712fb5.zip
Notes
Diffstat (limited to 'benchmarks/iozone21')
-rw-r--r--benchmarks/iozone21/Makefile12
-rw-r--r--benchmarks/iozone21/files/patch-aa50
-rw-r--r--benchmarks/iozone21/pkg-comment2
3 files changed, 36 insertions, 28 deletions
diff --git a/benchmarks/iozone21/Makefile b/benchmarks/iozone21/Makefile
index 5c48deb54ec9..6ff203949891 100644
--- a/benchmarks/iozone21/Makefile
+++ b/benchmarks/iozone21/Makefile
@@ -1,7 +1,11 @@
-DISTNAME= iozone-1.16
-MASTER_SITES= ftp://liasun3.epfl.ch/pub/util/
+DISTFILES= iozone-2.01.shar.gz
+DISTNAME= iozone
+MASTER_SITES= ftp://ftp.cs.uni-sb.de/pub/others/
+EXTRACT_CMD= cd ${WRKDIR}; (gzcat | /usr/local/bin/gunshar)
+EXTRACT_ARGS= <
+NO_WRKSUBDIR= YES
+DEPENDS= ${PORTSDIR}/utils/gshar+gunshar
-MAKE_FLAGS= PREFIX=${PREFIX}
-MAKEFILE=
+pre-extract: depends
.include <bsd.port.mk>
diff --git a/benchmarks/iozone21/files/patch-aa b/benchmarks/iozone21/files/patch-aa
index c4d683d34ff0..07a2da65ec0e 100644
--- a/benchmarks/iozone21/files/patch-aa
+++ b/benchmarks/iozone21/files/patch-aa
@@ -2,33 +2,37 @@
--- Makefile Wed Oct 5 16:03:22 1994
***************
*** 0 ****
---- 1,29 ----
+--- 1,33 ----
+ all: iozone
+
+ iozone:
-+ cc -O -o iozone iozone.c
++ $(CC) $(CFLAGS) -Dbsd4_3 -DOS_TYPE="\"FreeBSD 2.x\"" -o iozone iozone.c
+
+ install:
-+ mkdir -p ${PREFIX}/bin
-+ mkdir -p ${PREFIX}/man/man1
-+ install -c -o bin -m 755 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 help >> iozone.1
-+ echo .Nm iozone >> iozone.1
-+ echo .Ar auto >> iozone.1
-+ echo .Sh DESCRIPTION >> iozone.1
++ -@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 -m 644 iozone.1 ${PREFIX}/man/man1
++ @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
diff --git a/benchmarks/iozone21/pkg-comment b/benchmarks/iozone21/pkg-comment
index 0c42ffcb0827..4520d3f89d76 100644
--- a/benchmarks/iozone21/pkg-comment
+++ b/benchmarks/iozone21/pkg-comment
@@ -1 +1 @@
-IOZONE: Performance Test of Sequential File I/O -- V1.16 (10/28/92)
+IOZONE: Performance Test of Sequential File I/O -- V2.01