summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2012-05-30 09:21:42 +0000
committerRalph Sennhauser <sera@gentoo.org>2012-05-30 09:21:42 +0000
commit890c5ff8870e08cce717e6f5cc37b8a187acfeb9 (patch)
treee20bd6792ed4e0e11e4a1613c4d7cf8103c95f54
parentSecurity bump. CVE-2012-2098 #417909 (diff)
downloadgentoo-2-890c5ff8870e08cce717e6f5cc37b8a187acfeb9.tar.gz
gentoo-2-890c5ff8870e08cce717e6f5cc37b8a187acfeb9.tar.bz2
gentoo-2-890c5ff8870e08cce717e6f5cc37b8a187acfeb9.zip
Security bump. CVE-2012-2098 #417909
(Portage version: 2.1.10.62/cvs/Linux x86_64)
-rw-r--r--dev-java/ant-junit4/ChangeLog7
-rw-r--r--dev-java/ant-junit4/ant-junit4-1.8.4.ebuild33
2 files changed, 39 insertions, 1 deletions
diff --git a/dev-java/ant-junit4/ChangeLog b/dev-java/ant-junit4/ChangeLog
index 890328106e77..7a5284d2acfa 100644
--- a/dev-java/ant-junit4/ChangeLog
+++ b/dev-java/ant-junit4/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/ant-junit4
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-junit4/ChangeLog,v 1.19 2012/05/25 11:22:16 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-junit4/ChangeLog,v 1.20 2012/05/30 09:21:42 sera Exp $
+
+*ant-junit4-1.8.4 (30 May 2012)
+
+ 30 May 2012; Ralph Sennhauser <sera@gentoo.org> +ant-junit4-1.8.4.ebuild:
+ Security bump. CVE-2012-2098 #417909
25 May 2012; Agostino Sarubbo <ago@gentoo.org> ant-junit4-1.8.2.ebuild:
Stable for amd64, wrt bug #417403
diff --git a/dev-java/ant-junit4/ant-junit4-1.8.4.ebuild b/dev-java/ant-junit4/ant-junit4-1.8.4.ebuild
new file mode 100644
index 000000000000..5835823e9a06
--- /dev/null
+++ b/dev-java/ant-junit4/ant-junit4-1.8.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-junit4/ant-junit4-1.8.4.ebuild,v 1.1 2012/05/30 09:21:42 sera Exp $
+
+EAPI="4"
+
+ANT_TASK_JDKVER=1.5
+ANT_TASK_JREVER=1.5
+ANT_TASK_DEPNAME="junit-4"
+
+inherit ant-tasks
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="dev-java/junit:4
+ ~dev-java/ant-junit-${PV}"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ eant jar-junit4
+}
+
+src_install() {
+ # no registration as ant-task, would be loaded together with ant-junit
+ java-pkg_dojar build/lib/ant-junit4.jar
+
+ # As we dont't want to depend on and-junit in package.env, because it depends
+ # on junit:0. Instead, we "steal" its jar and record it to our package.env as
+ # if it belongs to this package's classpath
+ java-pkg_getjar --build-only ant-junit ant-junit.jar
+ java-pkg_regjar $(java-pkg_getjar --build-only ant-junit ant-junit.jar)
+}