diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2023-03-19 23:03:26 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-03-19 23:12:40 +0100 |
commit | 3ab635a3efb70b2e94b806b103655b8a50c02511 (patch) | |
tree | 3ae18b0875a970924654c04f6428ca6d5bc6bc1b /app-benchmarks | |
parent | net-wireless/unifi: drop 7.1.68, 7.2.95, 7.3.76-r1 (diff) | |
download | gentoo-3ab635a3efb70b2e94b806b103655b8a50c02511.tar.gz gentoo-3ab635a3efb70b2e94b806b103655b8a50c02511.tar.bz2 gentoo-3ab635a3efb70b2e94b806b103655b8a50c02511.zip |
app-benchmarks/stress-ng: add 0.15.06
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/stress-ng/Manifest | 1 | ||||
-rw-r--r-- | app-benchmarks/stress-ng/stress-ng-0.15.06.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest index 85f5170b3f7d..5587cf1338a0 100644 --- a/app-benchmarks/stress-ng/Manifest +++ b/app-benchmarks/stress-ng/Manifest @@ -1 +1,2 @@ DIST stress-ng-0.15.05.tar.gz 3811699 BLAKE2B e156251163a9d1788a09cb957dd75c05770cd69fb2674b54fb8fe10ea94eb7d62dc4bfd38a8628b201bc5d260fd140bee78cd5ad7220a1e35dc51334ec2fca1e SHA512 654fff49ade6bc44c1f855cf5869255ef626180ca9b9d83374cd18c000a1b3f2e9c8b3b653592d2896d66d4cbb7dc0d60e67233af73fdc8039c2ba530d45fad4 +DIST stress-ng-0.15.06.tar.gz 3813785 BLAKE2B ebed2b6b087afc615e3a94ae239df32a7847f1ddc5db83a733ce8415d76818000bb742604643ebdd06d13e584a66c6814feb660752738f3fe7e714670e4ad396 SHA512 a999ecb813504cdcd56cb3f9ac6633c91ee3df2c203866d29fb04b61c41ee5e7738ca84cdbdb2cb8c6fe969f29a64d21a8df17419901266efc7f1170eb18013a diff --git a/app-benchmarks/stress-ng/stress-ng-0.15.06.ebuild b/app-benchmarks/stress-ng/stress-ng-0.15.06.ebuild new file mode 100644 index 000000000000..12a6f5017085 --- /dev/null +++ b/app-benchmarks/stress-ng/stress-ng-0.15.06.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[@]}" +} |