[pkg-eucalyptus-commits] r178 - in netty/trunk/debian: . source

Damien Raude-Morvan drazzib at alioth.debian.org
Wed Nov 23 20:21:08 UTC 2011


Author: drazzib
Date: 2011-11-23 20:21:07 +0000 (Wed, 23 Nov 2011)
New Revision: 178

Added:
   netty/trunk/debian/libnetty-java.poms
   netty/trunk/debian/maven.cleanIgnoreRules
   netty/trunk/debian/maven.ignoreRules
   netty/trunk/debian/maven.publishedRules
   netty/trunk/debian/maven.rules
   netty/trunk/debian/source/
   netty/trunk/debian/source/format
Modified:
   netty/trunk/debian/
   netty/trunk/debian/build.xml
   netty/trunk/debian/changelog
   netty/trunk/debian/compat
   netty/trunk/debian/control
   netty/trunk/debian/copyright
   netty/trunk/debian/orig-tar.sh
   netty/trunk/debian/rules
   netty/trunk/debian/watch
Log:
* New upstream release (Closes: #643832):
  - Update watch file for github.
* Add myself to Uploaders.
* Use maven-repo-helper to install jar.
* Bump to Standards-Version to 3.9.2:
  - Provide a get-orig-source target.
  - Drop Depends on default-jre-headless.
  - Drop XSBC-* fields (Ubuntu specific)
  - Add Homepage field.
  - Add Vcs-* fields.
* Use debhelper 7 compat level.
* Fix copyright:
  - now under Apache-2.0 licence.
  - update to DEP-5.
* Switch to 3.0 (quilt) source format.
* Add Recommends on logging frameworks.


Property changes on: netty/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Modified: netty/trunk/debian/build.xml
===================================================================
--- netty/trunk/debian/build.xml	2011-10-30 05:21:08 UTC (rev 177)
+++ netty/trunk/debian/build.xml	2011-11-23 20:21:07 UTC (rev 178)
@@ -18,7 +18,6 @@
             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/**"/>

Modified: netty/trunk/debian/changelog
===================================================================
--- netty/trunk/debian/changelog	2011-10-30 05:21:08 UTC (rev 177)
+++ netty/trunk/debian/changelog	2011-11-23 20:21:07 UTC (rev 178)
@@ -1,3 +1,24 @@
+netty (1:3.2.6.Final-1) unstable; urgency=low
+
+  * New upstream release (Closes: #643832):
+    - Update watch file for github.
+  * Add myself to Uploaders.
+  * Use maven-repo-helper to install jar.
+  * Bump to Standards-Version to 3.9.2:
+    - Provide a get-orig-source target.
+    - Drop Depends on default-jre-headless.
+    - Drop XSBC-* fields (Ubuntu specific)
+    - Add Homepage field.
+    - Add Vcs-* fields.
+  * Use debhelper 7 compat level.
+  * Fix copyright:
+    - now under Apache-2.0 licence.
+    - update to DEP-5.
+  * Switch to 3.0 (quilt) source format.
+  * Add Recommends on logging frameworks.
+
+ -- Damien Raude-Morvan <drazzib at debian.org>  Wed, 23 Nov 2011 21:14:19 +0100
+
 netty (1:3.1.0.CR1-1) unstable; urgency=low
 
   * Port package to pkg-java based largely on existing Ubuntu package

Modified: netty/trunk/debian/compat
===================================================================
--- netty/trunk/debian/compat	2011-10-30 05:21:08 UTC (rev 177)
+++ netty/trunk/debian/compat	2011-11-23 20:21:07 UTC (rev 178)
@@ -1 +1 @@
-5
+7

Modified: netty/trunk/debian/control
===================================================================
--- netty/trunk/debian/control	2011-10-30 05:21:08 UTC (rev 177)
+++ netty/trunk/debian/control	2011-11-23 20:21:07 UTC (rev 178)
@@ -3,19 +3,26 @@
 Priority: optional
 Maintainer: Chris Grzegorczyk <grze at eucalyptus.com>
 DM-Upload-Allowed: yes
-Uploaders: Graziano Obertelli <graziano at eucalyptus.com>, Kyo Lee <kyo.lee at eucalyptus.com>
-XSBC-Original-Maintainer: Thierry Carrez <thierry.carrez at ubuntu.com>
+Uploaders: Graziano Obertelli <graziano at eucalyptus.com>,
+           Kyo Lee <kyo.lee at eucalyptus.com>,
+           Damien Raude-Morvan <drazzib at debian.org>
 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
+                     libcommons-logging-java,
+                     liblog4j1.2-java,
+                     libservlet2.5-java,
+                     libslf4j-java,
+                     maven-repo-helper
+Build-Depends: ant, cdbs (>= 0.4.5.3), debhelper (>= 7)
+Standards-Version: 3.9.2
+Homepage: http://www.jboss.org/netty
+Vcs-Svn: svn://svn.debian.org/svn/pkg-eucalyptus/netty/trunk/
+Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-eucalyptus/netty/trunk/
 
 Package: libnetty-java
 Architecture: all
-Depends: default-jre-headless | java5-runtime-headless, ${misc:Depends}
+Depends: ${misc:Depends}
+Recommends: libcommons-logging-java | liblog4j1.2-java | libslf4j-java,
+            libservlet2.5-java
 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.

Modified: netty/trunk/debian/copyright
===================================================================
--- netty/trunk/debian/copyright	2011-10-30 05:21:08 UTC (rev 177)
+++ netty/trunk/debian/copyright	2011-11-23 20:21:07 UTC (rev 178)
@@ -1,55 +1,32 @@
-This package was debianized by Thierry Carrez <thierry.carrez at ubuntu.com> on
-Tue, 30 Jun 2009 11:11:15 +0200
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174
+Upstream-Name: JBoss Netty
+Upstream-Contact: http://www.jboss.org/netty/
+Source: https://github.com/netty/netty/
 
-Copyright:
-    Copyright (C) 2008, Red Hat Middleware LLC, and individual contributors:
-      Andy Taylor
-      Daniel Bevenius
-      Trustin Heuiseung Lee
+Files: *
+Copyright: Copyright (C) 2008-2011, Red Hat Inc.
+License: Apache-2.0
 
-Authors:
-    Andy Taylor
-    Daniel Bevenius
-    Trustin Heuiseung Lee
+Files: src/main/java/org/jboss/netty/util/internal/*
+Copyright: Copyright (C) 2009, Red Hat Inc.
+Comments:
+ Written by Doug Lea with assistance from members of JCP JSR-166
+ Expert Group and released to the public domain, as explained at
+ http://creativecommons.org/licenses/publicdomain
+License: Apache-2.0
 
-License:
-    The Netty Project is licensed under the GNU LGPL (Lesser General Public
-    License) version 2.1.
+Files: src/main/java/org/jboss/netty/handler/codec/base64/*
+Copyright: Copyright (C) 2009, Red Hat Inc.
+Comments:
+ Written by Robert Harder and released to the public domain, as explained at
+ http://creativecommons.org/licenses/publicdomain
+License: Apache-2.0
 
-    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.
+Files: debian/*
+Copyright: 2009, Thierry Carrez <thierry.carrez at ubuntu.com>
+Copyright: 2011, Damien Raude-Morvan <drazzib at debian.org>
+License: Apache-2.0
 
-    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.
-
+License: Apache-2.0
+ On Debian systems, the complete text of the Apache License Version 2.0,
+ can be found in /usr/share/common-licenses/Apache-2.0.

Added: netty/trunk/debian/libnetty-java.poms
===================================================================
--- netty/trunk/debian/libnetty-java.poms	                        (rev 0)
+++ netty/trunk/debian/libnetty-java.poms	2011-11-23 20:21:07 UTC (rev 178)
@@ -0,0 +1,28 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+#   --ignore: ignore this POM and its artifact if any
+#   --ignore-pom: don't install the POM. To use on POM files that are created
+#     temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+#   --no-parent: remove the <parent> tag from the POM
+#   --package=<package>: an alternative package to use when installing this POM
+#      and its artifact
+#   --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+#      of the version for the package.
+#   --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+#      during a clean operation with mh_cleanpom or mh_installpom
+#   --artifact=<path>: path to the build artifact associated with this POM,
+#      it will be installed when using the command mh_install. [mh_install]
+#   --java-lib: install the jar into /usr/share/java to comply with Debian
+#      packaging guidelines
+#   --usj-name=<name>: name to use when installing the library in /usr/share/java
+#   --usj-version=<version>: version to use when installing the library in /usr/share/java
+#   --no-usj-versionless: don't install the versionless link in /usr/share/java
+#   --dest-jar=<path>: the destination for the real jar.
+#     It will be installed with mh_install. [mh_install]
+#   --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+#   --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+#     Empty by default. [mh_install]
+#
+pom.xml --no-parent --has-package-version

Added: netty/trunk/debian/maven.cleanIgnoreRules
===================================================================
--- netty/trunk/debian/maven.cleanIgnoreRules	                        (rev 0)
+++ netty/trunk/debian/maven.cleanIgnoreRules	2011-11-23 20:21:07 UTC (rev 178)
@@ -0,0 +1,17 @@
+# Maven clean ignore rules - ignore some Maven dependencies and plugins
+# during the clean phase of a Maven build
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., this dependency is then removed
+# from the POM before mvn clean is called
+#   junit junit jar s/3\\..*/3.x/
+

Added: netty/trunk/debian/maven.ignoreRules
===================================================================
--- netty/trunk/debian/maven.ignoreRules	                        (rev 0)
+++ netty/trunk/debian/maven.ignoreRules	2011-11-23 20:21:07 UTC (rev 178)
@@ -0,0 +1,40 @@
+# Maven ignore rules - ignore some Maven dependencies and plugins
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., this dependency is then removed
+# from the POM
+#   junit junit jar s/3\\..*/3.x/
+
+# Packages excluded in debian/build.xml
+com.google.protobuf protobuf-java * * * *
+org.apache.felix org.osgi.compendium * * * *
+org.apache.felix org.osgi.core * * * *
+org.jboss.logging jboss-logging-spi * * * *
+
+# Disable unneeded plugins
+org.apache.maven.plugins maven-assembly-plugin * * * *
+org.apache.maven.plugins maven-eclipse-plugin * * * *
+org.apache.maven.plugins maven-jxr-plugin * * * *
+org.apache.maven.plugins maven-release-plugin * * * *
+org.apache.maven.plugins maven-source-plugin * * * *
+
+# No tests
+org.apache.maven.plugins maven-surefire-plugin * * * *
+junit junit * * * *
+org.easymock easymock * * * *
+org.easymock easymockclassextension * * * *
+
+# No docs
+org.jboss jbossorg-docbook-xslt * * * *
+org.jboss jbossorg-fonts * * * *
+org.jboss jbossorg-jdocbook-style * * * *
+org.jboss.maven.plugins maven-jdocbook-plugin * * * *

Added: netty/trunk/debian/maven.publishedRules
===================================================================
--- netty/trunk/debian/maven.publishedRules	                        (rev 0)
+++ netty/trunk/debian/maven.publishedRules	2011-11-23 20:21:07 UTC (rev 178)
@@ -0,0 +1,19 @@
+# Maven published rules - additional rules to publish, to help
+# the packaging work of Debian maintainers using mh_make
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# - a regular expression of the form s/match/replace/
+#   in this case, elements that match are transformed using
+#   the regex rule.
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., replacing the version with 3.x
+#   junit junit jar s/3\\..*/3.x/
+

Added: netty/trunk/debian/maven.rules
===================================================================
--- netty/trunk/debian/maven.rules	                        (rev 0)
+++ netty/trunk/debian/maven.rules	2011-11-23 20:21:07 UTC (rev 178)
@@ -0,0 +1,23 @@
+# Maven rules - transform Maven dependencies and plugins
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# - a regular expression of the form s/match/replace/
+#   in this case, elements that match are transformed using
+#   the regex rule.
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., replacing the version with 3.x
+#   junit junit jar s/3\\..*/3.x/
+
+org.jboss.netty netty bundle s/.*/debian/ * *
+commons-logging s/commons-logging-api/commons-logging/ * s/.*/debian/ * *
+log4j log4j * s/1\.2\..*/1.2.x/ * *
+s/ant/org.apache.ant/ * * s/.*/debian/ * *
+s/org.apache.tomcat/javax.servlet/ servlet-api jar s/.*/2.5/ * *


Property changes on: netty/trunk/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
   + *

Modified: netty/trunk/debian/rules
===================================================================
--- netty/trunk/debian/rules	2011-10-30 05:21:08 UTC (rev 177)
+++ netty/trunk/debian/rules	2011-11-23 20:21:07 UTC (rev 178)
@@ -11,6 +11,11 @@
                         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
+	mh_installpoms -plib$(DEB_SOURCE_PACKAGE)-java
+	mh_installjar -plib$(DEB_SOURCE_PACKAGE)-java -l pom.xml build/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar
 
+clean::
+	mh_clean
+
+get-orig-source:
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename


Property changes on: netty/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: netty/trunk/debian/source/format
===================================================================
--- netty/trunk/debian/source/format	                        (rev 0)
+++ netty/trunk/debian/source/format	2011-11-23 20:21:07 UTC (rev 178)
@@ -0,0 +1 @@
+3.0 (quilt)

Modified: netty/trunk/debian/watch
===================================================================
--- netty/trunk/debian/watch	2011-10-30 05:21:08 UTC (rev 177)
+++ netty/trunk/debian/watch	2011-11-23 20:21:07 UTC (rev 178)
@@ -1,2 +1,2 @@
 version=3
-http://anonsvn.jboss.org/repos/netty/tags/ netty-([0-9].*)/ debian debian/orig-tar.sh
+http://githubredir.debian.net/github/netty/netty/netty-(.*).tar.gz




More information about the pkg-eucalyptus-commits mailing list