summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-05-07 23:27:03 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-05-07 23:28:11 +0200
commit22b6e0b9f216ccf9644769c0f9e9af92bf4457b2 (patch)
tree19b41c1033bc5d3be0d2a4adc69f7dfe0543f063 /app-benchmarks/stress-ng
parentmedia-video/obs-studio: add/update USE-flags and metadata (diff)
downloadgentoo-22b6e0b9f216ccf9644769c0f9e9af92bf4457b2.tar.gz
gentoo-22b6e0b9f216ccf9644769c0f9e9af92bf4457b2.tar.bz2
gentoo-22b6e0b9f216ccf9644769c0f9e9af92bf4457b2.zip
app-benchmarks/stress-ng: bump to version 0.12.08
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-benchmarks/stress-ng')
-rw-r--r--app-benchmarks/stress-ng/Manifest1
-rw-r--r--app-benchmarks/stress-ng/stress-ng-0.12.08.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest
index 155cd215754c..d48d7d7a2e0c 100644
--- a/app-benchmarks/stress-ng/Manifest
+++ b/app-benchmarks/stress-ng/Manifest
@@ -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
diff --git a/app-benchmarks/stress-ng/stress-ng-0.12.08.ebuild b/app-benchmarks/stress-ng/stress-ng-0.12.08.ebuild
new file mode 100644
index 000000000000..a29434661e67
--- /dev/null
+++ b/app-benchmarks/stress-ng/stress-ng-0.12.08.ebuild
@@ -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
+}