summaryrefslogtreecommitdiff
path: root/benchmarks/randread
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-06-25 05:13:27 +0000
committergrant <grant@pkgsrc.org>2002-06-25 05:13:27 +0000
commit04b02ce6d9a81202e6ce39712a7069a506ae705a (patch)
tree183ebf6d6ec0b44b7896f243f30dfca129501fc8 /benchmarks/randread
parent89c768d6d66f027939618c13a98a3574b8a785e4 (diff)
downloadpkgsrc-04b02ce6d9a81202e6ce39712a7069a506ae705a.tar.gz
Initial import of readrand-0.1 (moved from sysutils).
Randread is a simple program to help benchmark random disk read performance. See http://randread.sourceforge.net/ for information.
Diffstat (limited to 'benchmarks/randread')
-rw-r--r--benchmarks/randread/DESCR2
-rw-r--r--benchmarks/randread/Makefile19
-rw-r--r--benchmarks/randread/PLIST2
-rw-r--r--benchmarks/randread/distinfo5
-rw-r--r--benchmarks/randread/patches/patch-aa12
5 files changed, 40 insertions, 0 deletions
diff --git a/benchmarks/randread/DESCR b/benchmarks/randread/DESCR
new file mode 100644
index 00000000000..ebf16c6679d
--- /dev/null
+++ b/benchmarks/randread/DESCR
@@ -0,0 +1,2 @@
+Randread is a simple program to help benchmark random disk read
+performance.
diff --git a/benchmarks/randread/Makefile b/benchmarks/randread/Makefile
new file mode 100644
index 00000000000..6ebd74d0742
--- /dev/null
+++ b/benchmarks/randread/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/06/25 05:13:27 grant Exp $
+#
+
+DISTNAME= randread-0.1
+CATEGORIES= benchmarks
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=randread/}
+
+MAINTAINER= grant@netbsd.org
+HOMEPAGE= http://randread.sourceforge.net/
+COMMENT= program to help benchmark random disk read performance
+
+WRKSRC= ${WRKDIR}
+
+ALL_TARGET= randread
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/randread ${PREFIX}/sbin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/randread/PLIST b/benchmarks/randread/PLIST
new file mode 100644
index 00000000000..bf7289fbac9
--- /dev/null
+++ b/benchmarks/randread/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/25 05:13:27 grant Exp $
+sbin/randread
diff --git a/benchmarks/randread/distinfo b/benchmarks/randread/distinfo
new file mode 100644
index 00000000000..05ee8507f12
--- /dev/null
+++ b/benchmarks/randread/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/06/25 05:13:27 grant Exp $
+
+SHA1 (randread-0.1.tar.gz) = fefdf7ebeda6767a85215898e67606745f57d149
+Size (randread-0.1.tar.gz) = 3490 bytes
+SHA1 (patch-aa) = 9d29d08e0830320c3e9964b80c008f2b1b95711c
diff --git a/benchmarks/randread/patches/patch-aa b/benchmarks/randread/patches/patch-aa
new file mode 100644
index 00000000000..8b992994e1f
--- /dev/null
+++ b/benchmarks/randread/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/06/25 05:13:28 grant Exp $
+
+--- Makefile.orig Fri Jun 21 17:12:37 2002
++++ Makefile Wed Jun 26 01:00:37 2002
+@@ -1,6 +1,6 @@
+
+ randread: randread.c
+- cc -g -Wall -o randread randread.c
++ ${CC} ${CFLAGS} -Wall -o randread randread.c
+
+ tarfile: clean
+ tar cf - . | gzip -9 > ../randread.tar.gz