diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-02-09 03:32:47 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-02-09 03:32:47 +0000 |
commit | 78c222498cd1e6605be6a71239829d5ea41f7b57 (patch) | |
tree | b12d2e9d07643e69732b6782b8d4ebb49598d1aa /app-benchmarks | |
parent | Putting einfo's in 2.2.4 to mention --disable-alsa. Added boost dep to 2.2.5... (diff) | |
download | historical-78c222498cd1e6605be6a71239829d5ea41f7b57.tar.gz historical-78c222498cd1e6605be6a71239829d5ea41f7b57.tar.bz2 historical-78c222498cd1e6605be6a71239829d5ea41f7b57.zip |
Fixed a few things. Should be able to run from any dir now.
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/volcanomark/ChangeLog | 6 | ||||
-rw-r--r-- | app-benchmarks/volcanomark/Manifest | 4 | ||||
-rw-r--r-- | app-benchmarks/volcanomark/volcanomark-2.5.0.9.ebuild | 28 |
3 files changed, 29 insertions, 9 deletions
diff --git a/app-benchmarks/volcanomark/ChangeLog b/app-benchmarks/volcanomark/ChangeLog index 40135dc77274..e2d97df1d939 100644 --- a/app-benchmarks/volcanomark/ChangeLog +++ b/app-benchmarks/volcanomark/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-benchmarks/volcanomark # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/volcanomark/ChangeLog,v 1.1 2004/02/09 02:50:40 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/volcanomark/ChangeLog,v 1.2 2004/02/09 03:32:47 dragonheart Exp $ + + 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) diff --git a/app-benchmarks/volcanomark/Manifest b/app-benchmarks/volcanomark/Manifest index 05e670d84d87..229e6a464486 100644 --- a/app-benchmarks/volcanomark/Manifest +++ b/app-benchmarks/volcanomark/Manifest @@ -1,4 +1,4 @@ -MD5 faa65b64515a77e53afe6a0aba3f2bce volcanomark-2.5.0.9.ebuild 1149 +MD5 3b00b3f5cff4521fb1cb4e78becd9304 volcanomark-2.5.0.9.ebuild 1685 MD5 20df39f1c599ecdff828aef616e1e26e metadata.xml 412 -MD5 bc100d7c93a593ef857ff1f743530000 ChangeLog 471 +MD5 1995a5f09d09d8a193f49d1b85d2d619 ChangeLog 617 MD5 81e522796f58f0b32c4e071f7b2f668f files/digest-volcanomark-2.5.0.9 64 diff --git a/app-benchmarks/volcanomark/volcanomark-2.5.0.9.ebuild b/app-benchmarks/volcanomark/volcanomark-2.5.0.9.ebuild index 3851935bf028..ce0bab92656f 100644 --- a/app-benchmarks/volcanomark/volcanomark-2.5.0.9.ebuild +++ b/app-benchmarks/volcanomark/volcanomark-2.5.0.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/volcanomark/volcanomark-2.5.0.9.ebuild,v 1.1 2004/02/09 02:50:40 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/volcanomark/volcanomark-2.5.0.9.ebuild,v 1.2 2004/02/09 03:32:47 dragonheart Exp $ DESCRIPTION="Java server benchmark utility" HOMEPAGE="http://www.volano.com/benchmarks.html" @@ -21,21 +21,37 @@ DEPEND="virtual/jre RDEPEND="virtual/jre" src_unpack() { - echo "No unpack required" + 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=.*#host=`hostname`#" ${D}/opt/${PN}/startup.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 will need to be edited with the correct" - einfo "path to the desired java installations you would" - einfo "like to benchmark." + 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" + } |