From 773c8e926b9937d018c0ce4c2d270de5e06fd060 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Thu, 8 Feb 2024 20:02:00 +0100 Subject: app-benchmarks/stress-ng: add 0.17.05 Signed-off-by: Conrad Kostecki --- app-benchmarks/stress-ng/Manifest | 1 + app-benchmarks/stress-ng/stress-ng-0.17.05.ebuild | 59 +++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 app-benchmarks/stress-ng/stress-ng-0.17.05.ebuild (limited to 'app-benchmarks/stress-ng') diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest index c361e843cc1a..24dadad65c56 100644 --- a/app-benchmarks/stress-ng/Manifest +++ b/app-benchmarks/stress-ng/Manifest @@ -1,2 +1,3 @@ DIST stress-ng-0.15.06.tar.gz 3813785 BLAKE2B ebed2b6b087afc615e3a94ae239df32a7847f1ddc5db83a733ce8415d76818000bb742604643ebdd06d13e584a66c6814feb660752738f3fe7e714670e4ad396 SHA512 a999ecb813504cdcd56cb3f9ac6633c91ee3df2c203866d29fb04b61c41ee5e7738ca84cdbdb2cb8c6fe969f29a64d21a8df17419901266efc7f1170eb18013a DIST stress-ng-0.17.04.tar.gz 6205049 BLAKE2B a5247c33d9c0266f31784469561088675f5e987fde441ce1d3bbb4e2fda150c2b277e4bc4cdf9ec2fee0276f1f63a30d3d19af96afa9685eb01940cf34fb715e SHA512 df143add8400f2bd6e7ade9f05ca4616f9d713e38676f179da123fb1865789a62ed878e6fb536dc3975bff1151020424053348c43b8f9b6818fbe95f517fffcd +DIST stress-ng-0.17.05.tar.gz 6230743 BLAKE2B 3fb5f633a6b8d23cbc91a2960606b3cc603c0b0656facb95e38474b0c991bd6bd59c8767a883d86e0799b34baf047db7a90902acfddd83d73f3d0652ca73e9e3 SHA512 cc16ea5a805c5e4606972bfd4c9a125521a52294a3384dd90b69ca470aa7d5d9862b3dee96eed0b84cd596bc0f4f6819d2a8f9f9b6621509eb97a7c5c837fe8f diff --git a/app-benchmarks/stress-ng/stress-ng-0.17.05.ebuild b/app-benchmarks/stress-ng/stress-ng-0.17.05.ebuild new file mode 100644 index 000000000000..5eab59d89bc9 --- /dev/null +++ b/app-benchmarks/stress-ng/stress-ng-0.17.05.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 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 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~sparc ~x86" +IUSE="apparmor keyutils jpeg sctp" + +DEPEND=" + dev-libs/libaio + dev-libs/libbsd + dev-libs/libgcrypt:0= + sys-apps/attr + sys-libs/libcap + sys-libs/zlib + virtual/libcrypt:= + apparmor? ( + sys-apps/apparmor-utils + sys-libs/libapparmor + ) + jpeg? ( media-libs/libjpeg-turbo:= ) + keyutils? ( sys-apps/keyutils:= ) + 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_JPEG="$(usex jpeg 1 0)" + HAVE_KEYUTILS_H="$(usex keyutils 1 0)" + HAVE_LIB_SCTP="$(usex sctp 1 0)" + VERBOSE="1" + ) + + emake "${myemakeopts[@]}" +} -- cgit v1.2.3-65-gdbad