summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Thomson <wltjr@gentoo.org>2008-01-09 17:31:37 +0000
committerWilliam Thomson <wltjr@gentoo.org>2008-01-09 17:31:37 +0000
commit8a748d76f974f74dbe25d69a1935bd2d7e26ea75 (patch)
treeb25bbcc83d29c75a95ea69327c5cdd0c27b7060f /dev-java/commons-fileupload
parentAdded ~x86-fbsd keyword since packages virtual provides already has keyword, ... (diff)
downloadgentoo-2-8a748d76f974f74dbe25d69a1935bd2d7e26ea75.tar.gz
gentoo-2-8a748d76f974f74dbe25d69a1935bd2d7e26ea75.tar.bz2
gentoo-2-8a748d76f974f74dbe25d69a1935bd2d7e26ea75.zip
Migrated to dev-java/servletapi -> java-virtual/servlet-api
(Portage version: 2.1.4_rc14)
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.2-r1.ebuild49
-rw-r--r--dev-java/commons-fileupload/files/digest-commons-fileupload-1.2-r13
3 files changed, 60 insertions, 2 deletions
diff --git a/dev-java/commons-fileupload/ChangeLog b/dev-java/commons-fileupload/ChangeLog
index 8473d7eefb7c..c4be417c8579 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-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/ChangeLog,v 1.41 2007/06/09 16:33:17 wltjr Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/ChangeLog,v 1.42 2008/01/09 17:31:36 wltjr Exp $
+
+*commons-fileupload-1.2-r1 (09 Jan 2008)
+
+ 09 Jan 2008; William L. Thomson Jr. <wltjr@gentoo.org>
+ +commons-fileupload-1.2-r1.ebuild:
+ Migrated to dev-java/servletapi -> java-virtual/servlet-api
09 Jun 2007; William L. Thomson Jr. <wltjr@gentoo.org>
commons-fileupload-1.2.ebuild:
diff --git a/dev-java/commons-fileupload/commons-fileupload-1.2-r1.ebuild b/dev-java/commons-fileupload/commons-fileupload-1.2-r1.ebuild
new file mode 100644
index 000000000000..353ebdf85253
--- /dev/null
+++ b/dev-java/commons-fileupload/commons-fileupload-1.2-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2008 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.2-r1.ebuild,v 1.1 2008/01/09 17:31:36 wltjr Exp $
+
+JAVA_PKG_IUSE="doc source"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="A Java library for adding 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"
+COMMON_DEPEND=">=dev-java/commons-io-1.3
+ =dev-java/portletapi-1*
+ ~java-virtuals/servlet-api-2.3"
+DEPEND=">=virtual/jdk-1.4
+ test? (
+ dev-java/ant-junit
+ =dev-java/junit-3.8*
+ )
+ ${COMMON_DEPEND}"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEPEND}"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="test"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # Tweak build classpath and don't automatically run tests
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+ local libdir="${S}/target/lib"
+ mkdir -p ${libdir}/commons-io/jars -p ${libdir}/javax.servlet/jars -p ${libdir}/javax.portlet/jars
+ java-pkg_jar-from --into ${libdir}/commons-io/jars commons-io-1 commons-io.jar commons-io-1.3.jar
+ java-pkg_jar-from --into ${libdir}/javax.servlet/jars --virtual servlet-api-2.3 servlet.jar servlet-api-2.3.jar
+ java-pkg_jar-from --into ${libdir}/javax.portlet/jars portletapi-1 portletapi.jar portlet-api-1.0.jar
+}
+
+src_test() {
+ mkdir -p target/lib/junit/jars
+ java-pkg_jar-from --into "${S}"/target/lib/junit/jars junit junit.jar junit-3.8.1.jar
+ ANT_TASKS="ant-junit" eant test
+}
+
+src_install() {
+ java-pkg_newjar target/${P}.jar ${PN}.jar
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/*
+}
diff --git a/dev-java/commons-fileupload/files/digest-commons-fileupload-1.2-r1 b/dev-java/commons-fileupload/files/digest-commons-fileupload-1.2-r1
new file mode 100644
index 000000000000..cb7fea0cf056
--- /dev/null
+++ b/dev-java/commons-fileupload/files/digest-commons-fileupload-1.2-r1
@@ -0,0 +1,3 @@
+MD5 fabdbef7de172cbcc45b2279a1840090 commons-fileupload-1.2-src.tar.gz 121294
+RMD160 839522ae96c1dccd15f8b67c53df75905053b844 commons-fileupload-1.2-src.tar.gz 121294
+SHA256 9018336f668ceb319d46ffd2ab1a8debfe174fccc0e0553e53d00a3aa75de999 commons-fileupload-1.2-src.tar.gz 121294