summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-04-14 22:39:52 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-04-14 22:39:52 +0200
commit58d6a0b6235f373cf7a9e55a717f706991854504 (patch)
treeac7e632cac731a49ac42769e8843c1b809cc14c9 /app-benchmarks
parentapp-dicts/aspell-pt: drop 20190329.1.0-r1 (diff)
downloadgentoo-58d6a0b6235f373cf7a9e55a717f706991854504.tar.gz
gentoo-58d6a0b6235f373cf7a9e55a717f706991854504.tar.bz2
gentoo-58d6a0b6235f373cf7a9e55a717f706991854504.zip
app-benchmarks/stress-ng: add 0.14.00
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.14.00.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest
index b6cc9cf0b143..48c8db41624d 100644
--- a/app-benchmarks/stress-ng/Manifest
+++ b/app-benchmarks/stress-ng/Manifest
@@ -1 +1,2 @@
DIST stress-ng-0.13.12.tar.gz 1091644 BLAKE2B f693535f7bf2d00dc741574b77c52f216bd8db6bd3766c41c1d117aa8847b3ae3afa674b67749c93239c72aae19b36f1b6bdb4c526dddfb5176ae0597814ad80 SHA512 735e68da8b63b550f5764c565567c5212302eec116591cf8e4a5c203c571fcaf68cf24fefeede7d4364683a021e5232ef9a99796d465eb0aa4094800eca19474
+DIST stress-ng-0.14.00.tar.gz 1102022 BLAKE2B f682a1ff1935837761e7e2df8970c69d5c80af7a1d3d04650c1a070a31ff0f442d45dc1cd4e659919da10d81c29b36c3e00fd5d07265d9f03a6f6a163f301797 SHA512 2e26a2cd7445c4d204959d9ddc505019790cf3992ad85aa727323bb720f3bca4d3032b9e9ef987572356355f63dfbabd7863aa90da4c7e82f84426cbec005ecd
diff --git a/app-benchmarks/stress-ng/stress-ng-0.14.00.ebuild b/app-benchmarks/stress-ng/stress-ng-0.14.00.ebuild
new file mode 100644
index 000000000000..c997ff6e3d0c
--- /dev/null
+++ b/app-benchmarks/stress-ng/stress-ng-0.14.00.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-info toolchain-funcs
+
+DESCRIPTION="Stress test for a computer system with various selectable ways"
+HOMEPAGE="https://github.com/ColinIanKing/stress-ng"
+SRC_URI="https://github.com/ColinIanKing/${PN}/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="apparmor sctp"
+
+DEPEND="
+ dev-libs/libaio
+ dev-libs/libbsd
+ dev-libs/libgcrypt:0=
+ sys-apps/attr
+ sys-apps/keyutils:=
+ sys-libs/libcap
+ sys-libs/zlib
+ virtual/libcrypt:=
+ apparmor? (
+ sys-apps/apparmor-utils
+ sys-libs/libapparmor
+ )
+ sctp? ( net-misc/lksctp-tools )
+"
+
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.md" "README.Android" "TODO" "syscalls.txt" )
+
+pkg_pretend() {
+ if use apparmor; then
+ CONFIG_CHECK="SECURITY_APPARMOR"
+ check_extra_config
+ fi
+}
+
+src_compile() {
+ tc-export CC
+
+ export MAN_COMPRESS="0"
+
+ local myemakeopts=(
+ HAVE_APPARMOR="$(usex apparmor 1 0)"
+ HAVE_LIB_SCTP="$(usex sctp 1 0)"
+ VERBOSE="1"
+ )
+
+ emake "${myemakeopts[@]}"
+}