From 45e2a21348b237722e2a0f4586174bd0c228b175 Mon Sep 17 00:00:00 2001 From: Chris Aniszczyk Date: Wed, 25 Feb 2004 23:21:27 +0000 Subject: Version bump + closes #37923 --- dev-java/commons-fileupload/ChangeLog | 10 +- dev-java/commons-fileupload/Manifest | 9 +- .../commons-fileupload-1.0.ebuild | 36 +++ dev-java/commons-fileupload/files/build.xml.patch | 278 +++++++++++++++++++++ .../files/digest-commons-fileupload-1.0 | 1 + 5 files changed, 329 insertions(+), 5 deletions(-) create mode 100644 dev-java/commons-fileupload/commons-fileupload-1.0.ebuild create mode 100644 dev-java/commons-fileupload/files/build.xml.patch create mode 100644 dev-java/commons-fileupload/files/digest-commons-fileupload-1.0 (limited to 'dev-java/commons-fileupload') diff --git a/dev-java/commons-fileupload/ChangeLog b/dev-java/commons-fileupload/ChangeLog index be2b0f9e4c46..79f077787561 100644 --- a/dev-java/commons-fileupload/ChangeLog +++ b/dev-java/commons-fileupload/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/commons-fileupload -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/ChangeLog,v 1.3 2003/04/26 05:36:58 strider Exp $ +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/ChangeLog,v 1.4 2004/02/25 23:21:27 zx Exp $ + +*commons-fileupload-1.0 (25 Feb 2004) + + 25 Feb 2004; Chris Aniszczyk commons-fileupload-1.0.ebuild, + files/build.xml.patch: + Version bump. Closes #37923 *commons-fileupload-1.0_beta (22 Mar 2003) diff --git a/dev-java/commons-fileupload/Manifest b/dev-java/commons-fileupload/Manifest index cd33bf7dd790..1d398562f1b5 100644 --- a/dev-java/commons-fileupload/Manifest +++ b/dev-java/commons-fileupload/Manifest @@ -1,4 +1,7 @@ -MD5 24a485cc04c188fe07cc4cdf98fbcece files/digest-commons-fileupload-1.0_beta 161 -MD5 47cefd1e89cff0a421f35baca95c3b5d commons-fileupload-1.0_beta.ebuild 836 -MD5 fe8c833aa5d859d6a31f8a29db9f8f99 ChangeLog 651 +MD5 554601cf428ffeb2d6ecf86fc07a86c4 commons-fileupload-1.0_beta.ebuild 835 +MD5 4a3328751b828cebb664349a6028944d commons-fileupload-1.0.ebuild 1113 +MD5 28beff2dc607f26695991af85384da45 ChangeLog 818 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 1ab08806d26c8cd29147b1971335d43b files/build.xml.patch 10532 +MD5 aee8a592019aad96d13006121ef476dc files/digest-commons-fileupload-1.0 77 +MD5 24a485cc04c188fe07cc4cdf98fbcece files/digest-commons-fileupload-1.0_beta 161 diff --git a/dev-java/commons-fileupload/commons-fileupload-1.0.ebuild b/dev-java/commons-fileupload/commons-fileupload-1.0.ebuild new file mode 100644 index 000000000000..203411514355 --- /dev/null +++ b/dev-java/commons-fileupload/commons-fileupload-1.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/commons-fileupload-1.0.ebuild,v 1.1 2004/02/25 23:21:27 zx Exp $ + +inherit eutils java-pkg + +DESCRIPTION="The Commons FileUpload package makes it easy to add robust, high-performance, file upload capability to your servlets and web applications." +HOMEPAGE="http://jakarta.apache.org/commons/fileupload/index.html" +SRC_URI="mirror://apache/jakarta/commons/fileupload/source/${P}-src.tar.gz" +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-1.5 + >=dev-java/servletapi-2.4 + jikes? ( dev-java/jikes )" +RDEPEND=">=virtual/jdk-1.3" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~x86 ~sparc" +IUSE="jikes" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/build.xml.patch + local SAPI="`java-config -p servletapi-2.4`" + echo "servlet-api.jar = ${SAPI/*:/}" >> build.properties +} + +src_compile() { + local antflags="jar" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} +} + +src_install() { + java-pkg_dojar target/${P}.jar +} diff --git a/dev-java/commons-fileupload/files/build.xml.patch b/dev-java/commons-fileupload/files/build.xml.patch new file mode 100644 index 000000000000..59bc74b9e092 --- /dev/null +++ b/dev-java/commons-fileupload/files/build.xml.patch @@ -0,0 +1,278 @@ +--- build.xml 2003-06-26 01:12:13.000000000 -0500 ++++ build.xml.fixed 2004-02-25 18:06:28.836148792 -0500 +@@ -1,159 +1,115 @@ +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +\ No newline at end of file ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ diff --git a/dev-java/commons-fileupload/files/digest-commons-fileupload-1.0 b/dev-java/commons-fileupload/files/digest-commons-fileupload-1.0 new file mode 100644 index 000000000000..76e12dbc3556 --- /dev/null +++ b/dev-java/commons-fileupload/files/digest-commons-fileupload-1.0 @@ -0,0 +1 @@ +MD5 c6fa0cc10e18cffa8c479c6cb61914b8 commons-fileupload-1.0-src.tar.gz 29737 -- cgit v1.2.3-65-gdbad