summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-07-22 23:10:19 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-07-22 23:10:19 +0000
commite8496d84bdb47dfe292ee9e099484914b917e830 (patch)
tree566e3dd9df2a9dd05ac340ebbcae19951092c1d0 /dev-java/commons-fileupload
parentReplace arch with uname -m for Gentoo/FreeBSD compatibility. See bug #141422. (diff)
downloadhistorical-e8496d84bdb47dfe292ee9e099484914b917e830.tar.gz
historical-e8496d84bdb47dfe292ee9e099484914b917e830.tar.bz2
historical-e8496d84bdb47dfe292ee9e099484914b917e830.zip
Migrated to Generation 2.
Package-Manager: portage-2.1.1_pre3-r3
Diffstat (limited to 'dev-java/commons-fileupload')
-rw-r--r--dev-java/commons-fileupload/ChangeLog10
-rw-r--r--dev-java/commons-fileupload/commons-fileupload-1.0-r1.ebuild37
-rw-r--r--dev-java/commons-fileupload/files/digest-commons-fileupload-1.02
-rw-r--r--dev-java/commons-fileupload/files/digest-commons-fileupload-1.0-r13
4 files changed, 50 insertions, 2 deletions
diff --git a/dev-java/commons-fileupload/ChangeLog b/dev-java/commons-fileupload/ChangeLog
index 141b89e3edae..195c58df7745 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-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/ChangeLog,v 1.21 2005/11/05 11:31:43 betelgeuse Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/ChangeLog,v 1.22 2006/07/22 22:44:28 nelchael Exp $
+
+*commons-fileupload-1.0-r1 (22 Jul 2006)
+
+ 22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +commons-fileupload-1.0-r1.ebuild:
+ Migrated to Generation 2.
05 Nov 2005; Petteri Räty <betelgeuse@gentoo.org>
commons-fileupload-1.0.ebuild:
diff --git a/dev-java/commons-fileupload/commons-fileupload-1.0-r1.ebuild b/dev-java/commons-fileupload/commons-fileupload-1.0-r1.ebuild
new file mode 100644
index 000000000000..1162642b40e9
--- /dev/null
+++ b/dev-java/commons-fileupload/commons-fileupload-1.0-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/commons-fileupload-1.0-r1.ebuild,v 1.1 2006/07/22 22:44:28 nelchael Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+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/"
+SRC_URI="mirror://apache/jakarta/commons/fileupload/source/${P}-src.tar.gz"
+DEPEND=">=virtual/jdk-1.3
+ >=dev-java/ant-core-1.5
+ =dev-java/servletapi-2.4*
+ source? ( app-arch/unzip )"
+RDEPEND=">=virtual/jre-1.3"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc source"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/build.xml.patch
+ echo "servlet-api.jar = $(java-pkg_getjar servletapi-2.4 servlet-api.jar)" >> build.properties
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} javadoc"
+ eant ${antflags} || die "compilation error"
+}
+
+src_install() {
+ java-pkg_newjar target/${P}.jar ${PN}.jar
+ use doc && java-pkg_dohtml -r dist/docs/
+ use source && java-pkg_dosrc src/java/*
+}
diff --git a/dev-java/commons-fileupload/files/digest-commons-fileupload-1.0 b/dev-java/commons-fileupload/files/digest-commons-fileupload-1.0
index 76e12dbc3556..e0a627495cc2 100644
--- a/dev-java/commons-fileupload/files/digest-commons-fileupload-1.0
+++ b/dev-java/commons-fileupload/files/digest-commons-fileupload-1.0
@@ -1 +1,3 @@
MD5 c6fa0cc10e18cffa8c479c6cb61914b8 commons-fileupload-1.0-src.tar.gz 29737
+RMD160 3a7f64ab21e38ed8166f059f5770f89da1f0cf26 commons-fileupload-1.0-src.tar.gz 29737
+SHA256 4cfe77bd744c7dddc45e32262a4995bf855f146549d7b3ca4bbdb385599cc14a commons-fileupload-1.0-src.tar.gz 29737
diff --git a/dev-java/commons-fileupload/files/digest-commons-fileupload-1.0-r1 b/dev-java/commons-fileupload/files/digest-commons-fileupload-1.0-r1
new file mode 100644
index 000000000000..e0a627495cc2
--- /dev/null
+++ b/dev-java/commons-fileupload/files/digest-commons-fileupload-1.0-r1
@@ -0,0 +1,3 @@
+MD5 c6fa0cc10e18cffa8c479c6cb61914b8 commons-fileupload-1.0-src.tar.gz 29737
+RMD160 3a7f64ab21e38ed8166f059f5770f89da1f0cf26 commons-fileupload-1.0-src.tar.gz 29737
+SHA256 4cfe77bd744c7dddc45e32262a4995bf855f146549d7b3ca4bbdb385599cc14a commons-fileupload-1.0-src.tar.gz 29737