--- libcommons-net2-java-2.2.orig/debian/maven-build.xml +++ libcommons-net2-java-2.2/debian/maven-build.xml @@ -0,0 +1,433 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- libcommons-net2-java-2.2.orig/debian/rules +++ libcommons-net2-java-2.2/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +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/default-java +DEB_JARS := ant-nodeps ant-junit junit +DEB_ANT_BUILD_TARGET := package javadoc +# work with a slightly modified version of maven-ant-helper's build file: +DEB_ANT_BUILDFILE := debian/maven-build.xml +DEB_ANT_ARGS := -Dbasedir=$(CURDIR) -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 -fr debian/.mh/ + +get-orig-source: + uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename + --- libcommons-net2-java-2.2.orig/debian/libcommons-net2-java-doc.doc-base +++ libcommons-net2-java-2.2/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.2.orig/debian/compat +++ libcommons-net2-java-2.2/debian/compat @@ -0,0 +1 @@ +7 --- libcommons-net2-java-2.2.orig/debian/control +++ libcommons-net2-java-2.2/debian/control @@ -0,0 +1,66 @@ +Source: libcommons-net2-java +Section: java +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Java Maintainers +Uploaders: Ludovic Claude +Build-Depends: debhelper (>= 7), cdbs, default-jdk +Build-Depends-Indep: ant, ant-optional, maven-ant-helper, maven-repo-helper, default-jdk-doc, junit +Standards-Version: 3.9.2 +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libcommons-net2-java +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libcommons-net2-java/ +Homepage: http://commons.apache.org/net/ + +Package: libcommons-net2-java +Architecture: all +Depends: ${misc:Depends} +Suggests: libcommons-net2-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} +Recommends: default-jdk-doc +Suggests: libcommons-net2-java +Description: internet protocol suite Java library - API docs + 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.2.orig/debian/maven.rules +++ libcommons-net2-java-2.2/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.2.orig/debian/README.Debian +++ libcommons-net2-java-2.2/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.2.orig/debian/libcommons-net2-java-doc.install +++ libcommons-net2-java-2.2/debian/libcommons-net2-java-doc.install @@ -0,0 +1 @@ +build/docs/api usr/share/doc/libcommons-net2-java/ --- libcommons-net2-java-2.2.orig/debian/orig-tar.sh +++ libcommons-net2-java-2.2/debian/orig-tar.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +VERSION=$2 +TAR=../libcommons-net2-java_$VERSION.orig.tar.gz +DIR=commons-net-$VERSION +TAG=$(echo "NET_$VERSION" | sed -re's,\.,_,') + +svn export http://svn.apache.org/repos/asf/commons/proper/net/tags/${TAG} $DIR +tar -c -z -f $TAR $DIR +rm -rf $DIR ../$TAG + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $TAR $origDir && echo "moved $TAR to $origDir" +fi --- libcommons-net2-java-2.2.orig/debian/copyright +++ libcommons-net2-java-2.2/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.2.orig/debian/watch +++ libcommons-net2-java-2.2/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts="uversionmangle=s/_/./" \ + http://svn.apache.org/viewvc/commons/proper/net/tags/ NET_(2[\d_]*)/ \ + debian debian/orig-tar.sh --- libcommons-net2-java-2.2.orig/debian/build.properties +++ libcommons-net2-java-2.2/debian/build.properties @@ -0,0 +1,4 @@ +javadoc.dir=build/docs/api +#maven.test.skip=true +build.javaVersion=1.5 +manifest=debian/tmp/MANIFEST.MF --- libcommons-net2-java-2.2.orig/debian/docs +++ libcommons-net2-java-2.2/debian/docs @@ -0,0 +1,2 @@ +NOTICE.txt + --- libcommons-net2-java-2.2.orig/debian/MANIFEST.MF +++ libcommons-net2-java-2.2/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.2.orig/debian/libcommons-net2-java.poms +++ libcommons-net2-java-2.2/debian/libcommons-net2-java.poms @@ -0,0 +1 @@ +pom.xml --no-parent --- libcommons-net2-java-2.2.orig/debian/changelog +++ libcommons-net2-java-2.2/debian/changelog @@ -0,0 +1,51 @@ +libcommons-net2-java (2.2-1ubuntu1) precise; urgency=low + + * Updates to support Ubuntu MIR (LP: #876413): + - d/build.properties: enable test suite execution + - d/control: Added junit to B-D's to support testing. + - d/rules: Added ant-junit and junit to DEB_JARS to support testing. + - d/maven-build.xml: Exclude tests that require network access, fail + build when tests fail. + * d/control: Bumped Standards-Version: 3.9.2, no changes + + -- James Page Tue, 18 Oct 2011 15:26:44 +0100 + +libcommons-net2-java (2.2-1) unstable; urgency=low + + [ Niels Thykier ] + * Team upload. + * New upstream release (Closes: #610295) + * Corrected the VCS-headers and Suggests. They were refering to + libcommons-net-java. + * Replace openjdk-6-doc with default-jdk-doc (Closes: #567278) + * Reduce doc dependency to a recommends. + * Bumped debhelper compat to 7. + * Bumped Standards-Versions to 3.9.1 - no changes required. + * Fixed the clean target. + * Replaced an invocation of realpath with $(CURDIR) to avoid + dependency on realpath. + * Use default-jdk instead openjdk-6-jdk as B-D. + * Added "API docs" to synopsis of the doc package to make it unuique. + + [ Torsten Werner ] + * Update debian/watch. + * Work with a slightly modified version of maven-ant-helper's maven-build.xml + to avoid build errors. + + -- Torsten Werner Sun, 07 Aug 2011 11:57:38 +0200 + +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 +