diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-06-25 15:47:09 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-06-25 16:34:42 +0200 |
commit | 383b5a1c5507a4eef0181f638df726dca2e6d727 (patch) | |
tree | 17e0b8f14a5f530df9826d9dc33d0ab85b9c4405 /app-benchmarks/stress-ng | |
parent | sys-auth/AusweisApp2: drop 1.22.5 (diff) | |
download | gentoo-383b5a1c5507a4eef0181f638df726dca2e6d727.tar.gz gentoo-383b5a1c5507a4eef0181f638df726dca2e6d727.tar.bz2 gentoo-383b5a1c5507a4eef0181f638df726dca2e6d727.zip |
app-benchmarks/stress-ng: add 0.14.02
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-benchmarks/stress-ng')
-rw-r--r-- | app-benchmarks/stress-ng/Manifest | 1 | ||||
-rw-r--r-- | app-benchmarks/stress-ng/stress-ng-0.14.02.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest index c874a036a468..17ac69baa919 100644 --- a/app-benchmarks/stress-ng/Manifest +++ b/app-benchmarks/stress-ng/Manifest @@ -1 +1,2 @@ DIST stress-ng-0.14.01.tar.gz 1113210 BLAKE2B 7fa5a499ef3aeaad9e5e78e9a564433c706618bbdc140e29e968d32a87c9740fdbac4175f9f6ca3002b31a82845e1598d5c18b2193e10b7db86cfa7bb9bd11fc SHA512 12dec034de738b77de2264b1d4202cc4966f1db5204bc10e3f43de54b50a577b3087b57ed4bc840dff39f0ea1ceeae47f50b25b6a391fa9ed231e422b5ccfef5 +DIST stress-ng-0.14.02.tar.gz 3610303 BLAKE2B a21ac2c3b67b2ec7522c020d01ae50c51b1cfc7d357dde4bd1585fcf0eed77bb9b664805eec5b8cf84cf72383d444da91ed587d113d727c762b9611be4171c39 SHA512 80d6f6d9a8e521f2c58b6aa3680bf22f5e0e75e267f49cb3c30512e3387d1d71a31a932b2e6568166f77c7f2a36bed7902a1ed4cb6aded35f48372e916d64590 diff --git a/app-benchmarks/stress-ng/stress-ng-0.14.02.ebuild b/app-benchmarks/stress-ng/stress-ng-0.14.02.ebuild new file mode 100644 index 000000000000..ada257041217 --- /dev/null +++ b/app-benchmarks/stress-ng/stress-ng-0.14.02.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 ~loong ~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[@]}" +} |