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 5376A15808B for ; Mon, 7 Mar 2022 21:27:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 99B92E091C; Mon, 7 Mar 2022 21:27:25 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7B649E091C for ; Mon, 7 Mar 2022 21:27:25 +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 94692343081 for ; Mon, 7 Mar 2022 21:27:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A3F0313 for ; Mon, 7 Mar 2022 21:27:22 +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: <1646688426.6b542f2897f011cc958e31ed98652ea51d1512a6.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.13.12.ebuild X-VCS-Directories: app-benchmarks/stress-ng/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 6b542f2897f011cc958e31ed98652ea51d1512a6 X-VCS-Branch: master Date: Mon, 7 Mar 2022 21:27:22 +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: a3999dd7-df09-489b-ae6f-cacea161fe9a X-Archives-Hash: 2e0e90688ae94de7d5f95ef87713793f commit: 6b542f2897f011cc958e31ed98652ea51d1512a6 Author: Conrad Kostecki gentoo org> AuthorDate: Mon Mar 7 21:25:51 2022 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Mon Mar 7 21:27:06 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b542f28 app-benchmarks/stress-ng: add 0.13.12 Signed-off-by: Conrad Kostecki gentoo.org> app-benchmarks/stress-ng/Manifest | 1 + app-benchmarks/stress-ng/stress-ng-0.13.12.ebuild | 56 +++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest index dacb08fb2292..3fb7bb9f04b0 100644 --- a/app-benchmarks/stress-ng/Manifest +++ b/app-benchmarks/stress-ng/Manifest @@ -1 +1,2 @@ DIST stress-ng-0.13.11.tar.gz 1069071 BLAKE2B a622e9b3e1015d78f3ae3cc314cabce9ddc9a0ad50ae4de6b15c74918f202e75ad5fdb73d786b01a2c2765114ce1fe9f00702e80419311eb627eddccebf161db SHA512 18e21f2e8af24f5d50b2e8c4119544d1469e82f7e1d96610ba509f12f84b6b4ef11353e7a31b5fdc848ec4cdfdd24ad22818492cbe917122e2fbad4727466cc2 +DIST stress-ng-0.13.12.tar.gz 1091644 BLAKE2B f693535f7bf2d00dc741574b77c52f216bd8db6bd3766c41c1d117aa8847b3ae3afa674b67749c93239c72aae19b36f1b6bdb4c526dddfb5176ae0597814ad80 SHA512 735e68da8b63b550f5764c565567c5212302eec116591cf8e4a5c203c571fcaf68cf24fefeede7d4364683a021e5232ef9a99796d465eb0aa4094800eca19474 diff --git a/app-benchmarks/stress-ng/stress-ng-0.13.12.ebuild b/app-benchmarks/stress-ng/stress-ng-0.13.12.ebuild new file mode 100644 index 000000000000..c997ff6e3d0c --- /dev/null +++ b/app-benchmarks/stress-ng/stress-ng-0.13.12.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 ~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[@]}" +}