From f501291239dde4646ec2d63e85428ea46eda17fd Mon Sep 17 00:00:00 2001 From: Seth Chandler Date: Tue, 11 Feb 2003 18:57:16 +0000 Subject: added bonnie to portage --- app-benchmarks/bonnie/ChangeLog | 9 +++++++ app-benchmarks/bonnie/bonnie-2.0.6.ebuild | 33 +++++++++++++++++++++++++ app-benchmarks/bonnie/files/Makefile.patch | 8 ++++++ app-benchmarks/bonnie/files/bonnie_man.patch | 16 ++++++++++++ app-benchmarks/bonnie/files/digest-bonnie-2.0.6 | 1 + 5 files changed, 67 insertions(+) create mode 100644 app-benchmarks/bonnie/ChangeLog create mode 100644 app-benchmarks/bonnie/bonnie-2.0.6.ebuild create mode 100644 app-benchmarks/bonnie/files/Makefile.patch create mode 100644 app-benchmarks/bonnie/files/bonnie_man.patch create mode 100644 app-benchmarks/bonnie/files/digest-bonnie-2.0.6 (limited to 'app-benchmarks') 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 : bonnie-2.0.6.ebuild + Initial import of bonnie. thanks to Thomas T. Veldhouse + 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 -- cgit v1.2.3-65-gdbad