summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Chandler <sethbc@gentoo.org>2003-02-11 18:57:16 +0000
committerSeth Chandler <sethbc@gentoo.org>2003-02-11 18:57:16 +0000
commitf501291239dde4646ec2d63e85428ea46eda17fd (patch)
tree1f9a1c0f4c2558bf878ecc52a3a0cc11d2765b77 /app-benchmarks/bonnie
parentadded the bonnie license to portage (diff)
downloadhistorical-f501291239dde4646ec2d63e85428ea46eda17fd.tar.gz
historical-f501291239dde4646ec2d63e85428ea46eda17fd.tar.bz2
historical-f501291239dde4646ec2d63e85428ea46eda17fd.zip
added bonnie to portage
Diffstat (limited to 'app-benchmarks/bonnie')
-rw-r--r--app-benchmarks/bonnie/ChangeLog9
-rw-r--r--app-benchmarks/bonnie/bonnie-2.0.6.ebuild33
-rw-r--r--app-benchmarks/bonnie/files/Makefile.patch8
-rw-r--r--app-benchmarks/bonnie/files/bonnie_man.patch16
-rw-r--r--app-benchmarks/bonnie/files/digest-bonnie-2.0.61
5 files changed, 67 insertions, 0 deletions
diff --git a/app-benchmarks/bonnie/ChangeLog b/app-benchmarks/bonnie/ChangeLog
new file mode 100644
index 000000000000..5d732b35cced
--- /dev/null
+++ b/app-benchmarks/bonnie/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-benchmarks/bonnie
+# Copyright 2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bonnie/ChangeLog,v 1.1 2003/02/11 18:57:16 sethbc Exp $
+
+*bonnie-2.0.6 (07 Jan 2003)
+
+ 07 Jan 2003; Seth Chandler <sethbc@gentoo.org>: bonnie-2.0.6.ebuild
+ Initial import of bonnie. thanks to Thomas T. Veldhouse
+ <veldy@veldy.net>
diff --git a/app-benchmarks/bonnie/bonnie-2.0.6.ebuild b/app-benchmarks/bonnie/bonnie-2.0.6.ebuild
new file mode 100644
index 000000000000..94aa47f435e3
--- /dev/null
+++ b/app-benchmarks/bonnie/bonnie-2.0.6.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bonnie/bonnie-2.0.6.ebuild,v 1.1 2003/02/11 18:57:16 sethbc Exp $
+
+DESCRIPTION="Performance Test of Filesystem I/O using standard C library calls."
+HOMEPAGE="http://www.textuality.com/bonnie/"
+SRC_URI="http://www.textuality.com/bonnie/bonnie.tar.gz"
+
+LICENSE="bonnie"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE=""
+DEPEND=""
+RDEPEND=""
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A} || die
+ patch -p0 < ${FILESDIR}/bonnie_man.patch || die
+ patch -p0 < ${FILESDIR}/Makefile.patch || die
+}
+
+src_compile() {
+ make SYSFLAGS="${CFLAGS}" || die
+ mv Bonnie bonnie
+}
+
+src_install() {
+ doman bonnie.1
+ dodoc Instructions
+ dobin bonnie
+}
diff --git a/app-benchmarks/bonnie/files/Makefile.patch b/app-benchmarks/bonnie/files/Makefile.patch
new file mode 100644
index 000000000000..f66d6a100ae2
--- /dev/null
+++ b/app-benchmarks/bonnie/files/Makefile.patch
@@ -0,0 +1,8 @@
+--- Makefile.orig 2003-01-07 14:21:26.000000000 -0600
++++ Makefile 2003-01-07 14:23:23.000000000 -0600
+@@ -1,4 +1,4 @@
+-CFLAGS = -O $(SYSFLAGS)
++CFLAGS = $(SYSFLAGS)
+
+ bsd:
+ @echo 'Options are "make bsd" and "make SysV" - the default is "bsd".'
diff --git a/app-benchmarks/bonnie/files/bonnie_man.patch b/app-benchmarks/bonnie/files/bonnie_man.patch
new file mode 100644
index 000000000000..63dac33159a4
--- /dev/null
+++ b/app-benchmarks/bonnie/files/bonnie_man.patch
@@ -0,0 +1,16 @@
+--- bonnie.1.orig 2003-01-07 14:19:29.000000000 -0600
++++ bonnie.1 2003-01-07 14:20:19.000000000 -0600
+@@ -60,11 +60,11 @@
+ .fi
+ .in
+ ..
+-.TH Bonnie 1 "2.0.6" Textuality
++.TH bonnie 1 "2.0.6" Textuality
+ .SH NAME
+ Bonnie - File system benchmark
+ .SH "SYNOPSIS"
+-.B Bonnie
++.B bonnie
+ .RI "[-d\ scratch-dir]"
+ .RI "[-html]"
+ .RI "[-m\ machine-label]"
diff --git a/app-benchmarks/bonnie/files/digest-bonnie-2.0.6 b/app-benchmarks/bonnie/files/digest-bonnie-2.0.6
new file mode 100644
index 000000000000..f8c21babd31e
--- /dev/null
+++ b/app-benchmarks/bonnie/files/digest-bonnie-2.0.6
@@ -0,0 +1 @@
+MD5 f61cc061a418c3ae308ae362a1ae6490 bonnie.tar.gz 7140