--- libcommons-net2-java-2.0.orig/debian/libcommons-net2-java-doc.install +++ libcommons-net2-java-2.0/debian/libcommons-net2-java-doc.install @@ -0,0 +1 @@ +build/docs/api usr/share/doc/libcommons-net2-java/ --- libcommons-net2-java-2.0.orig/debian/maven.rules +++ libcommons-net2-java-2.0/debian/maven.rules @@ -0,0 +1,2 @@ +commons-net commons-net jar s/2\..+/2.x/ +junit junit jar s/3\..*/3.x/ --- libcommons-net2-java-2.0.orig/debian/copyright +++ libcommons-net2-java-2.0/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Arnaud Vandyck on +Tue, 11 May 2004 17:01:26 +0100. + +It was downloaded from http://jakarta.apache.org/commons/net/ + +Upstream Authors: Jeffrey D. Brekke , Steve Cohen + , Bruno D'Avanzo + , Daniel F. Savarese + apache.org>, Tapan Karecha , + Winston Ojeda + +Copyright: (C) 1997-2009 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +The full text of the license can be found in +'/usr/share/common-licenses/Apache-2.0'. + --- libcommons-net2-java-2.0.orig/debian/rules +++ libcommons-net2-java-2.0/debian/rules @@ -0,0 +1,34 @@ +#!/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=6 + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk + +PACKAGE := $(DEB_SOURCE_PACKAGE) +VERSION := $(DEB_UPSTREAM_VERSION) +JAVA_HOME := /usr/lib/jvm/java-6-openjdk +DEB_JARS := ant-nodeps +DEB_ANT_BUILD_TARGET := package javadoc +DEB_ANT_BUILDFILE := /usr/share/maven-ant-helper/maven-build.xml +DEB_ANT_ARGS := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) -Dbin.package=$(PACKAGE) -Dversion=$(VERSION) +LAST_MODIFIED := $(shell date +%s%N | cut -c -13) + +makebuilddir/$(PACKAGE):: + install -d debian/tmp + cat debian/MANIFEST.MF | sed 's/@version@/$(VERSION)/g' | sed 's/@lastmodified@/$(LAST_MODIFIED)/' > debian/tmp/MANIFEST.MF + +binary-post-install/$(PACKAGE):: + mh_installpoms -p$(PACKAGE) + mh_installjar -p$(PACKAGE) -l --usj-name=commons-net2 pom.xml build/commons-net-$(VERSION).jar + +clean:: + -rm -rf debian/tmp + +get-orig-source: + -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename + --- libcommons-net2-java-2.0.orig/debian/libcommons-net2-java.poms +++ libcommons-net2-java-2.0/debian/libcommons-net2-java.poms @@ -0,0 +1 @@ +pom.xml --no-parent --- libcommons-net2-java-2.0.orig/debian/changelog +++ libcommons-net2-java-2.0/debian/changelog @@ -0,0 +1,15 @@ +libcommons-net2-java (2.0-2) unstable; urgency=low + + * Include manifest with OSGi information + * Prefer openjdk-6-doc as Depends for the -doc package. + * Move the Javadoc to /usr/share/doc/libcommons-net2-java/api + + -- Ludovic Claude Tue, 07 Jul 2009 20:00:10 +0100 + +libcommons-net2-java (2.0-1) unstable; urgency=low + + * Initial release, split from libcommons-net-java as this is + a major version change with API incompatibilities + + -- Ludovic Claude Thu, 30 Apr 2009 12:05:34 +0100 + --- libcommons-net2-java-2.0.orig/debian/MANIFEST.MF +++ libcommons-net2-java-2.0/debian/MANIFEST.MF @@ -0,0 +1,62 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Implementation-Title: Commons Net +Implementation-Vendor: The Apache Software Foundation +Implementation-Vendor-Id: org.apache +Implementation-Version: @version@ +Specification-Title: Commons Net +Specification-Vendor: The Apache Software Foundation +Specification-Version: @version@ +X-Compile-Source-JDK: 1.5 +X-Compile-Target-JDK: 1.5 +Export-Package: org.apache.commons.net.finger;version="@version@", + org.apache.commons.net.echo;version="@version@", + org.apache.commons.net.ntp;version="@version@", + org.apache.commons.net.io;version="@version@", + org.apache.commons.net.discard;version="@version@", + org.apache.commons.net.ftp;version="@version@", + org.apache.commons.net.smtp;version="@version@", + org.apache.commons.net;version="@version@", + org.apache.commons.net.pop3;version="@version@", + org.apache.commons.net.util;version="@version@", + org.apache.commons.net.telnet;version="@version@", + org.apache.commons.net.whois;version="@version@", + org.apache.commons.net.chargen;version="@version@", + org.apache.commons.net.nntp;version="@version@", + org.apache.commons.net.bsd;version="@version@", + org.apache.commons.net.time;version="@version@", + org.apache.commons.net.daytime;version="@version@", + org.apache.commons.net.ftp.parser;version="@version@", + org.apache.commons.net.tftp;version="@version@" +Tool: Bnd-0.0.238 +Bundle-Name: Commons Net +Bundle-Vendor: The Apache Software Foundation +Bundle-Version: @version@ +Bnd-LastModified: @lastmodified@ +Bundle-ManifestVersion: 2 +Bundle-License: http://www.apache.org/licenses/LICENSE-@version@.txt +Bundle-Description: A collection of network utilities and protocol imp + lementations. +Import-Package: javax.net, + javax.net.ssl,org.apache.commons.net;version="@version@", + org.apache.commons.net.bsd;version="@version@", + org.apache.commons.net.chargen;version="@version@", + org.apache.commons.net.daytime;version="@version@", + org.apache.commons.net.discard;version="@version@", + org.apache.commons.net.echo;version="@version@", + org.apache.commons.net.finger;version="@version@", + org.apache.commons.net.ftp;version="@version@", + org.apache.commons.net.ftp.parser;version="@version@", + org.apache.commons.net.io;version="@version@", + org.apache.commons.net.nntp;version="@version@", + org.apache.commons.net.ntp;version="@version@", + org.apache.commons.net.pop3;version="@version@", + org.apache.commons.net.smtp;version="@version@", + org.apache.commons.net.telnet;version="@version@", + org.apache.commons.net.tftp;version="@version@", + org.apache.commons.net.time;version="@version@", + org.apache.commons.net.util;version="@version@", + org.apache.commons.net.whois;version="@version@" +Bundle-SymbolicName: org.apache.commons.net +Bundle-DocURL: http://commons.apache.org/net/ + --- libcommons-net2-java-2.0.orig/debian/watch +++ libcommons-net2-java-2.0/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://www.apache.org/dist/jakarta/commons/net/source/commons-net-([0-9\.]*)-src\.tar\.gz debian uupdate --- libcommons-net2-java-2.0.orig/debian/control +++ libcommons-net2-java-2.0/debian/control @@ -0,0 +1,64 @@ +Source: libcommons-net2-java +Section: java +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Ludovic Claude +Build-Depends: debhelper (>= 6), cdbs, openjdk-6-jdk +Build-Depends-Indep: ant, ant-optional, maven-ant-helper (>> 5), maven-repo-helper, openjdk-6-doc +Standards-Version: 3.8.1 +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/ +Homepage: http://commons.apache.org/net/ + +Package: libcommons-net2-java +Architecture: all +Depends: ${misc:Depends} +Suggests: libcommons-net-java-doc +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 Jakarta Project. + +Package: libcommons-net2-java-doc +Section: doc +Architecture: all +Depends: ${misc:Depends}, openjdk-6-doc | classpath-doc +Suggests: libcommons-net-java +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 Jakarta Project. + . + This package contains the API documentation for libcommons-net-java. --- libcommons-net2-java-2.0.orig/debian/README.Debian +++ libcommons-net2-java-2.0/debian/README.Debian @@ -0,0 +1,11 @@ +libcommons-net2-java for Debian +------------------------------ + +Commons Net has switch its build process to Maven, but I'm not using Maven +here as some components of Maven rely on this library. + +debian/MANIFEST.MF has been extracted from the official commons-net.jar and +it may need to be updated for new releases. + + -- Ludovic Claude Thu, 30 Apr 2009 12:05:34 +0100 + --- libcommons-net2-java-2.0.orig/debian/compat +++ libcommons-net2-java-2.0/debian/compat @@ -0,0 +1 @@ +6 --- libcommons-net2-java-2.0.orig/debian/libcommons-net2-java-doc.doc-base +++ libcommons-net2-java-2.0/debian/libcommons-net2-java-doc.doc-base @@ -0,0 +1,10 @@ +Document: libcommons-net2-java +Title: Programmer API for Commons Net +Author: Apache Commons Net developers +Abstract: Jakarta Commons Net implements the client side of many basic + Internet protocols. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libcommons-net2-java/api/index.html +Files: /usr/share/doc/libcommons-net2-java/api/* --- libcommons-net2-java-2.0.orig/debian/build.properties +++ libcommons-net2-java-2.0/debian/build.properties @@ -0,0 +1,5 @@ +javadoc.dir=build/docs/api +maven.test.skip=true +build.javaVersion=1.5 +manifest=debian/tmp/MANIFEST.MF + --- libcommons-net2-java-2.0.orig/debian/docs +++ libcommons-net2-java-2.0/debian/docs @@ -0,0 +1,2 @@ +NOTICE.txt +