From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-benchmarks/bonnie/Manifest | 6 ++++ app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild | 33 ++++++++++++++++++++++ app-benchmarks/bonnie/files/Makefile.patch | 16 +++++++++++ .../bonnie/files/bonnie-2.0.6-includes.patch | 13 +++++++++ app-benchmarks/bonnie/files/bonnie_man.patch | 16 +++++++++++ app-benchmarks/bonnie/metadata.xml | 5 ++++ 6 files changed, 89 insertions(+) create mode 100644 app-benchmarks/bonnie/Manifest create mode 100644 app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild create mode 100644 app-benchmarks/bonnie/files/Makefile.patch create mode 100644 app-benchmarks/bonnie/files/bonnie-2.0.6-includes.patch create mode 100644 app-benchmarks/bonnie/files/bonnie_man.patch create mode 100644 app-benchmarks/bonnie/metadata.xml (limited to 'app-benchmarks/bonnie') diff --git a/app-benchmarks/bonnie/Manifest b/app-benchmarks/bonnie/Manifest new file mode 100644 index 000000000000..3df213261711 --- /dev/null +++ b/app-benchmarks/bonnie/Manifest @@ -0,0 +1,6 @@ +AUX Makefile.patch 348 BLAKE2B 016aba350938f561865925b5ac5aea0502b5db4a9799ecf72de26a51d1c522f37a7ddcd44a6d69d50f16bd179b185103514dabb10eb74e4dadc46ffe485af107 SHA512 e795a7f4179aee9a86d546845cb16c03770a93013c83186c46a9a759edff909c4d85a40ec2091d068496c289cb5bb015026796b060e6bdec44d72fa8e13c2518 +AUX bonnie-2.0.6-includes.patch 336 BLAKE2B 438e8bbd08e98e30c74981b31c5896ab17efcea190394a260c0913a5d8e4289321d4550fa9d40072c8686629497ea1c09db50508251ec044e82489c270047674 SHA512 ed5cadebfabf1efb7e0b5289cfb67627262d83f4f9650d020755b1c47f19601b845193892c502d9947316d639b6423d52a862224f1943dcae182a151e0c72a39 +AUX bonnie_man.patch 349 BLAKE2B 9251f607a2875912d9c27228f0e3889f44a4ac013616450f8ba7cc8424065a8220560a846841f199227e65c18e770bf3ef294c391bea2c96b9bc9fac2cc50998 SHA512 38d88dcba9ef17e2de843a6123a063203c8fa1c1b654109fba3c7bee54275e6fa0ebe1f3ce8986b07891fc5cbfca4b310f71d4bc4e564a20ec199ecafb58de64 +DIST bonnie.tar.gz 7140 BLAKE2B dc0a216e1926de7630fbabdd80d2d1293fc9da404c3179f5515a9756942aec7c6870220e869d1d6c299dc39c2175b6c99b54778237a9af2778b7718aaf4280f3 SHA512 4cb431986870baf1d9e5f757970a4b489f89d4349f051cc2ae0aea035ce19a7962047920a3af1567e375b2c6f1e826309b044b8a8727400601203042a34ecb5f +EBUILD bonnie-2.0.6-r2.ebuild 648 BLAKE2B b38c96a6e08db06992a97e34485e9dbfb13d3622113ad1c8efe63660e6dfceaa2e366d7728f1c0aa2c3c8be61385476c4a939f5fd9d2aaec26e37628e6309f4a SHA512 bd6eb2a48f1e4af1183c331653765d6ee9bb6c93e6dd2c769c6b0d010bba55f56a0079412dafdb225a0ddb16942a5b7c864b55edaa13b1912d25ddb85e4fca40 +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild b/app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild new file mode 100644 index 000000000000..e67da1923998 --- /dev/null +++ b/app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +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="alpha amd64 ia64 ~mips ppc ppc64 sparc x86" +IUSE="" + +S=${WORKDIR} + +PATCHES=( + "${FILESDIR}"/bonnie_man.patch + "${FILESDIR}"/Makefile.patch + "${FILESDIR}"/${P}-includes.patch +) + +src_configure() { + tc-export CC +} + +src_install() { + newbin Bonnie bonnie + doman bonnie.1 + dodoc Instructions +} diff --git a/app-benchmarks/bonnie/files/Makefile.patch b/app-benchmarks/bonnie/files/Makefile.patch new file mode 100644 index 000000000000..d803bd077ced --- /dev/null +++ b/app-benchmarks/bonnie/files/Makefile.patch @@ -0,0 +1,16 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,11 +1,9 @@ +-CFLAGS = -O $(SYSFLAGS) +- + bsd: + @echo 'Options are "make bsd" and "make SysV" - the default is "bsd".' + @echo 'If you get messages about missing functions, try "make SysV."' +- make Bonnie ++ $(MAKE) Bonnie + + SysV: +- make Bonnie 'SYSFLAGS=-DSysV' ++ $(MAKE) Bonnie 'SYSFLAGS=-DSysV' + + Bonnie: diff --git a/app-benchmarks/bonnie/files/bonnie-2.0.6-includes.patch b/app-benchmarks/bonnie/files/bonnie-2.0.6-includes.patch new file mode 100644 index 000000000000..cfefe953c6f1 --- /dev/null +++ b/app-benchmarks/bonnie/files/bonnie-2.0.6-includes.patch @@ -0,0 +1,13 @@ +--- a/Bonnie.c 1996-08-28 18:23:49.000000000 +0200 ++++ b/Bonnie.c 2010-10-12 20:15:26.000000000 +0200 +@@ -29,6 +29,10 @@ + #include + #include + #include ++#include ++#include ++#include ++#include + #if defined(SysV) + #include + #include diff --git a/app-benchmarks/bonnie/files/bonnie_man.patch b/app-benchmarks/bonnie/files/bonnie_man.patch new file mode 100644 index 000000000000..e4b2fe0a12e3 --- /dev/null +++ b/app-benchmarks/bonnie/files/bonnie_man.patch @@ -0,0 +1,16 @@ +--- a/bonnie.1 2003-01-07 14:19:29.000000000 -0600 ++++ b/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/metadata.xml b/app-benchmarks/bonnie/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-benchmarks/bonnie/metadata.xml @@ -0,0 +1,5 @@ + + + + + -- cgit v1.2.3