[undertow] 01/02: Add debian dir

Markus Koschany apo-guest at moszumanska.debian.org
Wed Sep 16 13:18:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository undertow.

commit f7810a46ce5020447f04f3b894bf643a763c7c6e
Author: Markus Koschany <apo at gambaru.de>
Date:   Wed Sep 16 14:52:20 2015 +0200

    Add debian dir
---
 debian/README.source                     |  9 ++++
 debian/changelog                         |  5 +++
 debian/compat                            |  1 +
 debian/control                           | 73 ++++++++++++++++++++++++++++++++
 debian/copyright                         | 17 ++++++++
 debian/libundertow-java-doc.doc-base.api | 10 +++++
 debian/libundertow-java-doc.install      |  4 ++
 debian/libundertow-java.poms             | 36 ++++++++++++++++
 debian/maven.ignoreRules                 |  7 +++
 debian/maven.properties                  |  7 +++
 debian/maven.rules                       | 27 ++++++++++++
 debian/rules                             |  8 ++++
 debian/source/format                     |  1 +
 debian/watch                             |  6 +++
 14 files changed, 211 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..d7e75ce
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about undertow
+--------------------------
+
+This package was debianized using the mh_make command
+from the maven-debian-helper package.
+
+The build system uses Maven but prevents it from downloading
+anything from the Internet, making the build compliant with
+the Debian policy.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..218de7d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+undertow (1.2.12-1) unstable; urgency=medium
+
+  * Initial release (Closes: #767001)
+
+ -- Markus Koschany <apo at gambaru.de>  Wed, 16 Sep 2015 13:07:49 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..5fa15ac
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,73 @@
+Source: undertow
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders:
+ Markus Koschany <apo at gambaru.de>
+Build-Depends:
+ debhelper (>= 9),
+ default-jdk,
+ default-jdk-doc,
+ junit4,
+ junit4-doc,
+ libapacheds-java,
+ libeasymock-java,
+ libh2-java (>= 1.3.175),
+ libhttpclient-java,
+ libhttpmime-java,
+ libjboss-classfilewriter-java,
+ libjboss-logging-java,
+ libjboss-logging-java-doc,
+ libjboss-logging-tools-java,
+ libjboss-logmanager-java,
+ libjboss-logmanager-java-doc,
+ libjboss-xnio-java,
+ libjetty-alpn-java,
+ libmaven-dependency-plugin-java,
+ libmaven-exec-plugin-java,
+ libmaven-javadoc-plugin-java,
+ libmaven-shade-plugin-java,
+ libnetty-java,
+ libtomcat8-java,
+ maven-debian-helper (>= 1.5)
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-java/undertow.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/undertow.git
+Homepage: https://www.jboss.org
+
+Package: libundertow-java
+Architecture: all
+Depends:
+ ${maven:Depends},
+ ${misc:Depends}
+Suggests:
+ libundertow-java-doc,
+ ${maven:OptionalDepends}
+Description: flexible performant web server written in Java
+ Undertow is a flexible performant web server written in java, providing both
+ blocking and non-blocking APIs based on NIO.
+ .
+ Undertow has a composition based architecture that allows you to build a web
+ server by combining small single purpose handlers. This gives you the
+ flexibility to choose between a full Java EE servlet 3.1 container, or a low
+ level non-blocking handler, to anything in between.
+ .
+ Undertow is designed to be fully embeddable, with easy to use fluent builder
+ APIs. Undertow’s lifecycle is completely controlled by the embedding
+ application.
+
+Package: libundertow-java-doc
+Architecture: all
+Section: doc
+Depends:
+ ${misc:Depends}
+Recommends:
+ ${maven:DocDepends},
+ ${maven:DocOptionalDepends}
+Suggests:
+ libundertow-java
+Description: Documentation for Undertow
+ Undertow is a flexible performant web server written in java, providing both
+ blocking and non-blocking APIs based on NIO.
+ .
+ This package contains the API documentation of libundertow-java.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..65fb521
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,17 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Undertow
+Source: jboss.org
+Files-Excluded:
+ *.class
+
+Files: *
+Copyright: 2015, Redhat Inc.
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2015, Markus Koschany <apo at gambaru.de>
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian systems, the full text of the Apache-2.0 license
+ can be found in the file '/usr/share/common-licenses/Apache-2.0'
diff --git a/debian/libundertow-java-doc.doc-base.api b/debian/libundertow-java-doc.doc-base.api
new file mode 100644
index 0000000..e426c26
--- /dev/null
+++ b/debian/libundertow-java-doc.doc-base.api
@@ -0,0 +1,10 @@
+Document: libundertow-java
+Title: API Javadoc for Undertow
+Author: Undertow developers
+Abstract: This is the API Javadoc provided for the
+ libundertow-java libraries.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libundertow-java/core/index.html
+Files: /usr/share/doc/libundertow-java/core/*
diff --git a/debian/libundertow-java-doc.install b/debian/libundertow-java-doc.install
new file mode 100644
index 0000000..6b9e4ea
--- /dev/null
+++ b/debian/libundertow-java-doc.install
@@ -0,0 +1,4 @@
+core/target/apidocs/* usr/share/doc/libundertow-java/core/
+parser-generator/target/apidocs/* usr/share/doc/libundertow-java/parser-generator/
+servlet/target/apidocs/* usr/share/doc/libundertow-java/servlet/
+websockets-jsr/target/apidocs/* usr/share/doc/libundertow-java/websockets-jsr/
diff --git a/debian/libundertow-java.poms b/debian/libundertow-java.poms
new file mode 100644
index 0000000..38fa64e
--- /dev/null
+++ b/debian/libundertow-java.poms
@@ -0,0 +1,36 @@
+# 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
+parser-generator/pom.xml
+core/pom.xml
+servlet/pom.xml
+examples/pom.xml --ignore
+websockets-jsr/pom.xml
+http2-test-suite/pom.xml --ignore
+dist/pom.xml --ignore
+coverage-report/pom.xml --ignore
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..2a9f048
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,7 @@
+
+org.apache.maven.plugins maven-enforcer-plugin * * * *
+org.apache.maven.plugins maven-antrun-plugin * * * *
+org.apache.maven.plugins maven-checkstyle-plugin * * * *
+org.bitstrings.maven.plugins dependencypath-maven-plugin * * * *
+org.jacoco org.jacoco.ant * * * *
+org.mortbay.jetty.alpn alpn-boot * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..5cab51f
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,7 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+#maven.test.skip=false
+maven.compiler.source=1.7
+maven.compiler.target=1.7
+project.build.sourceEncoding=utf-8
+maven.test.failure.ignore=true
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..82eaf3a
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,27 @@
+
+io.undertow undertow-core jar s/.*/debian/ * *
+io.undertow undertow-coverage-report pom s/.*/debian/ * *
+io.undertow undertow-dist pom s/.*/debian/ * *
+io.undertow undertow-examples jar s/.*/debian/ * *
+io.undertow undertow-http2-test-suite jar s/.*/debian/ * *
+io.undertow undertow-parent pom s/.*/debian/ * *
+io.undertow undertow-parser-generator jar s/.*/debian/ * *
+io.undertow undertow-servlet jar s/.*/debian/ * *
+io.undertow undertow-websockets-jsr jar s/.*/debian/ * *
+io.undertow undertow-core test-jar * * *
+io.undertow undertow-servlet test-jar * * *
+io.undertow undertow-websockets-jsr test-jar * * *
+junit junit jar s/4\..*/4.x/ * *
+org.jboss.classfilewriter jboss-classfilewriter jar s/.*/debian/ * *
+org.jboss.logging jboss-logging-processor jar s/.*/debian/ * *
+org.jboss.logging jboss-logging jar s/.*/debian/ * *
+org.jboss.logmanager jboss-logmanager jar s/.*/debian/ * *
+org.jboss.xnio xnio-api jar s/.*/debian/ * *
+org.jboss.xnio xnio-nio jar s/.*/debian/ * *
+s/easymock/org.easymock/ easymock * s/.*/debian/ * *
+org.eclipse.jetty.alpn alpn-api jar s/.*/debian * *
+s/org\.jboss\.spec\.javax\.annotation/org.apache.tomcat/ s/jboss-annotations-api_1.2_spec/tomcat-annotations-api/ jar s/.*/8.x/ * *
+s/org\.jboss\.spec\.javax\.servlet/org.apache.tomcat/ s/jboss-servlet-api_3.1_spec/tomcat-servlet-api/ jar s/.*/8.x/ * *
+s/org\.jboss\.spec\.javax\.websocket/org.apache.tomcat/ s/jboss-websocket-api_1.1_spec/tomcat-websocket-api/ jar s/.*/8.x/ * *
+io.netty netty-all * s/.*/debian/ * *
+org.apache.directory.server apacheds-all * s/.*/debian * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ef27c18
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+export JAVA_HOME=/usr/lib/jvm/default-java
+
+%:
+	dh $@ --parallel --buildsystem=maven
+
+get-orig-source:
+	uscan --verbose --repack --compression xz --download-current-version --force-download
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..4c17db5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=3
+opts=dversionmangle=s/(\da?)[\+\.\-~](?:dfsg|debian|ds|repack|repacked)\.?\d*$/$1/,\
+uversionmangle=s/_/./g;s/\.Final// \
+https://github.com/undertow-io/undertow/tags \
+.*/archive/(?:upstream/)?(?:v||version-|release-|X|R|r)(\d\S*)\.Final\.tar\.gz
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/undertow.git



More information about the pkg-java-commits mailing list