summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-12-27 14:44:00 +0100
committerConrad Kostecki <conikost@gentoo.org>2020-12-27 14:45:19 +0100
commit7440ed7ef0070ebd49732671f5975c90741c48f3 (patch)
tree0becbb82a51d2324c0b138bc9ac241b2d3dfd386 /app-benchmarks
parentapp-editors/vim-core: drop ppc-aix m68k-mint (diff)
downloadgentoo-7440ed7ef0070ebd49732671f5975c90741c48f3.tar.gz
gentoo-7440ed7ef0070ebd49732671f5975c90741c48f3.tar.bz2
gentoo-7440ed7ef0070ebd49732671f5975c90741c48f3.zip
app-benchmarks/stress-ng: bump to version 0.12.01
Package-Manager: Portage-3.0.12, 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.01.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest
index 7a4470f55e6f..bfa532258a10 100644
--- a/app-benchmarks/stress-ng/Manifest
+++ b/app-benchmarks/stress-ng/Manifest
@@ -1 +1,2 @@
DIST stress-ng-0.12.00.tar.xz 511856 BLAKE2B 227ce207677521ccb47dd7c57f9cf093b9b973bda8071872899abd881446a8e09a3e5b23a2f2e040bc3a443100ae31e4b7f7c389b2eb42ee8630a1bf616ba8bc SHA512 0dfc65b0d61b58367df77cb1c7ffbfa3fbf48bb585cf3433ac244b8a510a27267daa8c14a8ad6b2bf26381e8f7006a5e5c4049abd5fce771b3fd9faeed56716e
+DIST stress-ng-0.12.01.tar.xz 514028 BLAKE2B c90a07291b8ceae44619d5a8853a01c571a1b8b9bd87f0d53be76385a97c93731d89ce4122fdc1a31f36c7e7729f7c59ece2bbb6424144c57b5f74231437d979 SHA512 c5e19b8f4f0f7fe3dd81b4de3ffcbb4c50ba352665b2409fcbf179e2d749130477ca5cd5d9d71370740f735376b2c97407d19d69163a258c03daf885f00d90e9
diff --git a/app-benchmarks/stress-ng/stress-ng-0.12.01.ebuild b/app-benchmarks/stress-ng/stress-ng-0.12.01.ebuild
new file mode 100644
index 000000000000..a01d58d2dda5
--- /dev/null
+++ b/app-benchmarks/stress-ng/stress-ng-0.12.01.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 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
+}