summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-02-26 20:37:58 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-02-26 20:37:58 +0100
commitd09d6f25cee7516c46b765ed7e01a4b35182edd2 (patch)
tree8596f7ffa048c82c9a0303589375f1207e931abf /app-benchmarks
parentgui-libs/display-manager-init: drop old versions (diff)
downloadgentoo-d09d6f25cee7516c46b765ed7e01a4b35182edd2.tar.gz
gentoo-d09d6f25cee7516c46b765ed7e01a4b35182edd2.tar.bz2
gentoo-d09d6f25cee7516c46b765ed7e01a4b35182edd2.zip
app-benchmarks/stress-ng: bump to version 0.12.04
Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/stress-ng/Manifest1
-rw-r--r--app-benchmarks/stress-ng/stress-ng-0.12.04.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest
index 39ed89124c2e..9abf3e2c6077 100644
--- a/app-benchmarks/stress-ng/Manifest
+++ b/app-benchmarks/stress-ng/Manifest
@@ -1 +1,2 @@
DIST stress-ng-0.12.03.tar.xz 525156 BLAKE2B 76b56f01670e553acef9caef3c9aea5fb2a0594d9a26694de9aff8d3243494269c82af6d0259cb759dc4763f3faae28f1f06ce797ec07c08a2b8a9516caf7365 SHA512 372de29089645fe80d4b9c17779b7dd0f724d910c898cb181791476e64906cf7713b0cc78d33bb9d4485b02928122590d76f3af731e24923f6b26ce65f862114
+DIST stress-ng-0.12.04.tar.xz 527336 BLAKE2B dcf9dcfd58569c90882a44ea8f34df38f87f2fe7d346f404eec28f9a8d8b5e07cf405df5e8d6870dca26ebf6683b8ad8da75036c7c13840bc8bc48123c63d54c SHA512 0fdd92d8b9374f5e296cd8851d2172df2dacfd2c99ab80914ef1bdebebbc66cb88e1792d819734203ec9d4f657765f1cab0e46e12cc3c8753559027b98be884f
diff --git a/app-benchmarks/stress-ng/stress-ng-0.12.04.ebuild b/app-benchmarks/stress-ng/stress-ng-0.12.04.ebuild
new file mode 100644
index 000000000000..01aaca45b7b8
--- /dev/null
+++ b/app-benchmarks/stress-ng/stress-ng-0.12.04.ebuild
@@ -0,0 +1,41 @@
+# 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" )
+
+PATCHES=( "${FILESDIR}/${PN}-0.11.23-makefile.patch" )
+
+src_compile() {
+ tc-export CC
+
+ default
+}
+
+pkg_postinst() {
+ optfeature "AppArmor support" sys-libs/libapparmor
+ optfeature "SCTP support" net-misc/lksctp-tools
+}