Skip to content

Commit

Permalink
app-benchmarks/bonnie++: Bump to 1.97.2
Browse files Browse the repository at this point in the history
Fixes gcc 6 compile failures.

Package-Manager: portage-2.2.28
  • Loading branch information
MJDSys authored and gktrk committed Oct 18, 2016
1 parent 5a041e0 commit b161b85
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-benchmarks/bonnie++/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DIST bonnie++-1.96.tgz 105183 SHA256 9c9d87bf09ac5a42a915ceeb9d8bb8358c0ca4642d86b85ed48ca5f15ee3456c SHA512 d389545be68eb236382ac1cc361d171e28b6204c9ea2427a6d4743086fb16a3a1ee78acc35fd0706237d8d90dd8403872ed743583496b1e2512fa57242ff0bb8 WHIRLPOOL 57b04f3cac809bd66e32c895c857bfce969ae16a207eecef743b5c522b6d7496bf518d352a673011fba3e9073f541a274cbc9a4ae5ddd88b37cb386ea2b2e5d4
DIST bonnie++-1.97.2.tgz 102533 SHA256 3f34a4c52ae9b2c3d493af8f794ba18cbf6732e9b76c3a4fa64549d95d914ce3 SHA512 e8303720be9a4ebcc454dbc8906a6843d63909c5101d66524a126ce0db3db7113d01edb7ed2f292bf9d08a6799579c4960f0ee4595019fbacda1601eba52a170 WHIRLPOOL 1f66eef8a583ce9cb851a6c301019ba76d104bf3a6322d504cd7c8d1eb073c48235efcff6fec2b2f49207aa696db1071c55c94a3943a01917b2a7aa7349b0b73
DIST bonnie++-1.97.tgz 102604 SHA256 44f5a05937648a6526ba99354555d7d15f2dd392e55d3436f6746da6f6c35982 SHA512 985fd4d0ef643fda5363e61609a5d73206ecfdd1c27470cc7babeaf9b7d87136c6bf40f62366d3f3ea58c50a307fa62aea59dc5efa69854fff9c43d1c940d3ab WHIRLPOOL 23af9926691868a208fd69f7ec401fa0c2332835ccc63e4b0143497faabb02f21ddd56a41014b532287f4418e0ac92c712aff2bc0657ad2512961fa5aa3567b9
39 changes: 39 additions & 0 deletions app-benchmarks/bonnie++/bonnie++-1.97.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="6"

DESCRIPTION="Hard drive bottleneck testing benchmark suite"
HOMEPAGE="http://www.coker.com.au/bonnie++/"
SRC_URI="http://www.coker.com.au/bonnie++/experimental/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="debug"

S="${WORKDIR}/${P}"

PATCHES=(
"${FILESDIR}/${PN}-1.96-compile-flags.patch" #426788
"${FILESDIR}"/${PN}-1.97-zcav-array-indexing-fix.patch #309319
)

DOCS=( README.txt README-2.00 debian/changelog credits.txt )
HTML_DOCS=( readme.html )

src_configure() {
econf \
$(usex debug "--enable-debug" "") \
--disable-stripping
}

src_install() {
dobin bonnie++ zcav bon_csv2html bon_csv2txt
sed -i -e \
"s:/usr/share/doc/bonnie++:${EPREFIX}/usr/share/doc/${PF}/html:g" \
bonnie++.8 || die #431684
doman bon_csv2html.1 bon_csv2txt.1 bonnie++.8 zcav.8
einstalldocs
}

0 comments on commit b161b85

Please sign in to comment.