summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-03-12 19:37:45 +0100
committerConrad Kostecki <conikost@gentoo.org>2023-03-12 19:59:55 +0100
commite9d9d6abc8ce04fe014bf9cb833f0862394d6e2e (patch)
treedf8534d5e856c8c307f02100fe930caed2ca6d75 /app-benchmarks
parentmedia-video/ffmpeg: add 6.0 (diff)
downloadgentoo-e9d9d6abc8ce04fe014bf9cb833f0862394d6e2e.tar.gz
gentoo-e9d9d6abc8ce04fe014bf9cb833f0862394d6e2e.tar.bz2
gentoo-e9d9d6abc8ce04fe014bf9cb833f0862394d6e2e.zip
app-benchmarks/stress-ng: add 0.15.05
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.15.05.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest
index e69b5df70cca..017b3d68fd85 100644
--- a/app-benchmarks/stress-ng/Manifest
+++ b/app-benchmarks/stress-ng/Manifest
@@ -1,2 +1,3 @@
DIST stress-ng-0.15.03.tar.gz 3782622 BLAKE2B e980ba366e3729e6bf5ed7c13383ffd1a237a6fa01bc33037f7ad28a5e84b57cf2d75cba83143c99c8c2294e49498b0d9db9ecc83e5047d68130d593001a33f2 SHA512 67d8fc47bc8c31e4b01c7ddffe2797889380317e57b1cafec34314b78425fd371a016fd1519278ddb9f04f0c6f9f4783cde98eaadb39fbd62fd1ffa1ce0166f2
DIST stress-ng-0.15.04.tar.gz 3797315 BLAKE2B 32e1aa2e2d9ab42e9b5c3829c4cc313688158089d0caccc275df4dcd3160830313acae8cd4ba9a3e513627714124669f7181566485373ac77b86591ae1bcb729 SHA512 8b757b7983cda4101016699bdf2181cf3fcdefc3d0439ea0e965e660b4fbcca655d6b18633395dec243066ede9c52879e74728057f2573618a0721d9dbbf9628
+DIST stress-ng-0.15.05.tar.gz 3811699 BLAKE2B e156251163a9d1788a09cb957dd75c05770cd69fb2674b54fb8fe10ea94eb7d62dc4bfd38a8628b201bc5d260fd140bee78cd5ad7220a1e35dc51334ec2fca1e SHA512 654fff49ade6bc44c1f855cf5869255ef626180ca9b9d83374cd18c000a1b3f2e9c8b3b653592d2896d66d4cbb7dc0d60e67233af73fdc8039c2ba530d45fad4
diff --git a/app-benchmarks/stress-ng/stress-ng-0.15.05.ebuild b/app-benchmarks/stress-ng/stress-ng-0.15.05.ebuild
new file mode 100644
index 000000000000..12a6f5017085
--- /dev/null
+++ b/app-benchmarks/stress-ng/stress-ng-0.15.05.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 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 ~ia64 ~loong ~ppc64 ~riscv ~sparc ~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[@]}"
+}