diff options
author | Dylan Carlson <absinthe@gentoo.org> | 2003-03-16 10:42:10 +0000 |
---|---|---|
committer | Dylan Carlson <absinthe@gentoo.org> | 2003-03-16 10:42:10 +0000 |
commit | b5b645ade58091834492380128a58ed7d0d1c70a (patch) | |
tree | 8b1176cf0c4defa129320592354e46b078bc1026 /app-benchmarks | |
parent | new release (diff) | |
download | gentoo-2-b5b645ade58091834492380128a58ed7d0d1c70a.tar.gz gentoo-2-b5b645ade58091834492380128a58ed7d0d1c70a.tar.bz2 gentoo-2-b5b645ade58091834492380128a58ed7d0d1c70a.zip |
Initial import. Apache JMeter is a Java-based tool that will load test and measure performance on HTTP/FTP services, and databases.
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/jmeter/ChangeLog | 21 | ||||
-rw-r--r-- | app-benchmarks/jmeter/files/digest-jmeter-1.8.1 | 1 | ||||
-rw-r--r-- | app-benchmarks/jmeter/files/jmeter-1.8.1-gentoo.diff | 34 | ||||
-rw-r--r-- | app-benchmarks/jmeter/jmeter-1.8.1.ebuild | 31 |
4 files changed, 87 insertions, 0 deletions
diff --git a/app-benchmarks/jmeter/ChangeLog b/app-benchmarks/jmeter/ChangeLog new file mode 100644 index 000000000000..8ac3292c6861 --- /dev/null +++ b/app-benchmarks/jmeter/ChangeLog @@ -0,0 +1,21 @@ +# ChangeLog for app-benchmarks/jmeter +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/ChangeLog,v 1.1 2003/03/16 10:42:10 absinthe Exp $ + +*jmeter-1.8.1 (16 Mar 2003) + + 16 Mar 2003; Dylan Carlson <absinthe@gentoo.org> jmeter-1.8.1.ebuild, + files/jmeter-1.8.1-gentoo.diff: + Initial import. + + Apache JMeter may be used to test performance both on static and dynamic + resources (files, Servlets, Perl scripts, Java Objects, Data Bases and + Queries, FTP Servers and more). It can be used to simulate a heavy load on + a server, network or object to test its strength or to analyze overall + performance under different load types. You can use it to make a graphical + analysis of performance or to test your server/script/object behavior under + heavy concurrent load. + + 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/files/digest-jmeter-1.8.1 b/app-benchmarks/jmeter/files/digest-jmeter-1.8.1 new file mode 100644 index 000000000000..7b2d6107beab --- /dev/null +++ b/app-benchmarks/jmeter/files/digest-jmeter-1.8.1 @@ -0,0 +1 @@ +MD5 9d0a946461a05a20c1662a0c18203cd0 jakarta-jmeter-1.8.1.tgz 5077769 diff --git a/app-benchmarks/jmeter/files/jmeter-1.8.1-gentoo.diff b/app-benchmarks/jmeter/files/jmeter-1.8.1-gentoo.diff new file mode 100644 index 000000000000..68ea05ba54cb --- /dev/null +++ b/app-benchmarks/jmeter/files/jmeter-1.8.1-gentoo.diff @@ -0,0 +1,34 @@ +diff -ur jakarta-jmeter-1.8.1/bin/jmeter new/bin/jmeter +--- jakarta-jmeter-1.8.1/bin/jmeter 2003-01-28 14:22:52.000000000 -0500 ++++ new/bin/jmeter 2003-03-16 04:58:31.000000000 -0500 +@@ -1,3 +1,6 @@ + #! /bin/sh + ++echo This program requires the Sun JDK 1.3.1 or later! ++echo Other JDKs like IBM will not work! ++ + java -Xincgc -jar `dirname $0`/ApacheJMeter.jar "$@" +diff -ur jakarta-jmeter-1.8.1/bin/jmeter-server new/bin/jmeter-server +--- jakarta-jmeter-1.8.1/bin/jmeter-server 2003-01-28 14:22:52.000000000 -0500 ++++ new/bin/jmeter-server 2003-03-16 04:58:47.000000000 -0500 +@@ -1,3 +1,6 @@ + #!/bin/sh + ++echo This program requires the Sun JDK 1.3.1 or later! ++echo Other JDKs like IBM will not work! ++ + `dirname $0`/jmeter -s +diff -Nur jakarta-jmeter-1.8.1/jmeter new/jmeter +--- jakarta-jmeter-1.8.1/jmeter 1969-12-31 19:00:00.000000000 -0500 ++++ new/jmeter 2003-03-16 05:10:32.000000000 -0500 +@@ -0,0 +1,3 @@ ++#! /bin/sh ++ ++/opt/jmeter/bin/jmeter "$@" +diff -Nur jakarta-jmeter-1.8.1/jmeter-server new/jmeter-server +--- jakarta-jmeter-1.8.1/jmeter-server 1969-12-31 19:00:00.000000000 -0500 ++++ new/jmeter-server 2003-03-16 05:10:46.000000000 -0500 +@@ -0,0 +1,3 @@ ++#!/bin/sh ++ ++/opt/jmeter/bin/jmeter-server "$@" diff --git a/app-benchmarks/jmeter/jmeter-1.8.1.ebuild b/app-benchmarks/jmeter/jmeter-1.8.1.ebuild new file mode 100644 index 000000000000..29e2c75b0c46 --- /dev/null +++ b/app-benchmarks/jmeter/jmeter-1.8.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/jmeter-1.8.1.ebuild,v 1.1 2003/03/16 10:42:10 absinthe Exp $ + +S=${WORKDIR}/${PN}-${PV} +P=jakarta-${PN}-${PV} +DOWNLOAD="v1.8/${P}.tgz" +DESCRIPTION="Load test and measure performance on HTTP/FTP services, and databases." +HOMEPAGE="http://jakarta.apache.org/jmeter/index.html" +SRC_URI="http://jakarta.apache.org/builds/jakarta-jmeter/release/${DOWNLOAD}" +DEPEND=">=dev-java/sun-jdk-1.3.1" +RDEPEND=">=dev-java/sun-jdk-1.3.1" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc" + +src_compile () { + cd ${WORKDIR}/${P} + patch -p1 < ${FILESDIR}/${PN}-${PV}-gentoo.diff +} + +src_install () { + cd ${WORKDIR}/${P} + DIROPTIONS="--mode=0775" + dodir /opt/${PN} + cp -ar bin/ lib/ ${D}/opt/${PN}/ + dobin jmeter jmeter-server + dodoc LICENSE README + use doc && dohtml -r docs/* +} |