libcommons-net-java (1.4.1-2) debian-dir only changes

Summary

 debian/README.Debian                                    |   12 ++
 debian/ant.properties                                   |    2 
 debian/changelog                                        |   65 ++++++++++++++++
 debian/compat                                           |    1 
 debian/control                                          |   36 ++++++++
 debian/copyright                                        |   22 +++++
 debian/dirs                                             |    2 
 debian/doc-base                                         |   10 ++
 debian/docs                                             |    3 
 debian/patches/01_build_xml_fork_to_compile_tests.patch |   12 ++
 debian/patches/02_build_xml_dont_build_tests.patch      |   11 ++
 debian/rules                                            |   26 ++++++
 debian/watch                                            |    2 
 13 files changed, 204 insertions(+)

    
download this patch

Patch contents

--- libcommons-net-java-1.4.1.orig/debian/copyright
+++ libcommons-net-java-1.4.1/debian/copyright
@@ -0,0 +1,22 @@
+This package was debianized by Arnaud Vandyck <avdyk@debian.org> on
+Tue, 11 May 2004 17:01:26 +0100.
+
+It was downloaded from http://commons.apache.org/net/
+
+Upstream Authors: Jeffrey D. Brekke <Jeff.Brekke@qg.com>,
+                  Steve Cohen <scohen@apache.org>,
+                  Bruno D'Avanzo <bruno.davanzo@hp.com>,
+                  Daniel F. Savarese <dfs@apache.org>,
+                  Rory Winston <rwinston@apache.org>,
+                  Rob Hasselbaum <rhasselbaum@alumni.ithaca.edu>,
+                  Mario Ivankovits <mario@ops.co.at>,
+                  Tapan Karecha <tapan@india.hp.com>,
+                  Winston Ojeda <Winston.Ojeda@qg.com>,
+                  Ted Wise <ctwise@bellsouth.net>
+
+Copyright: © 1997-2008 The Apache Software Foundation
+
+License: Apache 2.0
+
+On Debian systems the full text of the Apache License can be found
+in `/usr/share/common-licenses/Apache-2.0'.
--- libcommons-net-java-1.4.1.orig/debian/ant.properties
+++ libcommons-net-java-1.4.1/debian/ant.properties
@@ -0,0 +1,2 @@
+build.sysclasspath=only
+libdir=/usr/share/java
--- libcommons-net-java-1.4.1.orig/debian/rules
+++ libcommons-net-java-1.4.1/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+#export DH_COMPAT=4
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+DEB_JARS := oro junit
+DEB_ANT_BUILD_TARGET := dist
+LIBRARY=commons-net
+VERSION=1.4.1
+ANT_OPTS = -Dant.build.javac.source=1.4
+
+install/lib$(LIBRARY)-java::
+	install -m 644 target/$(LIBRARY)-$(VERSION).jar debian/lib$(LIBRARY)-java/usr/share/java/$(LIBRARY)-$(VERSION).jar
+	echo "usr/share/java/$(LIBRARY)-$(VERSION).jar usr/share/java/$(LIBRARY).jar" > debian/lib$(LIBRARY)-java.links
+
+#clean::
+#	-rm debian/lib$(LIBRARY)-java.links gjdoc_rawcomment.cache
+#	-rm -fr $(DIST) $(BUILD) $(APIDOC)
--- libcommons-net-java-1.4.1.orig/debian/changelog
+++ libcommons-net-java-1.4.1/debian/changelog
@@ -0,0 +1,65 @@
+libcommons-net-java (1.4.1-2) unstable; urgency=low
+
+  [ Matthias Klose ]
+  * (Build-)depend on default-jre/-jdk.
+  * Set java source version to 1.4.
+
+  [ Emmanuel Bourg ]
+  * Update of the URLs
+  * Rename Jakarta Commons to Apache Commons
+
+  [ Torsten Werner ]
+  * Add myself to Uploaders.
+  * Add missing Depends: ${misc:Depends}.
+  * Switch to debhelper compat level 5.
+  * Update Standards-Version: 3.8.2.
+  * Add Homepage and Vcs-* headers.
+  * Change Section: java.
+  * Change encoding of debian/copyright to UTF-8.
+  * Fix Description (the The).
+
+ -- Torsten Werner <twerner@debian.org>  Sun, 02 Aug 2009 22:50:12 +0200
+
+libcommons-net-java (1.4.1-1) unstable; urgency=low
+
+  * New upstram (closes: #377064)
+  * debian/watch: updated to official Apache web site (not a mirror)
+  * Updated Standards-Version to 3.7.2; split Build-Dep and
+    Build-Dep-Indep
+  * Built with java-gcj-compat-dev and cdbs-ant
+  * debian/doc-base: added (based on Wolfgang's libcommons-logging-java
+    debian/doc-base file)
+
+ -- Arnaud Vandyck <avdyk@debian.org>  Tue,  1 Aug 2006 12:01:53 +0200
+
+libcommons-net-java (1.3.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Arnaud Vandyck <avdyk@debian.org>  Tue, 15 Mar 2005 12:55:43 +0100
+
+libcommons-net-java (1.2.2-2) unstable; urgency=low
+
+  * gjdoc can now build the documentation (closes: #273546).
+
+ -- Arnaud Vandyck <avdyk@debian.org>  Mon, 28 Feb 2005 12:02:14 +0100
+
+libcommons-net-java (1.2.2-1) unstable; urgency=low
+
+  * New upstream release (closes: #272028).
+
+ -- Arnaud Vandyck <avdyk@debian.org>  Mon, 11 Oct 2004 10:39:14 +0200
+
+libcommons-net-java (1.2.1-2) unstable; urgency=low
+
+  * added cdbs to the build-depends, thanks to Frederik Schueler (Closes:
+    #251451)
+
+ -- Arnaud Vandyck <avdyk@debian.org>  Sat, 29 May 2004 21:05:46 +0200
+
+libcommons-net-java (1.2.1-1) unstable; urgency=low
+
+  * Initial Release (closes: #237513).
+
+ -- Arnaud Vandyck <avdyk@debian.org>  Tue, 11 May 2004 17:01:55 +0200
+
--- libcommons-net-java-1.4.1.orig/debian/doc-base
+++ libcommons-net-java-1.4.1/debian/doc-base
@@ -0,0 +1,10 @@
+Document: libcommons-net-java
+Title: Programmer API for Commons Net
+Author: Apache Commons Net developers
+Abstract: Apache Commons Net implements the client side of many basic
+ Internet protocols.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libcommons-net-java/api/index.html
+Files: /usr/share/doc/libcommons-net-java/api/*
--- libcommons-net-java-1.4.1.orig/debian/watch
+++ libcommons-net-java-1.4.1/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://www.apache.org/dist/commons/net/source/commons-net-([0-9\.]*)-src\.tar\.gz debian uupdate
--- libcommons-net-java-1.4.1.orig/debian/dirs
+++ libcommons-net-java-1.4.1/debian/dirs
@@ -0,0 +1,2 @@
+usr/share/java
+usr/share/doc
--- libcommons-net-java-1.4.1.orig/debian/control
+++ libcommons-net-java-1.4.1/debian/control
@@ -0,0 +1,36 @@
+Source: libcommons-net-java
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
+Uploaders: Arnaud Vandyck <avdyk@debian.org>, Torsten Werner <twerner@debian.org>
+Build-Depends: debhelper (>= 5), cdbs
+Build-Depends-Indep: default-jdk, ant, liboro-java (>=2.0.8), junit
+Standards-Version: 3.8.2
+Homepage: http://commons.apache.org/net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libcommons-net-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libcommons-net-java/
+
+Package: libcommons-net-java
+Architecture: all
+Depends: default-jre-headless | java1-runtime-headless | java2-runtime-headless,
+ liboro-java (>= 2.0.8), ${misc:Depends}
+Description: internet protocol suite Java library
+ This is an Internet protocol suite Java library originally developed by
+ ORO, Inc. This version supports Finger, Whois, TFTP, Telnet, POP3, FTP,
+ NNTP, SMTP, and some miscellaneous protocols like Time and Echo as well
+ as BSD R command support. The purpose of the library is to provide
+ fundamental protocol access, not higher-level abstractions. Therefore,
+ some of the design violates object-oriented design principles. Our
+ philosophy is to make the global functionality of a protocal accesible
+ (e.g., TFTP send file and receive file) when possible, but also provide
+ access to the fundamental protocols where applicable so that the
+ programmer may construct his own custom implementations (e.g, the TFTP
+ packet classes and the TFTP packet send and receive methods are
+ exposed). NetComponents was originally a commercial product, but after
+ ORO dissolved, it was continued to be made available for those who
+ found it useful. However, no updates have been made since version
+ 1.3.8, released in 1998. Now that certain contract obligations have
+ expired, it is possible to make the source code freely available under
+ the Apache Software License.
+ .
+ This is a part of the Apache Commons Project.
--- libcommons-net-java-1.4.1.orig/debian/README.Debian
+++ libcommons-net-java-1.4.1/debian/README.Debian
@@ -0,0 +1,12 @@
+libcommons-net-java for Debian
+------------------------------
+
+I did build the library without ant because the ant script did not work
+for me. It try to download external libs (but everything is here) and
+fails because it does not found the sources... 'find', 'xargs',
+'jikes-classpath', 'fastjar' and 'gjdoc' are enough to build the lib
+;-)...
+
+... and thanks to CDBS...
+
+ -- Arnaud Vandyck <avdyk@debian.org>, Tue May 11 18:33:35 2004
--- libcommons-net-java-1.4.1.orig/debian/compat
+++ libcommons-net-java-1.4.1/debian/compat
@@ -0,0 +1 @@
+5
--- libcommons-net-java-1.4.1.orig/debian/docs
+++ libcommons-net-java-1.4.1/debian/docs
@@ -0,0 +1,3 @@
+NOTICE.txt
+dist/docs/*
+
--- libcommons-net-java-1.4.1.orig/debian/patches/01_build_xml_fork_to_compile_tests.patch
+++ libcommons-net-java-1.4.1/debian/patches/01_build_xml_fork_to_compile_tests.patch
@@ -0,0 +1,12 @@
+--- build.xml~	2005-12-03 16:05:48.000000000 +0000
++++ build.xml	2006-08-01 09:45:03.000000000 +0000
+@@ -123,7 +123,8 @@
+   <target name="compile-tests" if="Junit.present" depends="junit-present,compile">
+     <mkdir dir="${testclassesdir}">
+     </mkdir>
+-    <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
++    <javac destdir="${testclassesdir}" deprecation="true" debug="true"
++	    optimize="false" excludes="**/package.html" fork="true">
+       <src>
+         <pathelement location="src/test">
+         </pathelement>
--- libcommons-net-java-1.4.1.orig/debian/patches/02_build_xml_dont_build_tests.patch
+++ libcommons-net-java-1.4.1/debian/patches/02_build_xml_dont_build_tests.patch
@@ -0,0 +1,11 @@
+--- build.xml~	2006-08-01 09:47:53.000000000 +0000
++++ build.xml	2006-08-01 09:50:13.000000000 +0000
+@@ -58,7 +58,7 @@
+       </fileset>
+     </copy>
+   </target>
+-  <target name="jar" description="o Create the jar" depends="compile,test">
++  <target name="jar" description="o Create the jar" depends="compile">
+     <jar jarfile="${defaulttargetdir}/${final.name}.jar">
+ 	    <fileset dir="${classesdir}">
+ 		    <exclude name="**/examples/**"/>