r2298 - in trunk/commons-httpclient/debian: . patches
Arnaud Vandyck
avdyk at costa.debian.org
Tue Aug 1 08:52:52 UTC 2006
Author: avdyk
Date: 2006-08-01 08:52:52 +0000 (Tue, 01 Aug 2006)
New Revision: 2298
Added:
trunk/commons-httpclient/debian/patches/00_build_xml_no_external_links.patch
trunk/commons-httpclient/debian/patches/00b_build_xml_dont_copy_lib_dir.patch
trunk/commons-httpclient/debian/patches/02_upstream_disable_examples_classes.patch
trunk/commons-httpclient/debian/patches/03_upstream_qualify_ConnectionPool_declaration.patch
trunk/commons-httpclient/debian/watch
Removed:
trunk/commons-httpclient/debian/patches/01_upstream_disable_examples_classes.dpatch
trunk/commons-httpclient/debian/patches/02_upstream_qualify_ConnectionPool_declaration.dpatch
Modified:
trunk/commons-httpclient/debian/ant.properties
trunk/commons-httpclient/debian/changelog
trunk/commons-httpclient/debian/control
trunk/commons-httpclient/debian/libcommons-httpclient-java.links
trunk/commons-httpclient/debian/rules
Log:
commons-httpclient (3.0.1-0) unstable; urgency=low
* New upstream (closes: #340307)
* Build with cdbs and java-gcj-compat-dev
* Updated to Standards-Version 3.7.2; split build-dep and
build-dep-indep.
* Added libcommons-codec-java to build-dep.
* Using simple-patchsys and no more dpatch
-- Arnaud Vandyck <avdyk at debian.org> Mon, 31 Jul 2006 17:11:32 +0200
Modified: trunk/commons-httpclient/debian/ant.properties
===================================================================
--- trunk/commons-httpclient/debian/ant.properties 2006-08-01 08:52:22 UTC (rev 2297)
+++ trunk/commons-httpclient/debian/ant.properties 2006-08-01 08:52:52 UTC (rev 2298)
@@ -1,6 +1,3 @@
-
-# Compiler to be used by Ant during build
-build.compiler=jikes
-
# JSSE stub classes required for build
-jsse.jar=debian/ssl-stub/ssl-stub.jar
+lib.dir=/usr/shhare/java
+#jsse.jar=/usr/share/java/jsse.jar
Modified: trunk/commons-httpclient/debian/changelog
===================================================================
--- trunk/commons-httpclient/debian/changelog 2006-08-01 08:52:22 UTC (rev 2297)
+++ trunk/commons-httpclient/debian/changelog 2006-08-01 08:52:52 UTC (rev 2298)
@@ -1,3 +1,14 @@
+commons-httpclient (3.0.1-0) unstable; urgency=low
+
+ * New upstream (closes: #340307)
+ * Build with cdbs and java-gcj-compat-dev
+ * Updated to Standards-Version 3.7.2; split build-dep and
+ build-dep-indep.
+ * Added libcommons-codec-java to build-dep.
+ * Using simple-patchsys and no more dpatch
+
+ -- Arnaud Vandyck <avdyk at debian.org> Mon, 31 Jul 2006 17:11:32 +0200
+
commons-httpclient (2.0.2-2) unstable; urgency=low
* Provide non-version-specific symlink "commons-httpclient.jar" to
Modified: trunk/commons-httpclient/debian/control
===================================================================
--- trunk/commons-httpclient/debian/control 2006-08-01 08:52:22 UTC (rev 2297)
+++ trunk/commons-httpclient/debian/control 2006-08-01 08:52:52 UTC (rev 2298)
@@ -2,14 +2,15 @@
Section: libs
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Barry Hawkins <barry at alltc.com>
-Build-Depends-Indep: debhelper (>= 4.0.0), dpatch (>= 1.11), ant (>= 1.6.5-1), libcommons-logging-java, jikes (>= 1.15), kaffe (>= 2:1.1.5-3), junit
-Standards-Version: 3.6.2.1
+Uploaders: Barry Hawkins <barry at alltc.com>, Arnaud Vandyck <avdyk at debian.org>
+Build-Depends: debhelper (>= 4.0.0), cdbs
+Build-Depends-Indep: dpatch (>= 1.11), ant (>= 1.6.5-1), libcommons-logging-java, junit, java-gcj-compat-dev, libcommons-codec-java
+Standards-Version: 3.7.2
Package: libcommons-httpclient-java
Architecture: all
Suggests: libcommons-httpclient-java-doc
-Depends: kaffe (>=2:1.1.5) | java2-runtime, libcommons-logging-java
+Depends: kaffe (>=2:1.1.5) | java-gcj-compat | java2-runtime, libcommons-logging-java, libcommons-codec-java
Description: A Java(TM) library for creating HTTP clients
The Jakarta Commons HTTPClient library provides an efficient,
up-to-date, and feature-rich package implementing the client side of
Modified: trunk/commons-httpclient/debian/libcommons-httpclient-java.links
===================================================================
--- trunk/commons-httpclient/debian/libcommons-httpclient-java.links 2006-08-01 08:52:22 UTC (rev 2297)
+++ trunk/commons-httpclient/debian/libcommons-httpclient-java.links 2006-08-01 08:52:52 UTC (rev 2298)
@@ -1 +1 @@
-usr/share/java/commons-httpclient-2.0.2.jar usr/share/java/commons-httpclient.jar
+usr/share/java/commons-httpclient-3.0.1.jar usr/share/java/commons-httpclient.jar
Added: trunk/commons-httpclient/debian/patches/00_build_xml_no_external_links.patch
===================================================================
--- trunk/commons-httpclient/debian/patches/00_build_xml_no_external_links.patch 2006-08-01 08:52:22 UTC (rev 2297)
+++ trunk/commons-httpclient/debian/patches/00_build_xml_no_external_links.patch 2006-08-01 08:52:52 UTC (rev 2298)
@@ -0,0 +1,11 @@
+--- build.xml~ 2006-07-31 15:00:28.000000000 +0000
++++ build.xml 2006-07-31 15:07:12.000000000 +0000
+@@ -251,8 +251,6 @@
+ bottom ="Copyright (c) 1999-2005 - Apache Software Foundation"
+ >
+ <classpath refid="test.classpath"/>
+- <link href="${javadoc.j2sdk.link}"/>
+- <link href="${javadoc.logging.link}"/>
+ </javadoc>
+ </target>
+
Added: trunk/commons-httpclient/debian/patches/00b_build_xml_dont_copy_lib_dir.patch
===================================================================
--- trunk/commons-httpclient/debian/patches/00b_build_xml_dont_copy_lib_dir.patch 2006-08-01 08:52:22 UTC (rev 2297)
+++ trunk/commons-httpclient/debian/patches/00b_build_xml_dont_copy_lib_dir.patch 2006-08-01 08:52:52 UTC (rev 2298)
@@ -0,0 +1,15 @@
+--- build.xml~ 2006-08-01 08:16:13.000000000 +0000
++++ build.xml 2006-08-01 08:31:01.000000000 +0000
+@@ -158,10 +158,10 @@
+ <copy todir="${dist.home}/src" filtering="on">
+ <fileset dir="${source.home}"/>
+ </copy>
+- <mkdir dir="${dist.home}/lib"/>
++ <!-- mkdir dir="${dist.home}/lib"/>
+ <copy todir="${dist.home}/lib">
+ <fileset dir="lib"/>
+- </copy>
++ </copy -->
+ </target>
+
+ <!-- ========== Targets: "External" Targets: Clean-up ===================== -->
Deleted: trunk/commons-httpclient/debian/patches/01_upstream_disable_examples_classes.dpatch
===================================================================
--- trunk/commons-httpclient/debian/patches/01_upstream_disable_examples_classes.dpatch 2006-08-01 08:52:22 UTC (rev 2297)
+++ trunk/commons-httpclient/debian/patches/01_upstream_disable_examples_classes.dpatch 2006-08-01 08:52:52 UTC (rev 2298)
@@ -1,19 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 01_upstream_disable_examples_classes.dpatch by Barry Hawkins <barry at bytemason.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Add directives to exclude the compilation of problematic classes
-## DP: shipped as part of the examples for this library.
-
---- commons-httpclient-2.0.2.orig/build.xml
-+++ commons-httpclient-2.0.2/build.xml
-@@ -236,7 +236,8 @@
- destdir ="${build.home}/examples"
- debug ="${compile.debug}"
- deprecation ="${compile.deprecation}"
-- optimize ="${compile.optimize}">
-+ optimize ="${compile.optimize}"
-+ excludes ="MultipartFileUploadApp.java,ClientApp.java">
- <classpath refid="compile.classpath"/>
- </javac>
- </target>
Added: trunk/commons-httpclient/debian/patches/02_upstream_disable_examples_classes.patch
===================================================================
--- trunk/commons-httpclient/debian/patches/02_upstream_disable_examples_classes.patch 2006-08-01 08:52:22 UTC (rev 2297)
+++ trunk/commons-httpclient/debian/patches/02_upstream_disable_examples_classes.patch 2006-08-01 08:52:52 UTC (rev 2298)
@@ -0,0 +1,12 @@
+--- commons-httpclient-3.0.1.orig/build.xml
++++ commons-httpclient-3.0.1/build.xml
+@@ -236,7 +236,8 @@
+ destdir ="${build.home}/examples"
+ debug ="${compile.debug}"
+ deprecation ="${compile.deprecation}"
+- optimize ="${compile.optimize}">
++ optimize ="${compile.optimize}"
++ excludes ="MultipartFileUploadApp.java,ClientApp.java">
+ <classpath refid="compile.classpath"/>
+ </javac>
+ </target>
Deleted: trunk/commons-httpclient/debian/patches/02_upstream_qualify_ConnectionPool_declaration.dpatch
===================================================================
--- trunk/commons-httpclient/debian/patches/02_upstream_qualify_ConnectionPool_declaration.dpatch 2006-08-01 08:52:22 UTC (rev 2297)
+++ trunk/commons-httpclient/debian/patches/02_upstream_qualify_ConnectionPool_declaration.dpatch 2006-08-01 08:52:52 UTC (rev 2298)
@@ -1,17 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 02_upstream_qualify_ConnectionPool_declaration.dpatch by Barry Hawkins <barry at bytemason.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Add full qualification to declaration of ConnectionPool class.
-
---- commons-httpclient-2.0.2.orig/src/java/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java
-+++ commons-httpclient-2.0.2/src/java/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java
-@@ -834,7 +834,7 @@
- private static class ConnectionSource {
-
- /** The connection pool that created the connection */
-- public ConnectionPool connectionPool;
-+ public MultiThreadedHttpConnectionManager.ConnectionPool connectionPool;
-
- /** The connection's host configuration */
- public HostConfiguration hostConfiguration;
Added: trunk/commons-httpclient/debian/patches/03_upstream_qualify_ConnectionPool_declaration.patch
===================================================================
--- trunk/commons-httpclient/debian/patches/03_upstream_qualify_ConnectionPool_declaration.patch 2006-08-01 08:52:22 UTC (rev 2297)
+++ trunk/commons-httpclient/debian/patches/03_upstream_qualify_ConnectionPool_declaration.patch 2006-08-01 08:52:52 UTC (rev 2298)
@@ -0,0 +1,11 @@
+--- commons-httpclient-3.0.1.orig/src/java/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java
++++ commons-httpclient-3.0.1/src/java/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java
+@@ -834,7 +834,7 @@
+ private static class ConnectionSource {
+
+ /** The connection pool that created the connection */
+- public ConnectionPool connectionPool;
++ public MultiThreadedHttpConnectionManager.ConnectionPool connectionPool;
+
+ /** The connection's host configuration */
+ public HostConfiguration hostConfiguration;
Property changes on: trunk/commons-httpclient/debian/patches/03_upstream_qualify_ConnectionPool_declaration.patch
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/commons-httpclient/debian/rules
===================================================================
--- trunk/commons-httpclient/debian/rules 2006-08-01 08:52:22 UTC (rev 2297)
+++ trunk/commons-httpclient/debian/rules 2006-08-01 08:52:52 UTC (rev 2298)
@@ -1,100 +1,40 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# debian/rules for libcommons-httpclient-java (uses CDBS)
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-# Include dpatch stuff per the documentation
-include /usr/share/dpatch/dpatch.make
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+#include /usr/share/cdbs/1/rules/dpatch.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
-PNAME=commons-httpclient
-VERSION=2.0.2
-JARFILE=$(PNAME)-${VERSION}.jar
-BUILDFILE=build.xml
+JAVA_HOME := /usr/lib/jvm/java-gcj
+DEB_JARS := junit commons-logging commons-codec
+DEB_ANT_BUILD_TARGET := dist #compile doc
-# Set the JAVA_HOME to be used for Java commands
-JAVA_HOME=/usr/lib/kaffe
+DEB_INSTALL_DIRS_ALL := usr/share/java usr/share/sgml/apache/jakarta/validator
+DEB_INSTALL_DOCS_ALL := RELEASE_NOTES dist/docs/*
-# Set the invocation of the java command
-JAVACMD=$(JAVA_HOME)/bin/java
+LIBRARY=commons-httpclient
+VERSION=3.0.1
+JARFILE=$(LIBRARY)-${VERSION}.jar
-JAVA_LIB=/usr/share/java
-ANT_HOME=/usr/share/ant
-ANT_CLASSPATH=.:$(JAVA_LIB)/gnujaxp.jar:$(ANT_HOME)/lib/ant.jar:$(ANT_HOME)/lib/ant-launcher.jar:$(ANT_HOME)/lib/ant-junit.jar:$(JAVA_LIB)/commons-logging.jar:$(JAVA_LIB)/junit.jar:/usr/share/kaffe/Klasses.jar
+#debian/ssl-stub/ssl-stub.jar:
+# # OK, we need the JSSE for this to compile. But we can't
+# # redistribute JSSE, and can't require it for the build. So
+# # this is a workaround, creating stub classes for this compilation.
+# (cd debian/ssl-stub; $(ANT))
-# Set path to Ant properties file
-ANT_PROPS=debian/ant.properties
+#install/lib${LIBRARY}-java::
+# # Add here commands to install the package into debian/commons-httpclient.
+# ${JAVA_HOME}/bin/jar cf \
+# $(CURDIR)/debian/lib${LIBRARY}-java/usr/share/java/${JARFILE} \
+# -C target/classes org
+#
+# # Build the documentation
+# mkdir -p $(CURDIR)/debian/lib${PNAME}-java-doc/usr/share/doc/lib${PNAME}-java-doc/
+# cp -aRf dist/docs/api $(CURDIR)/debian/lib${PNAME}-java-doc/usr/share/doc/lib${PNAME}-java-doc/
+#
+# dh_movefiles --sourcedir=debian/lib${PNAME}-java
-# Universal Ant invocation for reliable builds;
-# place '-verbose' before -propertyfile to
-# obtain detailed build output.
-ANT=$(JAVACMD) -classpath $(ANT_CLASSPATH) \
- org.apache.tools.ant.Main -verbose -propertyfile $(ANT_PROPS)
-
-export JAVAC=jikes
-
-debian/ssl-stub/ssl-stub.jar:
- # OK, we need the JSSE for this to compile. But we can't
- # redistribute JSSE, and can't require it for the build. So
- # this is a workaround, creating stub classes for this compilation.
- (cd debian/ssl-stub; $(ANT))
-
-build: build-stamp
-
-build-stamp: patch-stamp debian/ssl-stub/ssl-stub.jar
- dh_testdir
-
- # Normally we could do just 'ant dist', but this subproject
- # doesn't build all by itself.
- $(ANT) compile doc
-
- touch build-stamp
-
-clean: unpatch
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- $(ANT) clean
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/commons-httpclient.
- ${JAVA_HOME}/bin/jar cf \
- $(CURDIR)/debian/lib${PNAME}-java/usr/share/java/${JARFILE} \
- -C target/classes org
-
- # Build the documentation
- mkdir -p $(CURDIR)/debian/lib${PNAME}-java-doc/usr/share/doc/lib${PNAME}-java-doc/
- cp -aRf dist/docs/api $(CURDIR)/debian/lib${PNAME}-java-doc/usr/share/doc/lib${PNAME}-java-doc/
-
- dh_movefiles --sourcedir=debian/lib${PNAME}-java
-
-# Build architecture-independent files here.
-binary-indep: build install
- dh_testdir -i
- dh_testroot -i
- dh_installdocs -i
- dh_installexamples -i
- dh_installmenu -i
- dh_installchangelogs -i
- dh_link -i
- dh_compress -i
- dh_fixperms -i
- dh_installdeb -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
Added: trunk/commons-httpclient/debian/watch
===================================================================
--- trunk/commons-httpclient/debian/watch 2006-08-01 08:52:22 UTC (rev 2297)
+++ trunk/commons-httpclient/debian/watch 2006-08-01 08:52:52 UTC (rev 2298)
@@ -0,0 +1,2 @@
+version=2
+http://www.apache.org/dist/jakarta/commons/httpclient/source/commons-httpclient-([0-9\.]*)-src\.tar\.gz debian uupdate
More information about the pkg-java-commits
mailing list