aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/lmbench
diff options
context:
space:
mode:
authorGreg Larkin <glarkin@FreeBSD.org>2009-06-25 18:17:04 +0000
committerGreg Larkin <glarkin@FreeBSD.org>2009-06-25 18:17:04 +0000
commit1148bd5be202dcd1dfb62ae8d47379be1fbe0b27 (patch)
tree53d8753cb9bec84b5b22dc7b1eac57361922266a /benchmarks/lmbench
parent69a4bf18e34f80b4cbaab58aa8c525a925b73aaf (diff)
downloadports-1148bd5be202dcd1dfb62ae8d47379be1fbe0b27.tar.gz
ports-1148bd5be202dcd1dfb62ae8d47379be1fbe0b27.zip
- Updated to 3.0.a9
- Added patch files to correct small errors - Submitter has been as assigned as new maintainer PR: ports/129972 Submitted by: Sachidananda Urs <sacchi at gmail dot com>
Notes
Notes: svn path=/head/; revision=236623
Diffstat (limited to 'benchmarks/lmbench')
-rw-r--r--benchmarks/lmbench/Makefile10
-rw-r--r--benchmarks/lmbench/distinfo6
-rw-r--r--benchmarks/lmbench/files/Makefile4
-rw-r--r--benchmarks/lmbench/files/patch-scripts__config-run11
-rw-r--r--benchmarks/lmbench/files/patch-scripts__getpercent11
-rw-r--r--benchmarks/lmbench/pkg-descr11
6 files changed, 41 insertions, 12 deletions
diff --git a/benchmarks/lmbench/Makefile b/benchmarks/lmbench/Makefile
index 21e9124f0f0e..045456841584 100644
--- a/benchmarks/lmbench/Makefile
+++ b/benchmarks/lmbench/Makefile
@@ -6,12 +6,14 @@
#
PORTNAME= lmbench
-PORTVERSION= 3a4
+PORTVERSION= 3.0.a9
+PORTEPOCH= 1
CATEGORIES= benchmarks
-MASTER_SITES= http://www.bitmover.com/lmbench/
-DISTNAME= ${PORTNAME}${PORTVERSION:S/a4//}
+MASTER_SITES= SF http://thegaul.org/src/
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.a9/-a9/}
+EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sacchi@gmail.com
COMMENT= A system performance measurement tool
ALL_TARGET= build
diff --git a/benchmarks/lmbench/distinfo b/benchmarks/lmbench/distinfo
index b5581203f424..d3ddb8757dfc 100644
--- a/benchmarks/lmbench/distinfo
+++ b/benchmarks/lmbench/distinfo
@@ -1,3 +1,3 @@
-MD5 (lmbench3.tar.gz) = 79f1861dfdd0110c6dd9d24d1d5473e7
-SHA256 (lmbench3.tar.gz) = 5265013bfde00d74866e80ebc17ce5f6ef9f30cb724191c12e5387003a268003
-SIZE (lmbench3.tar.gz) = 411874
+MD5 (lmbench-3.0-a9.tgz) = b3351a3294db66a72e2864a199d37cbf
+SHA256 (lmbench-3.0-a9.tgz) = cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551
+SIZE (lmbench-3.0-a9.tgz) = 417941
diff --git a/benchmarks/lmbench/files/Makefile b/benchmarks/lmbench/files/Makefile
index c53ebb466bc8..a41089a4c098 100644
--- a/benchmarks/lmbench/files/Makefile
+++ b/benchmarks/lmbench/files/Makefile
@@ -4,6 +4,8 @@
OS != scripts/os
BINDIR = bin/${OS}
+.PHONY: results rerun see
+
results:
@(cd scripts; ./config-run ../${BINDIR}/CONFIG)
@(cd scripts; ./results)
@@ -15,4 +17,4 @@ rerun:
@(cd scripts; ./results)
see:
- cd Results && make summary percent | more
+ cd results && make summary percent | more
diff --git a/benchmarks/lmbench/files/patch-scripts__config-run b/benchmarks/lmbench/files/patch-scripts__config-run
new file mode 100644
index 000000000000..ddf3dc887faf
--- /dev/null
+++ b/benchmarks/lmbench/files/patch-scripts__config-run
@@ -0,0 +1,11 @@
+--- ./scripts/config-run.orig 2009-06-25 12:16:57.000000000 -0400
++++ ./scripts/config-run 2009-06-25 12:17:08.000000000 -0400
+@@ -176,7 +176,7 @@
+ fi
+ fi
+ if [ X$MB = X ]
+-then $ECHON "Probing system for available memory: $ECHOC"
++then echo $ECHON "Probing system for available memory: $ECHOC"
+ MB=`../bin/$OS/memsize 4096`
+ fi
+ TOTAL_MEM=$MB
diff --git a/benchmarks/lmbench/files/patch-scripts__getpercent b/benchmarks/lmbench/files/patch-scripts__getpercent
new file mode 100644
index 000000000000..9f0d9fa228e4
--- /dev/null
+++ b/benchmarks/lmbench/files/patch-scripts__getpercent
@@ -0,0 +1,11 @@
+--- ./scripts/getpercent.orig 2009-06-25 13:59:43.000000000 -0400
++++ ./scripts/getpercent 2009-06-25 14:04:59.000000000 -0400
+@@ -5,7 +5,7 @@
+ # Hacked into existence by Larry McVoy (lm@sun.com now lm@sgi.com).
+ # Copyright (c) 1994 Larry McVoy. GPLed software.
+ # $Id$
+-eval 'exec perl -Ssw $0 "$@"'
++eval 'exec perl -Ss $0 "$@"'
+ if 0;
+
+ $n = 0; # apparently, hpux doesn't init to 0????
diff --git a/benchmarks/lmbench/pkg-descr b/benchmarks/lmbench/pkg-descr
index d23da075f8b3..49a267df7759 100644
--- a/benchmarks/lmbench/pkg-descr
+++ b/benchmarks/lmbench/pkg-descr
@@ -1,12 +1,15 @@
-This is lmbench-1.0, a (sometimes controversial) system performance
-measurement tool. You can go to /usr/local/lib/lmbench and do one
-of the followings:
+This is lmbench-3.0-a9, a (sometimes controversial) system performance
+measurement tool. lmbench is a suite of simple, portable, ANSI/C
+microbenchmarks for UNIX/POSIX. In general, it measures two key features:
+latency and bandwidth. lmbench is intended to give system developers insight
+into basic costs of key operations. You can go to /usr/local/lib/lmbench and
+do one of the following:
make results (to run the benchmarks)
make rerun (to rerun the benchmarks)
make see (to see how you did)
-WWW: http://www.bitmover.com/lmbench/lmbench.html
+WWW: http://sourceforge.net/projects/lmbench/
- Satoshi
asami@cs.berkeley.edu