summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2012-05-30 08:32:54 +0000
committerRalph Sennhauser <sera@gentoo.org>2012-05-30 08:32:54 +0000
commitb6fa142ea492e895108cd576c21c997b51f1deb3 (patch)
treefdcee454fac233f5cf4f927375e5ddce11cbcd0f /dev-java/ant-trax
parentdev-libs/libjwc_f: Move to EAPI=4, fix underlinking, handle static-libs (diff)
downloadhistorical-b6fa142ea492e895108cd576c21c997b51f1deb3.tar.gz
historical-b6fa142ea492e895108cd576c21c997b51f1deb3.tar.bz2
historical-b6fa142ea492e895108cd576c21c997b51f1deb3.zip
Security bump. CVE-2012-2098 #417909
src_postinst is pkg_postinst. Add jdk dep for jar command. Package-Manager: portage-2.1.10.62/cvs/Linux x86_64
Diffstat (limited to 'dev-java/ant-trax')
-rw-r--r--dev-java/ant-trax/ChangeLog9
-rw-r--r--dev-java/ant-trax/ant-trax-1.8.4.ebuild28
2 files changed, 36 insertions, 1 deletions
diff --git a/dev-java/ant-trax/ChangeLog b/dev-java/ant-trax/ChangeLog
index 2b3e8223ddd6..b588d73bfee6 100644
--- a/dev-java/ant-trax/ChangeLog
+++ b/dev-java/ant-trax/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/ant-trax
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-trax/ChangeLog,v 1.30 2012/05/25 11:22:46 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-trax/ChangeLog,v 1.31 2012/05/30 08:32:54 sera Exp $
+
+*ant-trax-1.8.4 (30 May 2012)
+
+ 30 May 2012; Ralph Sennhauser <sera@gentoo.org> +ant-trax-1.8.4.ebuild:
+ Security bump. CVE-2012-2098 #417909
+ src_postinst is pkg_postinst.
+ Add jdk dep for jar command.
25 May 2012; Agostino Sarubbo <ago@gentoo.org> ant-trax-1.8.2.ebuild:
Stable for amd64, wrt bug #417403
diff --git a/dev-java/ant-trax/ant-trax-1.8.4.ebuild b/dev-java/ant-trax/ant-trax-1.8.4.ebuild
new file mode 100644
index 000000000000..b4d352ad916a
--- /dev/null
+++ b/dev-java/ant-trax/ant-trax-1.8.4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-trax/ant-trax-1.8.4.ebuild,v 1.1 2012/05/30 08:32:54 sera Exp $
+
+EAPI="4"
+
+ANT_TASK_DEPNAME=""
+ANT_TASK_DISABLE_VM_DEPS="true"
+
+inherit ant-tasks
+
+DESCRIPTION="Apache Ant .jar with optional tasks depending on XML transformer (Deprecated!)"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4" #jar
+
+src_compile() {
+ # the classes were moved to ant-core in 1.8.1, this is just for compatibility
+ mkdir -p build/lib/empty && cd build/lib/empty || die
+ jar -cf ../${PN}.jar .
+}
+
+pkg_postinst() {
+ elog "Upstream has removed ant-trax.jar as of 1.8.1 and moved the classes to ant.jar"
+ elog "This package thus installs an empty jar for compatibility"
+ elog "and will be removed once reverse dependencies are transitioned."
+}