Portage is a package management system used by Gentoo Linux
# ChangeLog for app-benchmarks/volanomark
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/volanomark/ChangeLog,v 1.8 2007/07/02 13:42:04 peper Exp $
02 Jul 2007; Piotr JaroszyĆski
volanomark-2.5.0.9.ebuild:
(QA) RESTRICT clean up.
23 Jan 2007; Marius Mauch
Replacing einfo with elog
14 Apr 2004; Daniel Black
volanomark-2.5.0.9.ebuild:
Stable on x86 amd64
11 Feb 2004; Dylan Carlson
fixed to set correct stack sizes for x86 and amd64.
*volanomark-2.5.0.9 (09 Feb 2004)
09 Feb 2004; Dylan Carlson
volanomark-2.5.0.9.ebuild:
package moved from app-benchmarks/volcanomark to app-benchmarks/volanomark.
added ~amd64 keyword.
09 Feb 2004; Daniel Black
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
volcanomark-2.5.0.9.ebuild:
Initial import. Thanks to Chris Aniszczyk
ebuild. bug #40790
DIST vmark2_5_0_9.class 1591590 RMD160 cef1df9d2bd9841e487ec5b430f1a8e61f8946d7 SHA1 1c2eac34085c9ef33e0c68b99d65bc0fb03d6e55 SHA256 55ae31452e771caded4af1bb45a2e01b710a3c3b02eea372db0d6d535591a7b4
EBUILD volanomark-2.5.0.9.ebuild 1874 RMD160 eb55abcea3ee8a083eb74758393d55b4319ad27f SHA1 9140be3360614fd203684d3b117400dfd858f38d SHA256 73627937db093bebeaa26cd897b4e85e6150fc84946e89d15453e97ff29561d0
MISC ChangeLog 1283 RMD160 c564bc17ca4a6087a93c5e5dcb3d7cbab9092091 SHA1 89fedea05fdebff4440a0bafc1d4573187a05ce3 SHA256 1ee48223bc318e0d98a78485c8dc162b628430636c9064dc6d95932e407de266
MISC metadata.xml 412 RMD160 1376a69a94f554687d18ef249676b271b788fea5 SHA1 f9ccc41bdba5456af750ba50144bd52c2b217d16 SHA256 92c566ea929c4999d933aa34dd48e013ffba10fd751976d429e42adb17d626fe
# Copyright 1999-2007 Gentoo Foundation
# 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.7 2007/07/02 13:42:04 peper 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="mirror"
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 :' \
-e 's:-Sn:-n:' \
${D}/opt/${PN}/startup.sh
sed -i -e "s#^./startup.sh#/opt/${PN}/startup.sh#g" ${D}/opt/${PN}/*.sh
# Set stack-size correctly for different arches
if [ "${ARCH}" == "amd64" ] ; then
sed -i -e 's:Xss96:Xss512:' ${D}/opt/${PN}/startup.sh
else
sed -i -e 's:Xss96:Xss128:' ${D}/opt/${PN}/startup.sh
fi
keepdir /opt/${PN}/logs
}
pkg_postinst() {
ewarn "The vendor provided installation script is somewhat broken!"
elog
elog "startup.sh was patched to allow the use of the current JVM as"
elog "selected by java-config. This means that regardless of the"
elog "Java vendor you specify to ${PN}, it will STILL use the default"
elog "JVM configured via java-config"
elog
elog "Just make sure that when you run ${PN}, the Java vendor you specify"
elog "matches up with what java-config is configured for. Otherwise specific"
elog "vendor specific options runtime may not work."
elog
elog "Remember to check the host property in startup.sh to the host that is"
elog "running the server"
}