Bug#577474: libcommons-fileupload-java: Enable support for Portlet API
Miguel Landaeta
miguel at miguel.cc
Sun Apr 11 23:14:52 UTC 2010
Package: libcommons-fileupload-java
Version: 1.2.1-3
Severity: wishlist
Tags: patch
Hi,
Please see attached my patch to enable support for Portlet API.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libcommons-fileupload-java depends on:
ii default-jdk 1.6-35 Standard Java or Java compatible D
ii default-jre [java2-runtime] 1.6-35 Standard Java or Java compatible R
ii libcommons-beanutils-java 1.8.3-1 utility for manipulating JavaBeans
ii libcommons-io-java 1.4-2 Common useful IO related classes
ii libservlet2.4-java 5.0.30-12 Servlet 2.4 and JSP 2.0 Java libra
ii openjdk-6-jre [java2-runtime 6b18~pre4-1 OpenJDK Java runtime, using Hotspo
libcommons-fileupload-java recommends no packages.
libcommons-fileupload-java suggests no packages.
-- no debconf information
-------------- next part --------------
diff -u libcommons-fileupload-java-1.2.1/debian/rules libcommons-fileupload-java-1.2.1/debian/rules
--- libcommons-fileupload-java-1.2.1/debian/rules
+++ libcommons-fileupload-java-1.2.1/debian/rules
@@ -7,7 +7,7 @@
JAVA_HOME_DIRS := /usr/lib/jvm/default-java
-DEB_JARS := servlet-api-2.4 commons-io
+DEB_JARS := servlet-api-2.4 commons-io portlet-api
DEB_ANT_BUILD_TARGET := dist
LIBRARY=commons-fileupload
diff -u libcommons-fileupload-java-1.2.1/debian/control libcommons-fileupload-java-1.2.1/debian/control
--- libcommons-fileupload-java-1.2.1/debian/control
+++ libcommons-fileupload-java-1.2.1/debian/control
@@ -4,7 +4,7 @@
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Arnaud Vandyck <avdyk at debian.org>, Michael Koch <konqueror at gmx.de>
Build-Depends: debhelper (>= 5), cdbs (>= 0.4.5.3), default-jdk, ant
-Build-Depends-Indep: libcommons-beanutils-java, libservlet2.4-java, libcommons-io-java
+Build-Depends-Indep: libcommons-beanutils-java, libservlet2.4-java, libcommons-io-java, libportlet-api-2.0-spec-java
Standards-Version: 3.8.3
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libcommons-fileupload-java
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libcommons-fileupload-java
@@ -12,7 +12,7 @@
Package: libcommons-fileupload-java
Architecture: all
-Depends: default-jdk | java1-runtime | java2-runtime, libcommons-beanutils-java, libservlet2.4-java, libcommons-io-java, ${misc:Depends}
+Depends: default-jdk | java1-runtime | java2-runtime, libcommons-beanutils-java, libservlet2.4-java, libcommons-io-java, libportlet-api-2.0-spec-java, ${misc:Depends}
Description: File upload capability to your servlets and web applications
The Commons FileUpload package makes it easy to add robust, high-performance,
file upload capability to your servlets and web applications.
diff -u libcommons-fileupload-java-1.2.1/debian/changelog libcommons-fileupload-java-1.2.1/debian/changelog
--- libcommons-fileupload-java-1.2.1/debian/changelog
+++ libcommons-fileupload-java-1.2.1/debian/changelog
@@ -1,3 +1,10 @@
+libcommons-fileupload-java (1.2.1-4) unstable; urgency=low
+
+ * Team upload.
+ * Enable support for javax.portlet API.
+
+ -- Miguel Landaeta <miguel at miguel.cc> Sun, 11 Apr 2010 18:28:33 -0430
+
libcommons-fileupload-java (1.2.1-3) unstable; urgency=low
* (Build-)Depends on default-jdk.
reverted:
--- libcommons-fileupload-java-1.2.1/debian/README.Debian
+++ libcommons-fileupload-java-1.2.1.orig/debian/README.Debian
@@ -1,7 +0,0 @@
-commons-fileupload
-==================
-
-Support for the Portlet API is disabled in this package due to
-restrictions in the availability of it.
-
- -- Michael Koch <konqueror at gmx.de> Fri, 20 Jul 2007 07:20:00 +0200
reverted:
--- libcommons-fileupload-java-1.2.1/debian/patches/04_disable-portlet.patch
+++ libcommons-fileupload-java-1.2.1.orig/debian/patches/04_disable-portlet.patch
@@ -1,10 +0,0 @@
---- libcommons-fileupload-java-1.2.1.orig/build.xml
-+++ libcommons-fileupload-java-1.2.1/build.xml
-@@ -84,6 +84,7 @@
- </src>
- <classpath refid="build.classpath">
- </classpath>
-+ <exclude name="**/portlet/*.java"/>
- </javac>
- <mkdir dir="${classesdir}/META-INF">
- </mkdir>
More information about the pkg-java-maintainers
mailing list