summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-benchmarks/phoronix-test-suite/Manifest2
-rw-r--r--app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.4.0_beta3.ebuild112
2 files changed, 114 insertions, 0 deletions
diff --git a/app-benchmarks/phoronix-test-suite/Manifest b/app-benchmarks/phoronix-test-suite/Manifest
index 8676abd..8e5daf0 100644
--- a/app-benchmarks/phoronix-test-suite/Manifest
+++ b/app-benchmarks/phoronix-test-suite/Manifest
@@ -8,6 +8,7 @@ DIST phoronix-test-suite-3.2.0m4.tar.gz 396873 RMD160 c93d149840e9c101347e4c7b01
DIST phoronix-test-suite-3.2.1.tar.gz 399167 RMD160 f6d5130390f1efc2d8036b7c91de5f7edab30504 SHA1 14b6ad90dd9aae7e8f443e263dd9800b98bd4889 SHA256 b5c8d35ece50450e5b50e67d3f6bd67cb41821d5e181551a514344afa9b25962
DIST phoronix-test-suite-3.4.0m1.tar.gz 407895 RMD160 a3e043f11777a8b7507f399ee455383a131d954d SHA1 d8423c80adc84b259117be2bd32109bf00db48d6 SHA256 f17d14cfd4df4013b32f543e0c25fa9ad33a527acb7753a239663fdb5100b202
DIST phoronix-test-suite-3.4.0m2.tar.gz 412361 RMD160 fc6dd1c545a514599dbd2c278fbd8e7b9271cc11 SHA1 d4e1d17617cb6645132908511f57abae501a81ad SHA256 287feddca6da39af8f6408ef887cccf03375d0f3b6aa219275af2ae49ffcd5e1
+DIST phoronix-test-suite-3.4.0m3.tar.gz 418517 RMD160 a23fd557f67af910db12db72563f7d568d6039d0 SHA1 7a41b1557299caa3538561a96b4007faf7357cbe SHA256 905ea0d97803ce4320763a28de5c3b1f83d9fe5597be699e811557918e5c4fe1
EBUILD phoronix-test-suite-3.0.0.ebuild 1822 RMD160 e9b148ffe0434b9884a4e2d4b07d7823606d0096 SHA1 ec9e19e41ebdc65a3f52bfba2b93becab2998b02 SHA256 073d57705a245c55896cbe5c570968611c7f307d061cb3e3aff7998ba0f93ae6
EBUILD phoronix-test-suite-3.0.1-r1.ebuild 2273 RMD160 8067ac41faebdc6544f2a7b8d0605dc06f2d5d2d SHA1 4f6a00fa5f7cafdfa83e3094f9613d7a41a9ba36 SHA256 87ee0bfd6f4b1c44758576febff77bfae4b630961eb42a493985652dffa39dd0
EBUILD phoronix-test-suite-3.0.1.ebuild 2334 RMD160 01c356023775232d65dabc115c27fbb97ed45952 SHA1 bded3d6c4641d3a58c2cb3b2c9972ee6d5facc53 SHA256 8570a8e9fe1fa029bb5986fdd1a21b9280d606e042025d5f263e0b618c79494c
@@ -22,3 +23,4 @@ EBUILD phoronix-test-suite-3.2.1-r1.ebuild 3482 RMD160 33db236ac91e7bc8319fe8cda
EBUILD phoronix-test-suite-3.2.1.ebuild 3564 RMD160 8918ee77789870c4a51259fa970ee6bb7d96d5e2 SHA1 1584f5886999d41e14a04cd9a4b99c2bfdb0132a SHA256 507077939735a772fc827d1c82f7fe10da36a5d60488903afce76dc8e764fa6f
EBUILD phoronix-test-suite-3.4.0_beta1.ebuild 3479 RMD160 9a46c5af7d3f3fdd99f0ff6710f2828fcca43d0e SHA1 6c526e4571d50ccb3f34594f9982971c8e6ba056 SHA256 02525a4dcb51ec9803c2ad8652c03ea1a4a10c5d86a067c9236e78b1f766381a
EBUILD phoronix-test-suite-3.4.0_beta2.ebuild 3397 RMD160 f61dabf125524131c8a2521e069a05e87406251e SHA1 22f175dc0e284aed57ce7a9a41c8bdfd26dfa8fb SHA256 165e20e11c2531b225032554637be614ba112c748fda30c169e06f7de5fbf2ad
+EBUILD phoronix-test-suite-3.4.0_beta3.ebuild 3397 RMD160 c4fa8c6c6b056545943b16c5c320ff618c933349 SHA1 e9386c4c5d5fa6e66b1daa9462e32013386e93da SHA256 89b7bf0689483fe7c50ca1ca2cac5e0242f48fd9f40458516c851af9d552354c
diff --git a/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.4.0_beta3.ebuild b/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.4.0_beta3.ebuild
new file mode 100644
index 0000000..f26d453
--- /dev/null
+++ b/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.4.0_beta3.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils bash-completion
+
+DESCRIPTION="Phoronix's comprehensive, cross-platform testing and benchmark suite"
+HOMEPAGE="http://www.phoronix-test-suite.com"
+MY_PV="${PN}-3.4.0m3"
+SRC_URI="http://www.phoronix-test-suite.com/download.php?file=development/${MY_PV} -> ${MY_PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+
+# php 5.3 doesn't have pcre and reflection useflags anymore
+RDEPEND="dev-lang/php:5.3[cli,curl,gd,posix,pcntl,truetype,zip]
+ dev-php5/pecl-ps"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ sed -i -e "s,export PTS_DIR=\`pwd\`,export PTS_DIR=\"/usr/share/${PN}\"," \
+ phoronix-test-suite
+}
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ dodir /usr/share/${PN}
+ insinto /usr/share/${PN}
+
+ doman documentation/man-pages/phoronix-test-suite.1
+ dodoc AUTHORS CHANGE-LOG COPYING
+ dohtml -r documentation/
+ doicon pts-core/static/images/phoronix-test-suite.png
+ doicon pts-core/static/images/openbenchmarking.png
+ domenu pts-core/static/phoronix-test-suite.desktop
+ rm -f pts-core/static/phoronix-test-suite.desktop
+
+ doins -r pts-core
+ exeinto /usr/bin
+ doexe phoronix-test-suite
+
+ #fperms a+x /usr/share/${PN}/pts/test-resources/*/*.sh
+ #fperms a+x /usr/share/${PN}/pts/base-test-resources/*/*.sh
+ #fperms a+x /usr/share/${PN}/pts-core/modules/*.sh
+ #fperms a+x /usr/share/${PN}/pts-core/test-libraries/*.sh
+ fperms a+x /usr/share/${PN}/pts-core/static/scripts/root-access.sh
+ fperms a+x /usr/share/${PN}/pts-core/external-test-dependencies/scripts/install-gentoo-packages.sh
+
+ dobashcompletion pts-core/static/bash_completion ${PN}
+
+ # Need to fix the cli-php config for downloading to work. Very naughty!
+ local slots
+ local slot
+ if [[ "x${PHP_TARGETS}" == "x" ]] ; then
+ ewarn
+ ewarn "PHP_TARGETS seems empty, php.ini file can't be configure."
+ ewarn "Make sure that PHP_TARGETS in /etc/make.conf is set."
+ ewarn
+ else
+ for slot in ${PHP_TARGETS}; do
+ slots+=" ${slot/-/.}"
+ done
+ fi
+
+ for slot in ${slots}; do
+ local PHP_INI_FILE="/etc/php/cli-${slot}/php.ini"
+ if [[ -f ${PHP_INI_FILE} ]] ; then
+ dodir $(dirname ${PHP_INI_FILE})
+ cp ${PHP_INI_FILE} "${D}${PHP_INI_FILE}"
+ sed -e 's|^allow_url_fopen .*|allow_url_fopen = On|g' -i "${D}${PHP_INI_FILE}"
+ else
+ if [[ "x$(eselect php show cli)" == "x${slot}" ]] ; then
+ ewarn
+ ewarn "${slot} hasn't a php.ini file."
+ ewarn "phoronix-test-suite needs the allow_url_fopen option set to \"On\""
+ ewarn "for downloading to work properly."
+ ewarn "Check that your PHP_INI_VERSION is set during ${slot} merge"
+ ewarn
+ else
+ elog
+ elog "${slot} hasn't a php.ini file."
+ elog "phoronix-test-suite may need the allow_url_fopen option set to \"On\""
+ elog "for downloading to work properly if you switch to ${slot}"
+ elog "Check that your PHP_INI_VERSION is set during ${slot} merge"
+ elog
+ fi
+ fi
+ done
+
+ ewarn
+ ewarn "If you upgrade from phoronix-test-suite-2*, you should reinstall all"
+ ewarn "your tests because"
+ ewarn " \$HOME/.phoronix-test-suite/installed-tests/\$TEST_NAME/"
+ ewarn "moves to"
+ ewarn " \$HOME/.phoronix-test-suite/installed-tests/pts/\$TEST_NAME-\$TEST_VERSION/"
+ ewarn "in phoronix-test-suite-3* version. The \$TEST_VERSION can be find in"
+ ewarn "pts-install.xml file."
+ ewarn
+}