summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-02-18 20:00:27 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-02-18 20:00:27 +0000
commite06b384d0c7a3a52792e6b2b52e051941aed2f20 (patch)
treeb92e17daaebc8f7d4fb09a25526856f2411776b9 /net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild
parentAdded the patch for the mremap/munmap vulnerability. Bug #42024. (diff)
downloadhistorical-e06b384d0c7a3a52792e6b2b52e051941aed2f20.tar.gz
historical-e06b384d0c7a3a52792e6b2b52e051941aed2f20.tar.bz2
historical-e06b384d0c7a3a52792e6b2b52e051941aed2f20.zip
Bug Fix.
Diffstat (limited to 'net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild')
-rw-r--r--net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild b/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild
index 70063582fbc4..72a697b98ba2 100644
--- a/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild
+++ b/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.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/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild,v 1.1 2004/02/15 05:23:26 zx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild,v 1.2 2004/02/18 20:00:27 zx Exp $
inherit java-pkg
@@ -25,19 +25,16 @@ src_compile() {
rm lib/commons-cli-1.0.jar
rm lib/commons-logging.jar
- CLASSPATH=`java-config --classpath=commons-logging`
- CLASSPATH=${CLASSPATH}:`java-config --classpath=commons-cli
+ CLASSPATH=`java-config --classpath=commons-logging,commons-cli`
ant -Dbuild.classpath=${CLASSPATH} deploy || die
- use doc && ant -Dbuild.classpath=${CLASSPATH} javadoc || die
+ use doc && ant -Dbuild.classpath=${CLASSPATH} javadoc
}
src_install() {
java-pkg_dojar deploy/wakeonlan.jar
local my_cp
- my_cp=`java-config --classpath=commons-logging
- my_cp=${my_cp}:`java-config --classpath=commons-cli`
- my_cp=${my_cp}:`java-config --classpath=java-wakeonlan`
+ my_cp=`java-config --classpath=commons-logging,commons-cli,java-wakeonlan`
echo "#!/bin/sh" > ${PN}
echo '${JAVA_HOME}'/bin/java -cp ${my_cp} wol.WakeOnLan '$*' >> ${PN}