From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 06E55158090 for ; Sun, 8 May 2022 11:35:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EAA4EE0828; Sun, 8 May 2022 11:35:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 872F4E0830 for ; Sun, 8 May 2022 11:35:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 346A9341249 for ; Sun, 8 May 2022 11:35:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7D09452 for ; Sun, 8 May 2022 11:35:16 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1652009681.4c44ee3b0918b3859fe78e32e4a1435e724733bc.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/stress-ng/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-benchmarks/stress-ng/Manifest app-benchmarks/stress-ng/stress-ng-0.14.01.ebuild X-VCS-Directories: app-benchmarks/stress-ng/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 4c44ee3b0918b3859fe78e32e4a1435e724733bc X-VCS-Branch: master Date: Sun, 8 May 2022 11:35:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0e79c153-eb0c-4c99-8427-0a612744661c X-Archives-Hash: 2df8177bbe25fd0881ee1106da553cb6 commit: 4c44ee3b0918b3859fe78e32e4a1435e724733bc Author: Conrad Kostecki gentoo org> AuthorDate: Sun May 8 10:40:20 2022 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun May 8 11:34:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c44ee3b app-benchmarks/stress-ng: add 0.14.01 Signed-off-by: Conrad Kostecki gentoo.org> app-benchmarks/stress-ng/Manifest | 1 + app-benchmarks/stress-ng/stress-ng-0.14.01.ebuild | 56 +++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest index 1d9777036329..78a41842624f 100644 --- a/app-benchmarks/stress-ng/Manifest +++ b/app-benchmarks/stress-ng/Manifest @@ -1 +1,2 @@ DIST stress-ng-0.14.00.tar.gz 1102022 BLAKE2B f682a1ff1935837761e7e2df8970c69d5c80af7a1d3d04650c1a070a31ff0f442d45dc1cd4e659919da10d81c29b36c3e00fd5d07265d9f03a6f6a163f301797 SHA512 2e26a2cd7445c4d204959d9ddc505019790cf3992ad85aa727323bb720f3bca4d3032b9e9ef987572356355f63dfbabd7863aa90da4c7e82f84426cbec005ecd +DIST stress-ng-0.14.01.tar.gz 1113210 BLAKE2B 7fa5a499ef3aeaad9e5e78e9a564433c706618bbdc140e29e968d32a87c9740fdbac4175f9f6ca3002b31a82845e1598d5c18b2193e10b7db86cfa7bb9bd11fc SHA512 12dec034de738b77de2264b1d4202cc4966f1db5204bc10e3f43de54b50a577b3087b57ed4bc840dff39f0ea1ceeae47f50b25b6a391fa9ed231e422b5ccfef5 diff --git a/app-benchmarks/stress-ng/stress-ng-0.14.01.ebuild b/app-benchmarks/stress-ng/stress-ng-0.14.01.ebuild new file mode 100644 index 000000000000..ada257041217 --- /dev/null +++ b/app-benchmarks/stress-ng/stress-ng-0.14.01.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[@]}" +}