From 93a93e9a3b53c1a73142a305ea1f8136846942ee Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 Dec 2021 14:08:05 +0000 Subject: gentoo resync : 22.12.2021 --- app-benchmarks/Manifest.gz | Bin 4527 -> 4525 bytes app-benchmarks/geekbench/Manifest | 4 +- app-benchmarks/geekbench/geekbench-5.4.1-r1.ebuild | 42 ---------------- app-benchmarks/geekbench/geekbench-5.4.3.ebuild | 2 +- app-benchmarks/siege/Manifest | 2 +- app-benchmarks/siege/siege-4.1.0.ebuild | 2 +- app-benchmarks/stress-ng/Manifest | 4 +- app-benchmarks/stress-ng/stress-ng-0.13.07.ebuild | 56 --------------------- app-benchmarks/stress-ng/stress-ng-0.13.09.ebuild | 56 +++++++++++++++++++++ app-benchmarks/wrk/Manifest | 5 +- app-benchmarks/wrk/files/wrk-4.2.0-makefile.patch | 54 ++++++++++++++++++++ app-benchmarks/wrk/wrk-4.1.0-r100.ebuild | 2 +- app-benchmarks/wrk/wrk-4.2.0.ebuild | 49 ++++++++++++++++++ 13 files changed, 170 insertions(+), 108 deletions(-) delete mode 100644 app-benchmarks/geekbench/geekbench-5.4.1-r1.ebuild delete mode 100644 app-benchmarks/stress-ng/stress-ng-0.13.07.ebuild create mode 100644 app-benchmarks/stress-ng/stress-ng-0.13.09.ebuild create mode 100644 app-benchmarks/wrk/files/wrk-4.2.0-makefile.patch create mode 100644 app-benchmarks/wrk/wrk-4.2.0.ebuild (limited to 'app-benchmarks') diff --git a/app-benchmarks/Manifest.gz b/app-benchmarks/Manifest.gz index 47411aea4d81..fa3d2f478016 100644 Binary files a/app-benchmarks/Manifest.gz and b/app-benchmarks/Manifest.gz differ diff --git a/app-benchmarks/geekbench/Manifest b/app-benchmarks/geekbench/Manifest index a03a3ed599b9..7c89f3a4aa1b 100644 --- a/app-benchmarks/geekbench/Manifest +++ b/app-benchmarks/geekbench/Manifest @@ -2,12 +2,10 @@ DIST Geekbench-2.4.2-LinuxARM.tar.gz 1921401 BLAKE2B 34d86178e35d586b79182b33203 DIST Geekbench-2.4.3-Linux.tar.gz 3337551 BLAKE2B cb660f3c08cc812cb23374032490a148449a36845fe63320788432493581ec6bd5958bf178d83d68b532ffbe5c7ee13e92b0bb00c0aca968bb2e499453f1b7a7 SHA512 d84e13eb5fd28fb232a5f93aa76f4855adcb9ccffbcd90dacc3e2b45231afd82e78d40c63f729391e5d00e95c14653e83757faca4e543c6306dd913c4e0edb87 DIST Geekbench-3.4.2-Linux.tar.gz 9986039 BLAKE2B 63d7e768d65bc033260a0d99da17df2e518750f19882e63dbc9bbe6ff0b52a8cddb35b9143e85c01838bf5d77a04599578fc0a57a3e6fd89e7aec8c8ffdd4f5b SHA512 a61a5d5481682baefdce64f6054c3373900e8cd585dcbfa2feabbf386032986b40b603619c552102401a83e0b748831d00af5b5b5278e88ef42dee176adf06e9 DIST Geekbench-4.4.1-Linux.tar.gz 71076124 BLAKE2B 14c2b80c971798e7d2bb256e76c7ab9c48e8c1c389e2f7547a436f706ac4f21c1e52e564cd584893071ee2f9f0a4747cd03ea72cc728ff8e4f369d5cc794d77a SHA512 fa687d33a7d7a2d09c544e3d17de93f41cfa77915c708cd1ef0743f84f7f83df9d3f8df2872a8f85ed2c4c872e3cd41932685ffeb19cdb0ea047ab5116713420 -DIST Geekbench-5.4.1-Linux.tar.gz 93161586 BLAKE2B 3d7c1915b6eeb83f5e7c3f2ab2e3d863d0e1e9252d76a612d58f2549e0c2ef664d1ebade93d2eaca336e78d54641768d1cfc9d9d736eb00c7457d312af565ab2 SHA512 b1a6634c9173254aa46111b06367dbc13aeb0813ba53b770a1dc7757140c1821c03dee566f40c0378d79f8658ff4c06bfb8170be631c2d95c2e367d239554492 DIST Geekbench-5.4.3-Linux.tar.gz 93169377 BLAKE2B c84f99d7f5be1002d26179085cef21baee20e14c99114b78d6d04caadea3835d8a05f07431a8a16a6d58dda9e11f27836b9b8261bccbd0549b5172b94ebbfae4 SHA512 d86abc0d9b1dfd59074cdc3ce9ebf32f7b7bfbca1badc9d45c5284b6b76f29a600f1796b0fb582a2861611515660b0a2680317b1361822c8809b3584cf00b0ac EBUILD geekbench-2.4.2-r1.ebuild 1028 BLAKE2B 75e84bed9e787a465867397f183eb8bcbd100a91c9ce5610bbd4b11b92ebf13aef9227fa8c8c06012a773bb872daa20c9bfc4754aa6ef9f1d16121f2ed2815b6 SHA512 497985b5c7a877473fa89ead3e04dfba6bb8a1df2042eaedc1964ee5dfbc3c4685fb389a96d9b1cda93f4badb174719af7765646cd6b957ed657dbf50c08337a EBUILD geekbench-2.4.3-r1.ebuild 1088 BLAKE2B f6699780652748451d42b106a2c74b5113778066ff83b92bf216e9da4efe63527cd454f84046be456d6e9266f4ee85efb4c3655f45bbe4e4ace3ab9867cc847c SHA512 1f8b1640a4e121767e51b6c4fcd9ff77cd60fe37f5010fb7bbb670d763fc1166beaefb5ec74b4acf8390ccc19956d1f9945151af61c37f7f2767c5f47c53c2c6 EBUILD geekbench-3.4.2-r1.ebuild 1088 BLAKE2B d822b727b3fe1703fb60d48dec922cb34d9585b1500f3068d24712261bee6fb3bc0c0837316e286d593ed399b91cef8d4debcbf2c52728fef7a1a4e1d5bf5ba9 SHA512 c1f2e1fe7d45cef07586c0a82e3893229376136a6aed394ea9ac5712c0d69216226c31ce10bb81c3d8d66f46d32a83869e9df14e065ff169c8f6c172c4f3cb85 EBUILD geekbench-4.4.1-r1.ebuild 1082 BLAKE2B a2ffb958cf707996944a6a1afd1a84d0fb6ea200de5f9bb28e09d5df3ee8d8ee247b3607bb823ab3311f4ed40b7f91d6b793ec8f5f66f058559cd9c90bb9fcad SHA512 be426669bf92c82d74eb2539529925f8fbfcae05ed80bc7d004677f5ccffc8fae870897f2dca4f31321dfb940f6f0646d8b0a86bbb61eb1d17d3836bfa0a54aa -EBUILD geekbench-5.4.1-r1.ebuild 1029 BLAKE2B 2c0f88dc035fa2865098f022d5d3aee83066e0c87cbf4770c39e6ee5a41406ff4c492b7ef1ac6293eb9ef4c2e95219a82f77eaf80949bc750297ec9f1d940fe3 SHA512 c09af2ba3e043276fb8a14eb7c8bb309b173c63739275b53147e96e6841cfdd3efd28fe4dcffbfdc493f13ad5b6e9487c7623b92c0e1f240b05c362e12fc6881 -EBUILD geekbench-5.4.3.ebuild 1030 BLAKE2B a08dc430269cb372146dead0e57b02618765718c77fa221caf21596686161428f719576985202fd40de257522457b4378cf20336986ff27e840d4123d1fb7e14 SHA512 1a5e2a5e0aec66bcde70af612f1b04936ab762b64a224862ad50f7f34beb330b9f1bd5e3c2db76625c5f455c390a66bc683f3e0320fd640e39cea03fe16ca466 +EBUILD geekbench-5.4.3.ebuild 1029 BLAKE2B 2c0f88dc035fa2865098f022d5d3aee83066e0c87cbf4770c39e6ee5a41406ff4c492b7ef1ac6293eb9ef4c2e95219a82f77eaf80949bc750297ec9f1d940fe3 SHA512 c09af2ba3e043276fb8a14eb7c8bb309b173c63739275b53147e96e6841cfdd3efd28fe4dcffbfdc493f13ad5b6e9487c7623b92c0e1f240b05c362e12fc6881 MISC metadata.xml 251 BLAKE2B ba937d5724c861b8bfd1d287a325357d6a63656cf5c2314185a486be769eb22b39fa780b38c05407bce5f0707585d499a849a28e15a2fde9eebba6f529e686a3 SHA512 0fb5b55fc7db96153970767478727504fd0e87c1c8a77593f1f30720064e95776b92e4993f9aed076c983eee5cebca446fe8894e36fbcc02802bb1c158747dd3 diff --git a/app-benchmarks/geekbench/geekbench-5.4.1-r1.ebuild b/app-benchmarks/geekbench/geekbench-5.4.1-r1.ebuild deleted file mode 100644 index 2c4984b7d2ab..000000000000 --- a/app-benchmarks/geekbench/geekbench-5.4.1-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="A Cross-Platform Benchmark for Android, iOS, Linux, MacOS and Windows" -HOMEPAGE="https://www.geekbench.com/" -SRC_URI="https://cdn.geekbench.com/Geekbench-${PV}-Linux.tar.gz" -S="${WORKDIR}/Geekbench-${PV}-Linux" - -KEYWORDS="-* amd64" -LICENSE="geekbench" -SLOT="5" - -RESTRICT="bindist mirror" - -QA_PREBUILT=" - opt/geekbench5/geekbench5 - opt/geekbench5/geekbench_x86_64 -" - -pkg_nofetch() { - elog "Please download ${A} from ${HOMEPAGE}/download/linux" - elog "and place it in your DISTDIR directory." -} - -src_install() { - exeinto /opt/geekbench5 - doexe geekbench5 geekbench_x86_64 - - insinto /opt/geekbench5 - doins geekbench.plar - - dodir /opt/bin - dosym ../geekbench5/geekbench5 /opt/bin/geekbench5 -} - -pkg_postinst() { - elog "If you have purchased a commercial license, you can enter" - elog "your email address and your license key with the following command:" - elog "geekbench5 -r " -} diff --git a/app-benchmarks/geekbench/geekbench-5.4.3.ebuild b/app-benchmarks/geekbench/geekbench-5.4.3.ebuild index 099604ac1c64..2c4984b7d2ab 100644 --- a/app-benchmarks/geekbench/geekbench-5.4.3.ebuild +++ b/app-benchmarks/geekbench/geekbench-5.4.3.ebuild @@ -8,7 +8,7 @@ HOMEPAGE="https://www.geekbench.com/" SRC_URI="https://cdn.geekbench.com/Geekbench-${PV}-Linux.tar.gz" S="${WORKDIR}/Geekbench-${PV}-Linux" -KEYWORDS="-* ~amd64" +KEYWORDS="-* amd64" LICENSE="geekbench" SLOT="5" diff --git a/app-benchmarks/siege/Manifest b/app-benchmarks/siege/Manifest index f6820479b346..4b51184a6fb4 100644 --- a/app-benchmarks/siege/Manifest +++ b/app-benchmarks/siege/Manifest @@ -2,5 +2,5 @@ AUX siege.bash-completion 659 BLAKE2B 7d9ce4e253a3a95af6a008fb81a421b46139fef2cc DIST siege-4.0.9.tar.gz 525804 BLAKE2B d857df05f40a0ac26a8abdd54e7de374125dde4c114bd1ac3ddd9e9856a30d4fdfefd325980717e59b5876df99a87f971c5b3f91d6478f9638f1860557615169 SHA512 6208b7924162be4dd7ea8cdc297930d28e8a1cb125cf26e8707c2cb67efad741cd090c12081ea80837314d4b5703da152a97b0e8fbf4c64ff64c6714eb4b5fc7 DIST siege-4.1.0.tar.gz 541331 BLAKE2B c3e8e0f101e27a0902de80478e7c6595f44b4d129cfb265d66c48fcacef4129f587f9ca9ddd0c4d5016513ba19d7635135add1cb02290c4d2bbed5cea501a816 SHA512 15b3b82877153f044524cedc96750a6dab4d21ccbef1be53c0069adade6c3b4204287852a30a57275eea0f51c702857dff59648bd885c28ce65feae141cf6593 EBUILD siege-4.0.9.ebuild 1226 BLAKE2B 72a44d34e64a9a241699b258ba76da665da5338312608270b2a6930285f134901747fe2ca2ecea1c6068d0a7b409bad26a32d7a8ecea7bc35d6be4bc1d05d99d SHA512 a4ec398482883d3a1e76b7389435e6945eb2997009e809c44e8a1cad5e53c65bfab3a4588c52066fc1590f754b9cd8a11fa2da64907e234e30d787f66118fdf9 -EBUILD siege-4.1.0.ebuild 1244 BLAKE2B 7d5116f71a2854533c283ba3f87efb45a7e7a093428e74e905d3d9c9f2e5ae36f3dce7d69b9142ada82c75b677cb7564b579589478acf36f891ec646112c798b SHA512 06da15cbdc195d6ca38b8110c30b334e606dab7fe4283ba002edc55324404cbb8927caf54f0817b0981c0c190e4d869fc064711480c7001d3738cb6cc5016e65 +EBUILD siege-4.1.0.ebuild 1241 BLAKE2B b979784e76530959cfe469dd4162994797dedb8574e6e62a78a9787bf18e646bd5c6e42450857c0d806445278abe8fb3374e04012f60f35449feedd27e9f5b6e SHA512 f5c7f0ae237f9bc77b611f691dc88875c62e1afb675248aab084ca32989caa3e95eb80c42b399c52b9af24c1cf595203652a8443a6ada289bd003594e5df3386 MISC metadata.xml 628 BLAKE2B a51d5fc78c971b479422f299365edf6f8275ec57dc166eeaf9acc480b11a2927750e21632cddf8da582a940f33c1e03f434d641ce2235275e18d9cf6b4da6f50 SHA512 11166fa23294d414bfec852f72b30a2f754e37cbd23617a8704ac79e959f8ba4557da7205aecec2694b01cbf33b4550e98fc9371f4a4645cf0508f95e51d589c diff --git a/app-benchmarks/siege/siege-4.1.0.ebuild b/app-benchmarks/siege/siege-4.1.0.ebuild index 0789ff28e690..372978606f01 100644 --- a/app-benchmarks/siege/siege-4.1.0.ebuild +++ b/app-benchmarks/siege/siege-4.1.0.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://www.joedog.org/siege-home https://github.com/JoeDog/siege" SRC_URI="http://download.joedog.org/${PN}/${P}.tar.gz" LICENSE="GPL-3" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~x86 ~x64-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ppc x86 ~x64-macos" SLOT="0" IUSE="ssl" diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest index d80034ae09d5..f36e706610d7 100644 --- a/app-benchmarks/stress-ng/Manifest +++ b/app-benchmarks/stress-ng/Manifest @@ -1,3 +1,3 @@ -DIST stress-ng-0.13.07.tar.gz 1020232 BLAKE2B 54d2e01877420f0a9b03f1d2ffc3665b3d06def29f5d1370ca312a0c3a1453cebd5254e00aa0c0bbda1146785c26047d459e1e844bf3d47348f92529e93c029d SHA512 ec8f483c34c35ee9171f65e24614a3d4855d90cdfdc6c2d075ff86a2919e1c774ee5da0601e9e30d1c1f7fa7b146bf877de13e3deb88c892b703eb1b4c41e960 -EBUILD stress-ng-0.13.07.ebuild 1103 BLAKE2B 7215bbf65e925831b51960299b3ab885aa66f132690b3ae5a52e7f510f62672826187861986f0e8ed21af3b0046029de9ddd1fb6adcfd40c341f8d9c85d1db1f SHA512 c3c4b58e363f09c5f625e24d229bbcb807f83c392656259c9440f68ddf6f7e58ee2fadf524d53f7952c5c6fbdff9699daabc2d945dbf5907cde769edc507acae +DIST stress-ng-0.13.09.tar.gz 1038381 BLAKE2B 8680bccd0a97a80edaa7995577222b3d90fe3132a99d36c94101fdbfeddfa4a6f02b155cdc59c4abcc71fddba6daeef3a050368cb04fc9d31db921bbb1a9d985 SHA512 a65654f56056ff9876a6afff139e35d9a53a8368122fb24bd372e6a28fdd625f74d0775f6111300161bc36aa9012892cc9a0ed77386b6ba0c10eb17cba90670d +EBUILD stress-ng-0.13.09.ebuild 1103 BLAKE2B 7215bbf65e925831b51960299b3ab885aa66f132690b3ae5a52e7f510f62672826187861986f0e8ed21af3b0046029de9ddd1fb6adcfd40c341f8d9c85d1db1f SHA512 c3c4b58e363f09c5f625e24d229bbcb807f83c392656259c9440f68ddf6f7e58ee2fadf524d53f7952c5c6fbdff9699daabc2d945dbf5907cde769edc507acae MISC metadata.xml 907 BLAKE2B a9669ec80f735f02c77ac78ceba8b49634346d92c1d10a1288559e2440241d8e75d6de970ae232f2d6b42f12258ffa826de513ba862eaba581faf5f44737d4e6 SHA512 12c241b1df81be6527cc5faa80cb177941dd25cfe3bd29ce8b9ba5a90457834a50c11a8d66b7bd6ad27a3959038d4eded4822ed85df924aa2f71bb9b9b667e13 diff --git a/app-benchmarks/stress-ng/stress-ng-0.13.07.ebuild b/app-benchmarks/stress-ng/stress-ng-0.13.07.ebuild deleted file mode 100644 index 9dc84c767ecd..000000000000 --- a/app-benchmarks/stress-ng/stress-ng-0.13.07.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 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[@]}" -} diff --git a/app-benchmarks/stress-ng/stress-ng-0.13.09.ebuild b/app-benchmarks/stress-ng/stress-ng-0.13.09.ebuild new file mode 100644 index 000000000000..9dc84c767ecd --- /dev/null +++ b/app-benchmarks/stress-ng/stress-ng-0.13.09.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 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[@]}" +} diff --git a/app-benchmarks/wrk/Manifest b/app-benchmarks/wrk/Manifest index 8af9046223a3..d92f5e0bb801 100644 --- a/app-benchmarks/wrk/Manifest +++ b/app-benchmarks/wrk/Manifest @@ -1,4 +1,7 @@ AUX wrk-4.1.0-r100-makefile.patch 1509 BLAKE2B d03fcc70c201777cc0f75e81e827ef941ac9a2128b05118ceae5256c481065ed21f1bf5290b05c304a03fe765b7576a91d882392d376ceed19d2d1fc89c9f894 SHA512 a4d035c7114a8876b10435936db30068ba7232516b5e21f9577832e7ffed28144b0f5864b25e9df72ced0937c6d687117cdee42234fcba2a1cfa20b9bd1e31c0 +AUX wrk-4.2.0-makefile.patch 1277 BLAKE2B a286a0c3b523e0e6cd86607ae7334e1b3981c94ff9f260f6cdfbb71bd34b1f355ac78ec1b5493fea25c4563ba70b23da9012d62f7b9a96c298afbec0e3b622fe SHA512 cb5fbb252ec2867355f09c323d6675814d83388d3b04f23192ae0b2b7e94580574431173d88d79079e07cedaf4aedfc31d7e6d47083618333d6974ace685b823 DIST wrk-4.1.0.tar.gz 6478125 BLAKE2B d64c172819a32b874e5351ef1088a66af7eb76ae34421577f817f14797a5711665adb8074e90a80e511139a889d4c960dc91caa5855bbd67038229307ef93ed2 SHA512 2c8d05f8e40c3a6234bc1c2862157764532a39046860210fe512c260c2b940e1e3120b831d0721c936c7bca474574600cda1f4c949b53738199d98102e32cb1a -EBUILD wrk-4.1.0-r100.ebuild 853 BLAKE2B a3654e82bf0ec7b89617585555d6e03bd8ec923ec02b17314aa565927a3ae26fcae83f87711b22efd3a677cfb5996c5e1c10740d481d8a8bbd80303dda315331 SHA512 0cc4e667cf0647d9d51db4278d40192949d6f73e2b4703f73d51b3d925c929adea2fea7ad866236d32a0110a3ab9c6cbb183334fd2353032b0fde7e44637aea1 +DIST wrk-4.2.0.tar.gz 10973405 BLAKE2B e81698f70017cd7d55ee7adceb050ea48b2ed9d2ef9195e5b2743dafb637f78d54c8003d049c2965f90457f9b7a80620b86bc0b9bb1a259b88e5c66d6af8cc79 SHA512 c356b1314f37b558f39f30d9a9c6a2a9c2f646eaf7c0cb4262325850922528148f89ccbe7c33390c87e40f8fef6fffd704e3cfe75a89e4e9b178101043fa038d +EBUILD wrk-4.1.0-r100.ebuild 869 BLAKE2B 44d506bcd633613f0d4d1d8e08601f5baa689e5457d5d557e28b6d63b3b545004915a74c44740132562ecbd3767c71543868a268d9e36f97085f2402d0eebd91 SHA512 b1d475081f647b09a579e307aa06cf6ebda8d110516356b6b507323f9791be4261e020d17fff4bee0a5eeb60e08360d98d0bbb237082a00711e7b524a51411cf +EBUILD wrk-4.2.0.ebuild 873 BLAKE2B cde42694574dcad29b166e6479bc7790cfbafb610e93cd20367f090c1104b0bcce95c9812c4617ddfd215b89cd88e26d05363710e04930c1a2f8aa924e218e46 SHA512 7709ff53c6e32d71eecc06966434cfd47dd78a536b599998ff530f21aaaff9b530785cf8bd632c70bd01dbc6a62677f629f42d42de609a808a1d8eedebb417c7 MISC metadata.xml 754 BLAKE2B 5d9f7e4ef536efaaaf5dcc71e908c6e50a3c691acd361cfc5d5abaefb7c193a5d6acf72f70ffad0eca96133cda35e1236f00212ca1deee11a5dfbcedf6f604b3 SHA512 864c4eefd5446d398495645a6cbc73613f28102dff61bcfe2f81e8ebbb005679deb463735e051e0451e23eaa4ab4893092e148abf87071ace9ebc5b2029fd619 diff --git a/app-benchmarks/wrk/files/wrk-4.2.0-makefile.patch b/app-benchmarks/wrk/files/wrk-4.2.0-makefile.patch new file mode 100644 index 000000000000..b5a32ae9b5eb --- /dev/null +++ b/app-benchmarks/wrk/files/wrk-4.2.0-makefile.patch @@ -0,0 +1,54 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,4 +1,4 @@ +-CFLAGS += -std=c99 -Wall -O2 -D_REENTRANT ++CFLAGS += -std=c99 -Wall -D_REENTRANT + LIBS := -lm -lssl -lcrypto -lpthread + + TARGET := $(shell uname -s | tr '[A-Z]' '[a-z]' 2>/dev/null || echo unknown) +@@ -24,15 +24,13 @@ + + ODIR := obj + OBJ := $(patsubst %.c,$(ODIR)/%.o,$(SRC)) $(ODIR)/bytecode.o $(ODIR)/version.o +-LIBS := -lluajit-5.1 $(LIBS) ++LIBS := $(LUA_LIBS) $(LIBS) + + DEPS := + CFLAGS += -I$(ODIR)/include +-LDFLAGS += -L$(ODIR)/lib + + ifneq ($(WITH_LUAJIT),) +- CFLAGS += -I$(WITH_LUAJIT)/include +- LDFLAGS += -L$(WITH_LUAJIT)/lib ++ CFLAGS += $(WITH_LUAJIT) + else + CFLAGS += -I$(ODIR)/include/luajit-2.1 + DEPS += $(ODIR)/lib/libluajit-5.1.a +@@ -40,7 +38,6 @@ + + ifneq ($(WITH_OPENSSL),) + CFLAGS += -I$(WITH_OPENSSL)/include +- LDFLAGS += -L$(WITH_OPENSSL)/lib + else + DEPS += $(ODIR)/lib/libssl.a + endif +@@ -51,8 +48,7 @@ + $(RM) -rf $(BIN) obj/* + + $(BIN): $(OBJ) +- @echo LINK $(BIN) +- @$(CC) $(LDFLAGS) -o $@ $^ $(LIBS) ++ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) + + $(OBJ): config.h Makefile $(DEPS) | $(ODIR) + +@@ -67,8 +63,7 @@ + @echo 'const char *VERSION="$(VER)";' | $(CC) -xc -c -o $@ - + + $(ODIR)/%.o : %.c +- @echo CC $< +- @$(CC) $(CFLAGS) -c -o $@ $< ++ $(CC) $(CFLAGS) -c -o $@ $< + + # Dependencies + diff --git a/app-benchmarks/wrk/wrk-4.1.0-r100.ebuild b/app-benchmarks/wrk/wrk-4.1.0-r100.ebuild index a72f75b15bd4..ae473486ff83 100644 --- a/app-benchmarks/wrk/wrk-4.1.0-r100.ebuild +++ b/app-benchmarks/wrk/wrk-4.1.0-r100.ebuild @@ -5,7 +5,7 @@ EAPI=7 LUA_COMPAT=( luajit ) -inherit lua-single +inherit lua-single toolchain-funcs DESCRIPTION="A HTTP benchmarking tool" HOMEPAGE="https://www.github.com/wg/wrk" diff --git a/app-benchmarks/wrk/wrk-4.2.0.ebuild b/app-benchmarks/wrk/wrk-4.2.0.ebuild new file mode 100644 index 000000000000..93042e4f6647 --- /dev/null +++ b/app-benchmarks/wrk/wrk-4.2.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( luajit ) + +inherit lua-single toolchain-funcs + +DESCRIPTION="A HTTP benchmarking tool" +HOMEPAGE="https://www.github.com/wg/wrk" +SRC_URI="https://www.github.com/wg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="Apache-2.0 BSD MIT" +SLOT="0" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND=" + dev-libs/openssl:0= + ${LUA_DEPS} +" + +DEPEND="${RDEPEND}" + +DOCS=( "CHANGES" "NOTICE" "README.md" "SCRIPTING" ) + +PATCHES=( "${FILESDIR}/${PN}-4.2.0-makefile.patch" ) + +src_compile() { + myemakeargs=( + CC="$(tc-getCC)" + LUA_LIBS="$(lua_get_LIBS)" + VER="${PV}" + WITH_LUAJIT="$(lua_get_CFLAGS)" + WITH_OPENSSL="/usr" + ) + + emake "${myemakeargs[@]}" +} + +src_install() { + dobin wrk + + insinto /usr/share/wrk + doins -r scripts + + einstalldocs +} -- cgit v1.2.3