summaryrefslogtreecommitdiff
path: root/app-benchmarks/tiobench
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
commitc719fdcee603a5a706a45d10cb598762d56a727d (patch)
tree620cbf137661399a3fb1eff92914204f9a970713 /app-benchmarks/tiobench
parentcc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff)
gentoo resync : 25.09.2021
Diffstat (limited to 'app-benchmarks/tiobench')
-rw-r--r--app-benchmarks/tiobench/Manifest4
-rw-r--r--app-benchmarks/tiobench/metadata.xml3
-rw-r--r--app-benchmarks/tiobench/tiobench-0.5.0.ebuild39
3 files changed, 43 insertions, 3 deletions
diff --git a/app-benchmarks/tiobench/Manifest b/app-benchmarks/tiobench/Manifest
index 88908049ed55..2eb2fe24e0cc 100644
--- a/app-benchmarks/tiobench/Manifest
+++ b/app-benchmarks/tiobench/Manifest
@@ -1,5 +1,7 @@
AUX tiobench-0.4.2-fix-perl-shebang.patch 1530 BLAKE2B c6800722dbd5edadd1ed37142d153639c73ddc2fdba50782ddf7dda1e658108a1826411b3e3ef3e49014d8e01237969bc50e0e59725536fccb3a7866699637ed SHA512 baba72c336006d3f2c69768720bb076b8f2750d72252cf19b74e4f5b9e0140e74de1edfc63da674f26d24d675f4e00201be61f98cd7fd164b1c13cfab49f3b38
AUX tiobench-0.4.2-gcc5.patch 1309 BLAKE2B 7c432efee2225afe0f2e35688d19b735b7cff6f21605570b70be446d1e92d6feee477403a37d83351cacec56310a2e0bdc8dc08153b4dc0631b363419a3cf784 SHA512 f462c4eab88aa707a8383fec9e6e8c15f72237ef3d67f8481d2d6abef855f68b5a4281a7a1f1668b968df988e9ac283e4aabb2dfaf68b33cd3430a90e59f97a7
DIST tiobench-0.4.2.tar.gz 32182 BLAKE2B f3c0f78daac0dc8c38de2049f8edfce7443fb43a6aacf31a0b5c12abf80ec0ae4c03b1bd25f954db261027c16dfb73fdffe970a730a853caf25763579c2e7170 SHA512 02e82d86ee889a366c1a00d4fb49f63d926e44ba6e2f297212479a5c13abe008b62c12d44483de7e971b5ebf875d5c07847f1d69dd11b2e87a050e27d8f9f09f
+DIST tiobench-0.5.0.tar.gz 32897 BLAKE2B 31abe72515b8fe9c846fb8406d47292a8068ab27a6a37d3544a65a84174c6e301e19b95740896e45689ffc2dbb5b12a0927ff5147f98f8b7820bba411957239c SHA512 5e21555b4f76153537eda3e2eb4a22e40b7223870126aee64e78f9ee417b9ba8555f186b46c1e1d71b15c8512970295d57029da4ae0ce438785476ce27d7c0b5
EBUILD tiobench-0.4.2.ebuild 891 BLAKE2B b0d207e71b29c5c5c44f38b1921f5a990c3ef47991172e48327bdf36f3d67937474de727b362c00dc2bf88b6b1ffff5dfd0bfd05fcde57deeb5168a53a9bb5e5 SHA512 2749131275caa448748c0a3e9a7741ad5b7aa6d39915f526c0863203a67074fc4cec8422ecbe3167836fa292d218119cb837585c66b6e6b876e084fcc5a9aa0d
-MISC metadata.xml 383 BLAKE2B 5b2865babb1b75d979c46181de8a5737be965ea4c82b254c337f5df1e5514822793a0e50d65b733b7e46865a24bfc5f28f455ec97bb5ac947f202632362f6405 SHA512 daebe340f3349f178a1e5f630333b200068ee464de3315c13adc68ead40a5b8531e5748cd0c825646b8ae6046dec537683f19efaa3daafc871916c2251752afb
+EBUILD tiobench-0.5.0.ebuild 811 BLAKE2B 982f825662a65f8a792619c066b171c0354f420dd14e92c1ed5008d545c843a204fb05e2d19a3a317475053dd074bad3b58e677ad41ee0dfb8770d42b08a6f78 SHA512 538f8f66ffcb9f1a036a2c8968b4ab6e56acc7263b81fca5a3e97d5ff2e14d93083879b6a05ced4fbe59f027e3217a575f2ed8385bc6c879f62625ec0e41f8b5
+MISC metadata.xml 333 BLAKE2B db394606ad6f6e99927cebeddca546c4f2662eabe9b9f8eb3af7b40bfab848e797013d075e79bb2e2102c90f440385566fa0e6d392b96459f6396ba9d851f160 SHA512 e0bbe6750c17b4559e7eb4877f35881f2313220404bb60bd139f6195672129606058de90c6176ef0e477082e855cc12521495be37de6d7288a3b885fe1557078
diff --git a/app-benchmarks/tiobench/metadata.xml b/app-benchmarks/tiobench/metadata.xml
index 2dc327a7e02e..d8b70044e059 100644
--- a/app-benchmarks/tiobench/metadata.xml
+++ b/app-benchmarks/tiobench/metadata.xml
@@ -6,7 +6,6 @@
<name>Alice Ferrazzi</name>
</maintainer>
<upstream>
- <remote-id type="github">mkuoppal/tiobench</remote-id>
- <remote-id type="sourceforge">tiobench</remote-id>
+ <remote-id type="github">aliceinwire/tiobench</remote-id>
</upstream>
</pkgmetadata>
diff --git a/app-benchmarks/tiobench/tiobench-0.5.0.ebuild b/app-benchmarks/tiobench/tiobench-0.5.0.ebuild
new file mode 100644
index 000000000000..fdccf6c88e2f
--- /dev/null
+++ b/app-benchmarks/tiobench/tiobench-0.5.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Portable, robust, fully-threaded I/O benchmark program"
+HOMEPAGE="https://github.com/aliceinwire/tiobench"
+SRC_URI="https://github.com/aliceinwire/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="dev-lang/perl"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ sed -i \
+ -e "s:/usr/local/bin:${EPREFIX}/usr/sbin:" tiobench.pl \
+ || die "sed tiobench.pl failed"
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ LINK="$(tc-getCC)" \
+ DEFINES="-DLARGEFILES" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dosbin tiotest tiobench.pl scripts/tiosum.pl
+ einstalldocs
+}