This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository netty.
commit f978b866bd4a736acb4f99790affdd5f8c07286f Author: Chris Grzegorczyk <[email protected]> Date: Fri Feb 19 01:52:56 2010 +0000 Migrate netty from pkg-escience --- debian/README.Debian | 11 +++++++++++ debian/README.source | 15 ++++++++++++++ debian/build.xml | 35 +++++++++++++++++++++++++++++++++ debian/changelog | 21 ++++++++++++++++++++ debian/compat | 1 + debian/control | 23 ++++++++++++++++++++++ debian/copyright | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++ debian/orig-tar.sh | 18 +++++++++++++++++ debian/rules | 16 +++++++++++++++ debian/watch | 2 ++ 10 files changed, 197 insertions(+) diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..e189a40 --- /dev/null +++ b/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 <[email protected]> Tue, 30 Jun 2009 11:11:15 +0200 diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..d84064c --- /dev/null +++ b/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 <[email protected]> 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 <[email protected]> Wed, 26 Aug 2009 15:13:13 +0200 diff --git a/debian/build.xml b/debian/build.xml new file mode 100644 index 0000000..ae6dd28 --- /dev/null +++ b/debian/build.xml @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<project name="pkg-java" default="package" basedir=".."> + + <property name="build.sourceDirectory" value="src/main/java"/> + <property name="build.directory" value="build"/> + <property name="build.outputDirectory" value="${build.directory}/classes"/> + + <target name="clean"> + <delete dir="${build.directory}"/> + </target> + + <target name="compile"> + <mkdir dir="${build.outputDirectory}"/> + <javac + destdir="${build.outputDirectory}" + nowarn="true" + target="1.5" + deprecation="false" + debug="on"> + <src path="${build.sourceDirectory}"/> + <exclude name="org/jboss/netty/channel/xnio/**"/> + <exclude name="org/jboss/netty/container/**"/> + <exclude name="org/jboss/netty/example/**"/> + <exclude name="org/jboss/netty/handler/codec/protobuf/**"/> + <exclude name="org/jboss/netty/logging/JBossLogger*.java"/> + <exclude name="org/jboss/netty/logging/OsgiLogger*.java"/> + </javac> + </target> + + <target name="package" depends="compile"> + <jar jarfile="${build.directory}/${artifactId}-${artifactVersion}.jar" + basedir="${build.outputDirectory}"/> + </target> + +</project> diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4b3c74f --- /dev/null +++ b/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 <[email protected]> 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 <[email protected]> Wed, 26 Aug 2009 15:13:13 +0200 + +netty (3.1.0.CR1-0ubuntu1) karmic; urgency=low + + * Initial release. New Eucalyptus dependency. + + -- Thierry Carrez <[email protected]> Tue, 21 Jul 2009 16:48:12 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..5944fe6 --- /dev/null +++ b/debian/control @@ -0,0 +1,23 @@ +Source: netty +Section: java +Priority: optional +Maintainer: Chris Grzegorczyk <[email protected]> +DM-Upload-Allowed: yes +Uploaders: Graziano Obertelli <[email protected]>, Kyo Lee <[email protected]> +XSBC-Original-Maintainer: Thierry Carrez <[email protected]> +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..acd120b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,55 @@ +This package was debianized by Thierry Carrez <[email protected]> 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. + diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh new file mode 100644 index 0000000..e506893 --- /dev/null +++ b/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 diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..5dff207 --- /dev/null +++ b/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 + diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..ea28ede --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://anonsvn.jboss.org/repos/netty/tags/ netty-([0-9].*)/ debian debian/orig-tar.sh -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/netty.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

