--- netty-3.1.0.CR1.orig/debian/README.Debian +++ netty-3.1.0.CR1/debian/README.Debian @@ -0,0 +1,11 @@ +Please note that in order to reduce dependencies, the Debian Netty package +currently doesn't provide some optional Netty features: + + * XNIO support (org.jboss.netty.channel.xnio package) + * JBoss microcontainer support (org.jboss.netty.container package) + * Google Guice and Spring Framework support (org.jboss.netty.example package) + * Protocol buffers support (org.jboss.netty.handler.codec.protobuf package) + * JBoss Logging support (org.jboss.netty.logging.JBossLogger* classes) + * OSGi Logging support (org.jboss.netty.logging.OsgiLogger* classes) + +-- Thierry Carrez Tue, 30 Jun 2009 11:11:15 +0200 --- netty-3.1.0.CR1.orig/debian/copyright +++ netty-3.1.0.CR1/debian/copyright @@ -0,0 +1,55 @@ +This package was debianized by Thierry Carrez on +Tue, 30 Jun 2009 11:11:15 +0200 + +Copyright: + Copyright (C) 2008, Red Hat Middleware LLC, and individual contributors: + Andy Taylor + Daniel Bevenius + Trustin Heuiseung Lee + +Authors: + Andy Taylor + Daniel Bevenius + Trustin Heuiseung Lee + +License: + The Netty Project is licensed under the GNU LGPL (Lesser General Public + License) version 2.1. + + On Debian GNU/Linux and Ubuntu systems, the complete text of the LGPL 2.1 + License can be found in the /usr/share/common-licenses/LGPL-2.1 file. + + The same license and copyright applies to the Debian packaging. + + This product contains a modified version of Robert Harder's Public Domain + Base64 Encoder and Decoder, and extensions to Java Collections Framework + derived from the works by JSR-166 EG, Doug Lea, and Jason T. Greene. Both + have been released to the public domain under the following terms: + +The person or persons who have associated work with this document (the +"Dedicator" or "Certifier") hereby either (a) certifies that, to the best of +his knowledge, the work of authorship identified is in the public domain of +the country from which the work is published, or (b) hereby dedicates whatever +copyright the dedicators holds in the work of authorship identified below (the +"Work") to the public domain. A certifier, moreover, dedicates any copyright +interest he may have in the associated work, and for these purposes, is +described as a "dedicator" below. + +A certifier has taken reasonable steps to verify the copyright status of this +work. Certifier recognizes that his good faith efforts may not shield him from +liability if in fact the work certified is not in the public domain. + +Dedicator makes this dedication for the benefit of the public at large and to +the detriment of the Dedicator's heirs and successors. Dedicator intends this +dedication to be an overt act of relinquishment in perpetuate of all present +and future rights under copyright law, whether vested or contingent, in the +Work. Dedicator understands that such relinquishment of all rights includes +the relinquishment of all rights to enforce (by lawsuit or otherwise) those +copyrights in the Work. + +Dedicator recognizes that, once placed in the public domain, the Work may be +freely reproduced, distributed, transmitted, used, modified, built upon, or +otherwise exploited by anyone for any purpose, commercial or non-commercial, +and in any way, including by methods that have not yet been invented or +conceived. + --- netty-3.1.0.CR1.orig/debian/README.source +++ netty-3.1.0.CR1/debian/README.source @@ -0,0 +1,15 @@ +Building the source tarball +--------------------------- + +Tarball is now built from the tagged source repository and requires no +additional changes to meet DFSG. + + -- Chris Grzegorczyk Thu, 17 Dec 2009 03:12:31 -0800 + +The source tarball is repacked from the original source tarball downloaded +from [1]. The doc/ subdirectory was removed, as it contains binary elements +without source code (png, odg, pdf). + +[1] http://www.jboss.org/netty/downloads.html + + -- Thierry Carrez Wed, 26 Aug 2009 15:13:13 +0200 --- netty-3.1.0.CR1.orig/debian/orig-tar.sh +++ netty-3.1.0.CR1/debian/orig-tar.sh @@ -0,0 +1,18 @@ +#!/bin/sh -e + +# $1 = version +TAR=../netty_$2.orig.tar.gz +DIR=libnetty-java-$2.orig + +# clean up the upstream tarball +svn export http://anonsvn.jboss.org/repos/netty/tags/netty-$2/ $DIR +GZIP=--best tar -c -z -f $TAR $DIR +rm -rf $DIR +rm ../netty-$2 + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $TAR $origDir + echo "moved $TAR to $origDir" +fi --- netty-3.1.0.CR1.orig/debian/build.xml +++ netty-3.1.0.CR1/debian/build.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- netty-3.1.0.CR1.orig/debian/rules +++ netty-3.1.0.CR1/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk + +JAVA_HOME := /usr/lib/jvm/default-java +DEB_ANT_BUILDFILE := debian/build.xml +DEB_ANT_ARGS := -DartifactVersion=$(DEB_UPSTREAM_VERSION) \ + -DartifactId=$(DEB_SOURCE_PACKAGE) +DEB_JARS := commons-logging log4j-1.2 servlet-api-2.5 \ + slf4j-api slf4j-log4j12 + +binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java:: + dh_install -plib$(DEB_SOURCE_PACKAGE)-java build/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java + dh_link -plib$(DEB_SOURCE_PACKAGE)-java usr/share/java/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(DEB_SOURCE_PACKAGE).jar + --- netty-3.1.0.CR1.orig/debian/changelog +++ netty-3.1.0.CR1/debian/changelog @@ -0,0 +1,21 @@ +netty (1:3.1.0.CR1-1) unstable; urgency=low + + * Port package to pkg-java based largely on existing Ubuntu package + * Pull sources from svn to build orig tarball avoiding DFSG non-compliance + * debian/copyright, debian/README.source: Update to reflect DFSG-compliant + packaging. + + -- Chris Grzegorczyk Thu, 17 Dec 2009 03:12:31 -0800 + +netty (3.1.0.CR1+dfsg-0ubuntu1) karmic; urgency=low + + * Repackaged orig tarball to avoid shipping sourceless doc/ elements. + * debian/copyright, debian/README.source: Explain repacking. + + -- Thierry Carrez Wed, 26 Aug 2009 15:13:13 +0200 + +netty (3.1.0.CR1-0ubuntu1) karmic; urgency=low + + * Initial release. New Eucalyptus dependency. + + -- Thierry Carrez Tue, 21 Jul 2009 16:48:12 +0200 --- netty-3.1.0.CR1.orig/debian/watch +++ netty-3.1.0.CR1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://anonsvn.jboss.org/repos/netty/tags/ netty-([0-9].*)/ debian debian/orig-tar.sh --- netty-3.1.0.CR1.orig/debian/control +++ netty-3.1.0.CR1/debian/control @@ -0,0 +1,23 @@ +Source: netty +Section: java +Priority: optional +Maintainer: Chris Grzegorczyk +DM-Upload-Allowed: yes +Uploaders: Graziano Obertelli , Kyo Lee +XSBC-Original-Maintainer: Thierry Carrez +Build-Depends-Indep: default-jdk, + libcommons-logging-java, + liblog4j1.2-java, + libslf4j-java, + libservlet2.5-java +Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3) +Standards-Version: 3.8.3 + +Package: libnetty-java +Architecture: all +Depends: default-jre-headless | java5-runtime-headless, ${misc:Depends} +Description: Java NIO client/server socket framework + Netty is a Java NIO client/server framework which enables quick and easy + development of network applications such as protocol servers and clients. + It greatly simplifies and streamlines network programming such as TCP and UDP + socket server. --- netty-3.1.0.CR1.orig/debian/compat +++ netty-3.1.0.CR1/debian/compat @@ -0,0 +1 @@ +5