From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [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 B6A64158094 for ; Sat, 25 Jun 2022 14:35:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3E5FE08C3; Sat, 25 Jun 2022 14:35:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 9938FE08C3 for ; Sat, 25 Jun 2022 14:35:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 D60073410C8 for ; Sat, 25 Jun 2022 14:35:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1FB8951D for ; Sat, 25 Jun 2022 14: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: <1656167682.383b5a1c5507a4eef0181f638df726dca2e6d727.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.02.ebuild X-VCS-Directories: app-benchmarks/stress-ng/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 383b5a1c5507a4eef0181f638df726dca2e6d727 X-VCS-Branch: master Date: Sat, 25 Jun 2022 14: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: 9ae062af-959f-4b08-bb55-2c5e62181948 X-Archives-Hash: 58a45cd5f8ee2de5b6fe9443fe138482 commit: 383b5a1c5507a4eef0181f638df726dca2e6d727 Author: Conrad Kostecki gentoo org> AuthorDate: Sat Jun 25 13:47:09 2022 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Jun 25 14:34:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=383b5a1c app-benchmarks/stress-ng: add 0.14.02 Signed-off-by: Conrad Kostecki gentoo.org> app-benchmarks/stress-ng/Manifest | 1 + app-benchmarks/stress-ng/stress-ng-0.14.02.ebuild | 56 +++++++++++++++++++++++ 2 files changed, 57 insertions(+) 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[@]}" +}