Skip to content

Commit

Permalink
app-benchmarks/stress-ng: bump to version 0.12.08
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <[email protected]>
  • Loading branch information
ConiKost committed May 7, 2021
1 parent 390aa6a commit 22b6e0b
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-benchmarks/stress-ng/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST stress-ng-0.12.07.tar.xz 536376 BLAKE2B 669f97ad6534d5541e67b6252ac2df0e7ed13e51ba50e71ae73840f5cd2fba59f050a4b1344e98ab0b8263f548aed32b6d1c1829de916093d8ab354e29033e14 SHA512 64b6f583a8564e92abb5e45cbe0ed2d5222d518192057fe9bde5bc11aaa322ade35c5c7190ea4ecc3f7cb51820c92815c248b856856a56609a3834e10da90592
DIST stress-ng-0.12.08.tar.xz 538832 BLAKE2B 67db0a377f256f346e1a131ae31271f9cd8be5186bf370504f943f168d873fd0c16579edd527de848e55e493917e36b1ac5211ce570eb73fdf078897b2698375 SHA512 992977c4d5dadae0a77e24ba4103ecf293cc7a56d0b254b235fbd9920968eb591bfa98b44c0002cf18103c0da4c677d577526538844fd67a47e7a721ac0aa596
48 changes: 48 additions & 0 deletions app-benchmarks/stress-ng/stress-ng-0.12.08.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit optfeature toolchain-funcs

DESCRIPTION="Stress test for a computer system with various selectable ways"
HOMEPAGE="https://kernel.ubuntu.com/~cking/stress-ng/"
SRC_URI="https://kernel.ubuntu.com/~cking/tarballs/${PN}/${P}.tar.xz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"

DEPEND="
dev-libs/libaio
dev-libs/libbsd
dev-libs/libgcrypt:0=
sys-apps/attr
sys-apps/keyutils:=
sys-libs/libcap
sys-libs/zlib
"

RDEPEND="${DEPEND}"

DOCS=( "README" "README.Android" "TODO" "syscalls.txt" )

src_prepare() {
default

# Don't reset build jobs to '-j0'
sed -e '/-f Makefile.config/s/-j//' -i Makefile || die
}

src_compile() {
export MAN_COMPRESS=0
export VERBOSE=1
tc-export CC

default
}

pkg_postinst() {
optfeature "AppArmor support" sys-libs/libapparmor
optfeature "SCTP support" net-misc/lksctp-tools
}

0 comments on commit 22b6e0b

Please sign in to comment.