summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-02-09 03:32:47 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-02-09 03:32:47 +0000
commitfb96c3aa19173281a5c0707d1fdee30aeecf9ebe (patch)
tree3f53452435555c77a0eff1f418df46a13ae2c377 /app-benchmarks
parentPutting einfo's in 2.2.4 to mention --disable-alsa. Added boost dep to 2.2.5... (diff)
downloadgentoo-2-fb96c3aa19173281a5c0707d1fdee30aeecf9ebe.tar.gz
gentoo-2-fb96c3aa19173281a5c0707d1fdee30aeecf9ebe.tar.bz2
gentoo-2-fb96c3aa19173281a5c0707d1fdee30aeecf9ebe.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/ChangeLog6
-rw-r--r--app-benchmarks/volcanomark/volcanomark-2.5.0.9.ebuild28
2 files changed, 27 insertions, 7 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/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"
+
}