summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-12-04 14:57:29 +0100
committerConrad Kostecki <conikost@gentoo.org>2020-12-04 14:58:45 +0100
commit778524729dd438ba81b2019c8cbaeafdddf9610b (patch)
treeb801730c0c650224b502fbb07117efd134a22151 /app-benchmarks/stress-ng
parentgames-server/minecraft-server: drop old version (diff)
downloadgentoo-778524729dd438ba81b2019c8cbaeafdddf9610b.tar.gz
gentoo-778524729dd438ba81b2019c8cbaeafdddf9610b.tar.bz2
gentoo-778524729dd438ba81b2019c8cbaeafdddf9610b.zip
app-benchmarks/stress-ng: bump to version 0.12.00
Package-Manager: Portage-3.0.9, Repoman-3.0.2 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.00.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest
index 33b44aebbd0a..400dd3255e98 100644
--- a/app-benchmarks/stress-ng/Manifest
+++ b/app-benchmarks/stress-ng/Manifest
@@ -1 +1,2 @@
DIST stress-ng-0.11.24.tar.xz 502772 BLAKE2B 33d96dec17238c2633811702cc613774f1a203628be7718a97f93f8d281749039a5121175554593bc4fef6ff6f39d404d8333ad1d2e0e5227bd248775c81511c SHA512 2546ac1d17304e61c21b52003a93e5f7c32b746d2ed4088e1af24ed151072b7965c3a4be50058c36637ec0d2e5eccc4daace2d4113e5655f3520a7392f393f44
+DIST stress-ng-0.12.00.tar.xz 511856 BLAKE2B 227ce207677521ccb47dd7c57f9cf093b9b973bda8071872899abd881446a8e09a3e5b23a2f2e040bc3a443100ae31e4b7f7c389b2eb42ee8630a1bf616ba8bc SHA512 0dfc65b0d61b58367df77cb1c7ffbfa3fbf48bb585cf3433ac244b8a510a27267daa8c14a8ad6b2bf26381e8f7006a5e5c4049abd5fce771b3fd9faeed56716e
diff --git a/app-benchmarks/stress-ng/stress-ng-0.12.00.ebuild b/app-benchmarks/stress-ng/stress-ng-0.12.00.ebuild
new file mode 100644
index 000000000000..a01d58d2dda5
--- /dev/null
+++ b/app-benchmarks/stress-ng/stress-ng-0.12.00.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
+}