summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-07-09 22:53:45 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-07-09 22:55:01 +0200
commit30d9f982cff8bdbceaebf2e2769a7fc8efe65d04 (patch)
tree01b4b4a54c8aaa9d19a50075819834b1c302e79c /app-benchmarks
parentdev-perl/Mouse: Versio bump v2.5.10 (diff)
downloadgentoo-30d9f982cff8bdbceaebf2e2769a7fc8efe65d04.tar.gz
gentoo-30d9f982cff8bdbceaebf2e2769a7fc8efe65d04.tar.bz2
gentoo-30d9f982cff8bdbceaebf2e2769a7fc8efe65d04.zip
app-benchmarks/stress-ng: bump to version 0.12.12
Package-Manager: Portage-3.0.20, Repoman-3.0.3 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.12.12.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest
index ee1279307413..ad3002537003 100644
--- a/app-benchmarks/stress-ng/Manifest
+++ b/app-benchmarks/stress-ng/Manifest
@@ -1 +1,2 @@
DIST stress-ng-0.12.11.tar.xz 550336 BLAKE2B 01c8938b52f007a8124d57e8bab5033c54b13fe01c8bdf66d0a4e13a8acb6371d76f5939189474a41a291a34a0e20e83711430bae6e4993dcf8051bd89f503b7 SHA512 48fbdbab50f1da3aa22de672a3e6d03cb1776cc653916fc3f83bf67ebd419f6df876ca8248d0ea4ce34a9cc59c2e2f67f1b1e364a1ccfe0ebd1fcfe24cca0b6c
+DIST stress-ng-0.12.12.tar.xz 558492 BLAKE2B ccd805a2f50306b50f95d98cdf766a82a511a03e2728cdcb70c51e6df75280c42195ed71b5a27bb4b70049ab1d18a6e47d7a1549a49601fc4f6fe3d0330db1b2 SHA512 1061618a44b2cb399cb845abf7de88009376dd186f259f7d91cdc6fb7102b2d869806d4c76c113c2355da426c066e41f7ee2e3d229fa499b16d993ec1cd5b278
diff --git a/app-benchmarks/stress-ng/stress-ng-0.12.12.ebuild b/app-benchmarks/stress-ng/stress-ng-0.12.12.ebuild
new file mode 100644
index 000000000000..309cd350a1c7
--- /dev/null
+++ b/app-benchmarks/stress-ng/stress-ng-0.12.12.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit optfeature toolchain-funcs
+
+DESCRIPTION="Stress test for a computer system with various selectable ways"
+HOMEPAGE="https://kernel.ubuntu.com/~cking/stress-ng/"
+SRC_URI="https://kernel.ubuntu.com/~cking/tarballs/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+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:=
+"
+
+RDEPEND="${DEPEND}"
+
+DOCS=( "README" "README.Android" "TODO" "syscalls.txt" )
+
+src_compile() {
+ export MAN_COMPRESS=0
+ export VERBOSE=1
+ tc-export CC
+
+ default
+}
+
+pkg_postinst() {
+ optfeature "AppArmor support" sys-libs/libapparmor
+ optfeature "SCTP support" net-misc/lksctp-tools
+}