summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-01-12 01:55:12 +0100
committerConrad Kostecki <conikost@gentoo.org>2020-01-12 02:02:39 +0100
commit94609f14db5f51c454afc7684ffb8ec7112a02c7 (patch)
treeb347b37eefd057cc980d4d7bded041a2ea384def /app-benchmarks
parentkde-frameworks/frameworkintegration: Drop 5.66.0 (r0) (diff)
downloadgentoo-94609f14db5f51c454afc7684ffb8ec7112a02c7.tar.gz
gentoo-94609f14db5f51c454afc7684ffb8ec7112a02c7.tar.bz2
gentoo-94609f14db5f51c454afc7684ffb8ec7112a02c7.zip
app-benchmarks/stress-ng: bump to version 0.10.16
Also slightly updated patch, to make it look more clean, as recommended by https://dev.gentoo.org/~vapier/clean-patches. Package-Manager: Portage-2.3.84, Repoman-2.3.20 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/files/stress-ng-0.10.13-makefile.patch7
-rw-r--r--app-benchmarks/stress-ng/stress-ng-0.10.16.ebuild38
3 files changed, 44 insertions, 2 deletions
diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest
index 0152f1ab2f7a..648b25e0874e 100644
--- a/app-benchmarks/stress-ng/Manifest
+++ b/app-benchmarks/stress-ng/Manifest
@@ -1 +1,2 @@
DIST stress-ng-0.10.14.tar.xz 410204 BLAKE2B 347a8e5eed70b23022de7bf6af53547e25e704647f6d37f328a60e3023b40a44f627f146199d847641ef5493e167cdcce11d1b945b851bbc4c84cf67b449d1f8 SHA512 f2c2f46c72f7d5a10f2522be775821d6f199253eac4e9a1f0ecdb3c7007a0ab4eb0c671b35abbff34601fcf71f4c8ea60c8bdca9a5a7986c9e9c0e2e009f462a
+DIST stress-ng-0.10.16.tar.xz 415740 BLAKE2B c2a169455c3c975757d811148cf564f937d2109c4551e1308e92b6422e843d2b7e764de75e2ba54523802bbae7fe944f7d19eb44c36d5821af60fd047a999330 SHA512 b61ffff1dec7a2d2b2c3dc12a5e6c4945955777d2e218b5bbe291872911e982eed1df2d2b98dd3068f99ec920a070dd3287caa376feeca41d6cee2ff56d552d5
diff --git a/app-benchmarks/stress-ng/files/stress-ng-0.10.13-makefile.patch b/app-benchmarks/stress-ng/files/stress-ng-0.10.13-makefile.patch
index b6a8554cdde2..f49988768d5f 100644
--- a/app-benchmarks/stress-ng/files/stress-ng-0.10.13-makefile.patch
+++ b/app-benchmarks/stress-ng/files/stress-ng-0.10.13-makefile.patch
@@ -1,5 +1,8 @@
---- stress-ng-0.10.13.orig/Makefile 2019-12-09 13:42:13.000000000 +0100
-+++ stress-ng-0.10.13/Makefile 2019-12-14 00:51:33.390034647 +0100
+Always respect users CFLAGS, enable verbose output when compiling
+and don't install compressed man pages.
+
+--- a/Makefile
++++ b/Makefile
@@ -21,7 +21,7 @@
# Codename "systematic system smasher"
#
diff --git a/app-benchmarks/stress-ng/stress-ng-0.10.16.ebuild b/app-benchmarks/stress-ng/stress-ng-0.10.16.ebuild
new file mode 100644
index 000000000000..c73232604872
--- /dev/null
+++ b/app-benchmarks/stress-ng/stress-ng-0.10.16.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit 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 ~x86"
+
+DEPEND="
+ dev-libs/libaio
+ dev-libs/libbsd
+ dev-libs/libgcrypt:0=
+ net-misc/lksctp-tools
+ sys-apps/attr
+ sys-apps/keyutils:=
+ sys-libs/libapparmor
+ sys-libs/libcap
+ sys-libs/zlib
+"
+
+RDEPEND="${DEPEND}"
+
+DOCS=( "README" "README.Android" "TODO" "syscalls.txt" )
+
+PATCHES=( "${FILESDIR}/${PN}-0.10.13-makefile.patch" )
+
+src_compile() {
+ tc-export CC
+
+ default
+}