summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann Schmitz <ercpe@gentoo.org>2014-07-12 11:09:01 +0000
committerJohann Schmitz <ercpe@gentoo.org>2014-07-12 11:09:01 +0000
commit3fb40eb68ed7faa4da1dade9f1f901572fc23358 (patch)
treef2db70aeeaec619db9091dc8ef0cfa5095bf1986 /app-benchmarks
parentVersion bump (bug #516930 by Sasha Medvedev). (diff)
downloadhistorical-3fb40eb68ed7faa4da1dade9f1f901572fc23358.tar.gz
historical-3fb40eb68ed7faa4da1dade9f1f901572fc23358.tar.bz2
historical-3fb40eb68ed7faa4da1dade9f1f901572fc23358.zip
Bumped to EAPI=5, fixed compilation issues with 1.7 (bug #514662), fixed installation of documentation (#282219), add /opt/jmeter/bin to PATH via env.d (bug #238564)
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x77C501ED
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/jmeter/ChangeLog12
-rw-r--r--app-benchmarks/jmeter/Manifest17
-rw-r--r--app-benchmarks/jmeter/jmeter-2.0.1-r5.ebuild72
3 files changed, 97 insertions, 4 deletions
diff --git a/app-benchmarks/jmeter/ChangeLog b/app-benchmarks/jmeter/ChangeLog
index 415f3722e26d..b811d09112cf 100644
--- a/app-benchmarks/jmeter/ChangeLog
+++ b/app-benchmarks/jmeter/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-benchmarks/jmeter
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/ChangeLog,v 1.37 2011/12/19 13:06:31 sera Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/ChangeLog,v 1.38 2014/07/12 11:08:48 ercpe Exp $
+
+*jmeter-2.0.1-r5 (12 Jul 2014)
+
+ 12 Jul 2014; Johann Schmitz <ercpe@gentoo.org> +jmeter-2.0.1-r5.ebuild:
+ Bumped to EAPI=5, fixed compilation issues with 1.7 (bug #514662), fixed
+ installation of documentation (#282219), add /opt/jmeter/bin to PATH via env.d
+ (bug #238564)
19 Dec 2011; Ralph Sennhauser <sera@gentoo.org> jmeter-2.0.1-r2.ebuild,
jmeter-2.0.1-r3.ebuild, jmeter-2.0.1-r4.ebuild:
@@ -150,4 +157,3 @@
NOTE: This application requires Sun's JDK, and will not work correctly if you
currently have your user environment set to use IBM's JDK, or another.
-
diff --git a/app-benchmarks/jmeter/Manifest b/app-benchmarks/jmeter/Manifest
index ad259f1e78b9..bfb9c3a7c11d 100644
--- a/app-benchmarks/jmeter/Manifest
+++ b/app-benchmarks/jmeter/Manifest
@@ -1,6 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST jakarta-jmeter-2.0.1_src.tgz 5368483 SHA256 8dc7b0ff680af721adeeab198f7dc99f5e376df04c2504291564cfaccdcf5f36 SHA512 221a9d1ed19407ab0b863443827f8b6d7f179ef27227defc3c71ab4ccb5981bbb82f239206993590500a9adf2444cdcefb219dcb28afe6488659a2be19374b08 WHIRLPOOL 07a980e7f46da636d760a0c62ba42de653fda3417cc2442fc34d5e13b46291b3a3f0c49fd05a93bdebb7d8968c5a77e643a59094fdf619d0dc24e048a9e5f762
EBUILD jmeter-2.0.1-r2.ebuild 1509 SHA256 dd7a1f963407a62470ce3e2ef6c0ff79205d2594a3a93d480c3bb56859168ec7 SHA512 ef1f6c78cd128bcf46b41989654ea2f1237f87a7aadb7925b58322973e23dd87c4baf7ad8a80bf9a32e7d2dc4aa87f59308b89ed8265f4246cc0bb81aac37bb1 WHIRLPOOL 6f90c1533212961476cc451bd6adb84eb51642b0138fd7bcc8e519f934002f461f9997a752ca8d665626bc019189dad373f591e7307022e0d1e3c6622db53a23
EBUILD jmeter-2.0.1-r3.ebuild 1509 SHA256 6d192da01875273402a43abf7f28e3c473620f0f88c24df7c36d040f482b66a0 SHA512 88467170211a20d6f22b479eeb579c3e5696285f1d96280b9dcb4eaddcbcdf7ab5995c53e06abba3a1c506278500403d55b8f08ae04de1224d0693d8e35e1b02 WHIRLPOOL ff68a48ba4b0b40ff3d942360dbd343073dbd68fca65de895f9080d314bc4c8bc77dcc0f337f890e3498e30a5f3df7c5dc8d788b11d362bbabff87cdec0e5916
EBUILD jmeter-2.0.1-r4.ebuild 1588 SHA256 0170d4a3376bbd45c50d2642c11e9518fd54d2d639c341e83ee37f90e44aaca1 SHA512 a50f3e2d40cc79699ef1713b08986fb07ea9575cb1f6b7fc1d37d0d64ea290e13529cf514247259549af885e2e1d99128c882cdf51b3327efd82a1b87b7faadf WHIRLPOOL f6d516cbd94851d3976d8d8f29e8cc766c6db8d5674fd0b1e198320a0a09aadd88c40836c45e6f906efccab4682f586176513dab21f3d20065c9facc321d30d3
-MISC ChangeLog 5623 SHA256 515e6d74c1b279777b2f50e11b9781d6af57b7f64568c7c38f7c40af09e6e10e SHA512 f82542a58b1f22cc11f76ed4853b0a269f9c38e4c906302143adbf707309c94335b7da65f7b574a70b2d7e201dc1f6a456be8a84ac29baf85d03c2e1ac62f2ab WHIRLPOOL d1d7b42deaaea1a266f01c21f23b9490e9c128e7d21caf0eaad3efc9bf4a42fac7ecec24b040f2221ba5bb2aad1571641c065d79db45e6fb23dc8558636e5749
+EBUILD jmeter-2.0.1-r5.ebuild 1910 SHA256 8d0c197d71e3a839c3cb5382e020a766f3a515d90e19fd915ca49943182fd177 SHA512 67e0f3f2e15b63fc110eb402899fe0e7dee181335da3f427bee716a192f7f7797713d73e943d22f42cc56960d458c39239f475f877c04d0a22cfd0b7a51720c3 WHIRLPOOL c4a6488a575d59034cb3278fc5f69fc02cdb0145dddc48444ef9f7c89f8f626ae31961186b8fb39133c59289e32774da0af22e7f658e8e8e2c4e127e74e888e1
+MISC ChangeLog 5902 SHA256 b7f0b1f6de8038df343fec35dce050f18c154c003f950166140e4058bf936b3b SHA512 db0b96c3ff20ab7ec81151706ba0463d790b5f3101ef553c886d17f169478f0ccfa758585a8eca2749b062b68e6b43d311a03c3c4dd7357b7155cd80f33637e8 WHIRLPOOL 18f7a247cc59d41ba226ddeea0568a9d28c40dab6a75ca0113364412501bcfd3674407b656db4de77b6239d62655b79ecd73d4185fd3afb5141d6f1589417018
MISC metadata.xml 236 SHA256 c755e62b7460ace6f5ef778fe94701f7b2e7c431a721631b4784e4a41baf4af9 SHA512 ba9f8cce787493242e2bc8c03d80bd6bc57f0bcf8af6c0ddf6b99f26783bda0b889b4e50f0d4815b870f6faa68bc468422fc7d6b99e30d76244eab235cc0e5ff WHIRLPOOL 45f2538d70eb1fc012110366ff1a3b1bbb91dd7f128ba4dc650c811f297fe644dda0638721f8007f3afe0469923a9a2597d50d752f7edbdd98f5f043376c6850
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQEcBAEBCAAGBQJTwRdKAAoJEKCEBkJ3xQHtIdwIAItUGIWsdmjWo+1xgzzKO1gJ
+dxQ8ysB55ty8TlOXSGZ3M5+Djx26yjvtUwTDpfU0W/cAuOWzCvkxsrXQDfpBGZap
+ltT+aU8qazKBxFByw024z9scDo7MjgfZAfXBGeKc3YsvRj++RFCmp4I67hDYfDsM
+l9Da+rUUzC/bDyCZAAMzbl1NRxI01uv0p7Dtb2+3XtVJXBV3e/qW2kwxmgZ6J/7N
+0C0KoS+cQUO3qy8/HKEwtII30TlHA1Ycrmy3Jaq57/E5OmH5RVkxgXwCpj9GZ4zn
+5uX8WIg+YrRBMkceGjmmqERv9I1+BndCSy/nF3stYegUMK842oFinvg239yyaWY=
+=+nke
+-----END PGP SIGNATURE-----
diff --git a/app-benchmarks/jmeter/jmeter-2.0.1-r5.ebuild b/app-benchmarks/jmeter/jmeter-2.0.1-r5.ebuild
new file mode 100644
index 000000000000..ac2f333dcafe
--- /dev/null
+++ b/app-benchmarks/jmeter/jmeter-2.0.1-r5.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/jmeter-2.0.1-r5.ebuild,v 1.1 2014/07/12 11:08:48 ercpe Exp $
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source examples"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Load test and measure performance on HTTP/FTP services and databases."
+HOMEPAGE="http://jmeter.apache.org/"
+SRC_URI="mirror://apache/jakarta/jmeter/source/jakarta-${P}_src.tgz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="beanshell"
+
+COMMON_DEP="
+ beanshell? ( dev-java/bsh )
+ >=dev-java/bsf-2.3
+ =dev-java/junit-3.8*
+ java-virtuals/javamail"
+DEPEND=">=virtual/jdk-1.4
+ doc? ( >=dev-java/velocity-1.4 )
+ dev-java/ant-nodeps
+ sys-apps/sed
+ ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+S=${WORKDIR}/jakarta-${P}
+
+java_prepare() {
+ sed -i -e 's/%//g' bin/jmeter || die "Unable to sed."
+ cd "${S}/lib" || die
+ # FIXME replace all bundled jars bug #63309
+ # then rm -f *.jar
+ use beanshell && java-pkg_jar-from bsh
+ java-pkg_jar-from bsf-2.3
+ java-pkg_jar-from junit
+ java-pkg_jar-from --virtual javamail
+ java-pkg_filter-compiler jikes
+
+ find "${S}"/src -name "*.java" | xargs sed -i -e 's:\benum\b:enumx:g' || die # fix for bug #514662
+}
+
+src_compile() {
+ local tasks="ant-nodeps"
+ use doc && tasks="${tasks} velocity"
+ ANT_TASKS="${tasks}" eant package $(use_doc docs-all) || die "compile problem"
+}
+
+src_install() {
+ DIROPTIONS="--mode=0775"
+ dodir /opt/${PN}
+ local dest="${D}/opt/${PN}/"
+ cp -pPR bin/ lib/ "${dest}" || die
+ if use doc; then
+ cp -pPR printable_docs "${dest}" || die "Failed to install docs"
+ fi
+ dodoc README
+
+ echo "PATH=\"/opt/${PN}/bin\"" > "${T}/90${PN}" || die
+ doenvd "${T}/90${PN}" || die "failed to install env.d file"
+
+ use doc && dohtml -r docs/*
+ use source && java-pkg_dosrc src/*
+ use examples && java-pkg_doexamples xdocs/demos/*
+}