summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2007-08-05 07:57:11 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2007-08-05 07:57:11 +0000
commit50e3c824f8eba3a3e5d73d2e2ac3c33abfc9a7ca (patch)
tree8f2c473f7ae24ffb45b813e0c2bc08749ae01da4 /dev-java/commons-io
parentVersion bump as per #187494 (diff)
downloadgentoo-2-50e3c824f8eba3a3e5d73d2e2ac3c33abfc9a7ca.tar.gz
gentoo-2-50e3c824f8eba3a3e5d73d2e2ac3c33abfc9a7ca.tar.bz2
gentoo-2-50e3c824f8eba3a3e5d73d2e2ac3c33abfc9a7ca.zip
Fixed sendbox violation (bug #187721).
(Portage version: 2.1.3.3)
Diffstat (limited to 'dev-java/commons-io')
-rw-r--r--dev-java/commons-io/ChangeLog5
-rw-r--r--dev-java/commons-io/commons-io-1.3.2.ebuild22
2 files changed, 14 insertions, 13 deletions
diff --git a/dev-java/commons-io/ChangeLog b/dev-java/commons-io/ChangeLog
index 9d0747bcd7e1..e3545df10fc2 100644
--- a/dev-java/commons-io/ChangeLog
+++ b/dev-java/commons-io/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/commons-io
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-io/ChangeLog,v 1.27 2007/08/03 16:24:44 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-io/ChangeLog,v 1.28 2007/08/05 07:57:11 fordfrog Exp $
+
+ 05 Aug 2007; Miroslav Šulc <fordfrog@gentoo.org> commons-io-1.3.2.ebuild:
+ Fixed sandbox violation (bug #187721).
*commons-io-1.3.2 (03 Aug 2007)
diff --git a/dev-java/commons-io/commons-io-1.3.2.ebuild b/dev-java/commons-io/commons-io-1.3.2.ebuild
index 2116ab752835..1557fb6621c8 100644
--- a/dev-java/commons-io/commons-io-1.3.2.ebuild
+++ b/dev-java/commons-io/commons-io-1.3.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-io/commons-io-1.3.2.ebuild,v 1.1 2007/08/03 16:24:44 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-io/commons-io-1.3.2.ebuild,v 1.2 2007/08/05 07:57:11 fordfrog Exp $
JAVA_PKG_IUSE="doc source"
@@ -29,18 +29,16 @@ src_unpack() {
java-ant_rewrite-classpath
}
+src_compile() {
+ eant jar $(use_doc javadoc) -Duser.home=${T}
+}
+
src_test() {
- if hasq userpriv ${FEATURES}; then
- #By default libdir is ${HOME}/.maven so it can be /root/.maven
- ANT_OPTS="-Djava.io.tmpdir=${T}" \
- ANT_TASKS="ant-junit" \
- eant test \
- -Dgentoo.classpath="$(java-pkg_getjars junit)" \
- -Dlibdir="libdir"
- else
- elog "Tests require userpriv in FEATURES because they test"
- elog "accessing files which always succeeds for root."
- fi
+ ANT_OPTS="-Djava.io.tmpdir=${T} -Duser.home=${T}" \
+ ANT_TASKS="ant-junit" \
+ eant test \
+ -Dgentoo.classpath="$(java-pkg_getjars junit)" \
+ -Dlibdir="libdir"
}
src_install() {