Gentoo Archives: gentoo-commits

From: Amy Liffey <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/bonnie/files/, app-benchmarks/bonnie/
Date: Tue, 08 Aug 2017 09:09:15
Message-Id: 1502183320.a441b9ac50933b6a4f736995092d53a8c268b707.amynka@gentoo
1 commit: a441b9ac50933b6a4f736995092d53a8c268b707
2 Author: Amy Liffey <amynka <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 8 09:08:40 2017 +0000
4 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 8 09:08:40 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a441b9ac
7
8 app-benchmarks/bonnie: EAPI 6 bump
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild | 31 ++++++++++++++++++++++++++++
13 app-benchmarks/bonnie/files/bonnie_man.patch | 4 ++--
14 2 files changed, 33 insertions(+), 2 deletions(-)
15
16 diff --git a/app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild b/app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild
17 new file mode 100644
18 index 00000000000..c9fdf5a2ddb
19 --- /dev/null
20 +++ b/app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild
21 @@ -0,0 +1,31 @@
22 +# Copyright 1999-2017 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=6
26 +
27 +inherit eutils toolchain-funcs
28 +
29 +DESCRIPTION="Performance Test of Filesystem I/O using standard C library calls"
30 +HOMEPAGE="http://www.textuality.com/bonnie/"
31 +SRC_URI="http://www.textuality.com/bonnie/bonnie.tar.gz"
32 +
33 +LICENSE="bonnie"
34 +SLOT="0"
35 +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
36 +IUSE=""
37 +
38 +S=${WORKDIR}
39 +
40 +PATCHES=( "${FILESDIR}/bonnie_man.patch"
41 + "${FILESDIR}/Makefile.patch"
42 + "${FILESDIR}/${P}-includes.patch" )
43 +
44 +src_compile() {
45 + emake CC=$(tc-getCC) SYSFLAGS="${CFLAGS}"
46 +}
47 +
48 +src_install() {
49 + newbin Bonnie bonnie
50 + doman bonnie.1
51 + dodoc Instructions
52 +}
53
54 diff --git a/app-benchmarks/bonnie/files/bonnie_man.patch b/app-benchmarks/bonnie/files/bonnie_man.patch
55 index 63dac33159a..e4b2fe0a12e 100644
56 --- a/app-benchmarks/bonnie/files/bonnie_man.patch
57 +++ b/app-benchmarks/bonnie/files/bonnie_man.patch
58 @@ -1,5 +1,5 @@
59 ---- bonnie.1.orig 2003-01-07 14:19:29.000000000 -0600
60 -+++ bonnie.1 2003-01-07 14:20:19.000000000 -0600
61 +--- a/bonnie.1 2003-01-07 14:19:29.000000000 -0600
62 ++++ b/bonnie.1 2003-01-07 14:20:19.000000000 -0600
63 @@ -60,11 +60,11 @@
64 .fi
65 .in