diff options
author | Dylan Carlson <absinthe@gentoo.org> | 2004-02-10 04:34:42 +0000 |
---|---|---|
committer | Dylan Carlson <absinthe@gentoo.org> | 2004-02-10 04:34:42 +0000 |
commit | f49662eedb44a3bb63991ebe988665cee781ab10 (patch) | |
tree | 92d11da1f3de2d4037e5a9e765b539ec8c0b9595 /app-benchmarks/volanomark | |
parent | app-benchmarks/volanomark (diff) | |
download | historical-f49662eedb44a3bb63991ebe988665cee781ab10.tar.gz historical-f49662eedb44a3bb63991ebe988665cee781ab10.tar.bz2 historical-f49662eedb44a3bb63991ebe988665cee781ab10.zip |
moved from app-benchmarks/volcanomark.
Diffstat (limited to 'app-benchmarks/volanomark')
-rw-r--r-- | app-benchmarks/volanomark/ChangeLog | 22 | ||||
-rw-r--r-- | app-benchmarks/volanomark/Manifest | 4 | ||||
-rw-r--r-- | app-benchmarks/volanomark/files/digest-volanomark-2.5.0.9 | 1 | ||||
-rw-r--r-- | app-benchmarks/volanomark/metadata.xml | 12 | ||||
-rw-r--r-- | app-benchmarks/volanomark/volanomark-2.5.0.9.ebuild | 57 |
5 files changed, 96 insertions, 0 deletions
diff --git a/app-benchmarks/volanomark/ChangeLog b/app-benchmarks/volanomark/ChangeLog new file mode 100644 index 000000000000..103b447b2767 --- /dev/null +++ b/app-benchmarks/volanomark/ChangeLog @@ -0,0 +1,22 @@ +# ChangeLog for app-benchmarks/volcanomark +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/volanomark/ChangeLog,v 1.1 2004/02/10 04:34:42 absinthe Exp $ + +*volanomark-2.5.0.9 (09 Feb 2004) + + 09 Feb 2004; Dylan Carlson <absinthe@gentoo.org> metadata.xml, + volanomark-2.5.0.9.ebuild: + package moved from app-benchmarks/volcanomark to app-benchmarks/volanomark. + added ~amd64 keyword. + + 09 Feb 2004; Daniel Black <dragonheart@gentoo.org> + volcanomark-2.5.0.9.ebuild: + Fixed a few things. Should be able to run from any dir now. + +*volcanomark-2.5.0.9 (09 Feb 2004) + + 09 Feb 2004; Daniel Black <dragonheart@gentoo.org> metadata.xml, + volcanomark-2.5.0.9.ebuild: + Initial import. Thanks to Chris Aniszczyk <zx@mea-culpa.net> for doing the + ebuild. bug #40790 + diff --git a/app-benchmarks/volanomark/Manifest b/app-benchmarks/volanomark/Manifest new file mode 100644 index 000000000000..c891c0e3404c --- /dev/null +++ b/app-benchmarks/volanomark/Manifest @@ -0,0 +1,4 @@ +MD5 32a20ea32f8c61d4ffdda1999b259b1a ChangeLog 845 +MD5 20df39f1c599ecdff828aef616e1e26e metadata.xml 412 +MD5 5c28bd8c0a6d4f9a45c18efa47883558 volanomark-2.5.0.9.ebuild 1675 +MD5 81e522796f58f0b32c4e071f7b2f668f files/digest-volanomark-2.5.0.9 64 diff --git a/app-benchmarks/volanomark/files/digest-volanomark-2.5.0.9 b/app-benchmarks/volanomark/files/digest-volanomark-2.5.0.9 new file mode 100644 index 000000000000..e583c7e4c797 --- /dev/null +++ b/app-benchmarks/volanomark/files/digest-volanomark-2.5.0.9 @@ -0,0 +1 @@ +MD5 515272327a8b1d70f25d2c05e990362b vmark2_5_0_9.class 1591590 diff --git a/app-benchmarks/volanomark/metadata.xml b/app-benchmarks/volanomark/metadata.xml new file mode 100644 index 000000000000..f89907129ec4 --- /dev/null +++ b/app-benchmarks/volanomark/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>dragonheart@gentoo.org</email> + <name>Daniel Black</name> + <description>Imported for Beaver Challenge 2004. Please take over if you want it</description> +</maintainer> +<longdescription>Java Benchmark test</longdescription> +</pkgmetadata> + diff --git a/app-benchmarks/volanomark/volanomark-2.5.0.9.ebuild b/app-benchmarks/volanomark/volanomark-2.5.0.9.ebuild new file mode 100644 index 000000000000..680400e4ce1d --- /dev/null +++ b/app-benchmarks/volanomark/volanomark-2.5.0.9.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/volanomark/volanomark-2.5.0.9.ebuild,v 1.1 2004/02/10 04:34:42 absinthe Exp $ + +DESCRIPTION="Java server benchmark utility" +HOMEPAGE="http://www.volano.com/benchmarks.html" +SRC_URI="http://www.volano.com/pub/vmark2_5_0_9.class" +LICENSE="Volano" + +# Below because of licensing. +RESTRICT="nomirror" + +SLOT="0" + +KEYWORDS="~x86 ~amd64" +IUSE="" +DEPEND="virtual/jre + >=sys-apps/sed-4 + sys-apps/net-tools" + +RDEPEND="virtual/jre" + +src_unpack() { + einfo "No unpack required" +} + +src_install() { + dodir /opt/${PN} + java -classpath ${DISTDIR} vmark2_5_0_9 -o ${D}/opt/${PN} + chmod 755 ${D}/opt/${PN}/*.sh + sed -i -e "s#^host=.*#cd /opt/${PN}\nhost=`hostname`#" \ + -e 's:"$java":java:g' \ + -e 's:! -f: -z :' \ + ${D}/opt/${PN}/startup.sh + + sed -i -e "s#^./startup.sh#/opt/${PN}/startup.sh#g" ${D}/opt/${PN}/*.sh + + keepdir /opt/${PN}/logs +} + +pkg_postinst() { + + ewarn "The vendor provided installation script is somewhat broken!" + einfo + einfo "startup.sh was patched to allow the use of the current JVM as" + einfo "selected by java-config. This means that regardless of the" + einfo "Java vendor you specify to ${PN}, it will STILL use the default" + einfo "JVM configured via java-config" + einfo + einfo "Just make sure that when you run ${PN}, the Java vendor you specify" + einfo "matches up with what java-config is configured for. Otherwise specific" + einfo "vendor specific options runtime may not work." + einfo + einfo "Remember to check the host property in startup.sh to the host that is" + einfo "running the server" + +} |