[apache-log4j-extras1.2] 01/02: 1.2.17-1

Hilko Bengen bengen at moszumanska.debian.org
Tue Jul 28 21:11:29 UTC 2015


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

bengen pushed a commit to branch jessie-backports
in repository apache-log4j-extras1.2.

commit 10e71cb6f2e6dd8691b8b0e031c2533605cac8c8
Author: Hilko Bengen <bengen at debian.org>
Date:   Thu May 21 21:39:59 2015 +0200

    1.2.17-1
---
 debian/README.source                            |  9 +++++++
 debian/changelog                                |  5 ++++
 debian/compat                                   |  1 +
 debian/control                                  | 32 +++++++++++++++++++++++++
 debian/copyright                                | 18 ++++++++++++++
 debian/liblog4j-extras1.2-java-doc.doc-base.api | 10 ++++++++
 debian/liblog4j-extras1.2-java-doc.install      |  2 ++
 debian/liblog4j-extras1.2-java.poms             | 28 ++++++++++++++++++++++
 debian/maven.cleanIgnoreRules                   |  1 +
 debian/maven.ignoreRules                        |  4 ++++
 debian/maven.properties                         |  4 ++++
 debian/maven.publishedRules                     |  5 ++++
 debian/maven.rules                              |  6 +++++
 debian/orig-tar.sh                              | 20 ++++++++++++++++
 debian/rules                                    |  9 +++++++
 debian/source/format                            |  1 +
 debian/watch                                    |  9 +++++++
 17 files changed, 164 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..d13b035
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about apache-log4j-extras1.2
+----------------------------------------
+
+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..8019d75
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+apache-log4j-extras1.2 (1.2.17-1) unstable; urgency=medium
+
+  * Initial release (Closes: #786457, #791723)
+
+ -- Hilko Bengen <bengen at debian.org>  Thu, 21 May 2015 21:42:04 +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..ec4f918
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: apache-log4j-extras1.2
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Hilko Bengen <bengen at debian.org>
+Build-Depends: debhelper (>= 9), cdbs, default-jdk, maven-debian-helper (>= 1.5)
+Build-Depends-Indep: libapache-pom-java (>= 10), liblog4j1.2-java (>= 1.2.17-6~),
+ libhsqldb-java, default-jdk-doc, liblog4j1.2-java-doc, libmaven-javadoc-plugin-java,
+ libmaven-bundle-plugin-java, libmaven-assembly-plugin-java,
+ libgeronimo-jms-1.1-spec-java,
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-java/apache-log4j-extras1.2.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/apache-log4j-extras1.2.git
+Homepage: http://logging.apache.org/log4j/extras
+
+Package: liblog4j-extras1.2-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Suggests: ${maven:OptionalDepends}, liblog4j-extras1.2-java-doc
+Description: Extras for Apache log4j
+ This package provides additional appenders, filters and other capabilities
+ for version 1.2 of Apache log4j. Several of these were backported from
+ the abandoned log4j 1.3 development effort.
+
+Package: liblog4j-extras1.2-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Recommends: ${maven:DocDepends}, ${maven:DocOptionalDepends}
+Suggests: liblog4j-extras1.2-java
+Description: Documentation for Extras for Apache log4j.
+ This package contains the API documentation of liblog4j-extras1.2-java.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f5a25a2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,18 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Apache Extras™ for Apache log4j™.
+Upstream-Contact: http://vmgump.apache.org/gump/public/logging-log4j-extras/logging-log4j-extras/index.html
+Source: http://logging.apache.org/log4j/extras
+
+Files: *
+Copyright: 2015, The Apache Software Foundation
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2015, Hilko Bengen <bengen at debian.org>
+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/liblog4j-extras1.2-java-doc.doc-base.api b/debian/liblog4j-extras1.2-java-doc.doc-base.api
new file mode 100644
index 0000000..b198a22
--- /dev/null
+++ b/debian/liblog4j-extras1.2-java-doc.doc-base.api
@@ -0,0 +1,10 @@
+Document: liblog4j-extras1.2-java
+Title: API Javadoc for Apache Extras™ for Apache log4j™.
+Author: The Apache Software Foundation developers
+Abstract: This is the API Javadoc provided for the
+ liblog4j-extras1.2-java library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/liblog4j-extras1.2-java/api/index.html
+Files: /usr/share/doc/liblog4j-extras1.2-java/api/*
diff --git a/debian/liblog4j-extras1.2-java-doc.install b/debian/liblog4j-extras1.2-java-doc.install
new file mode 100644
index 0000000..9f74a05
--- /dev/null
+++ b/debian/liblog4j-extras1.2-java-doc.install
@@ -0,0 +1,2 @@
+target/apidocs/* usr/share/doc/liblog4j-extras1.2-java/api
+
diff --git a/debian/liblog4j-extras1.2-java.poms b/debian/liblog4j-extras1.2-java.poms
new file mode 100644
index 0000000..0417132
--- /dev/null
+++ b/debian/liblog4j-extras1.2-java.poms
@@ -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 --has-package-version
diff --git a/debian/maven.cleanIgnoreRules b/debian/maven.cleanIgnoreRules
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/debian/maven.cleanIgnoreRules
@@ -0,0 +1 @@
+
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..e1717a2
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,4 @@
+
+junit junit * * * *
+org.apache.maven.wagon wagon-ssh * * * *
+org.apache.rat apache-rat-plugin * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..11f9276
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,4 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+maven.test.skip=true
+
diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules
new file mode 100644
index 0000000..41ea4dc
--- /dev/null
+++ b/debian/maven.publishedRules
@@ -0,0 +1,5 @@
+
+log4j apache-log4j-extras s/jar/bundle/ s/1\.2\..*/1.2.x/ * *
+
+
+
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..4a19daf
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,6 @@
+
+log4j apache-log4j-extras bundle s/1\.2\..*/1.2.x/ * *
+org.apache apache pom s/.*/debian/ * *
+s/hsqldb/org.hsqldb/ hsqldb * s/.*/debian/ * *
+log4j log4j * s/1\.2\..*/1.2.x/ * *
+org.apache.maven.plugins maven-assembly-plugin * * * *
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..81a0b47
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+#
+# Removes unwanted content from the upstream sources.
+# Called by uscan with '--upstream-version' <version> <file>
+#
+
+VERSION=$2
+TAR=../apache-log4j-extras1.2_$VERSION.orig.tar.xz
+DIR=apache-log4j-extras1.2-$VERSION
+TAG=$(echo "apache-log4j-extras-$VERSION" | sed -re's/~(alpha|beta|rc)/-\1-/')
+
+svn export http://svn.apache.org/repos/asf/logging/log4j/companions/extras/tags/${TAG}/ $DIR
+XZ_OPT=--best tar -c -J -f $TAR --exclude '*.jar' --exclude '*.class' $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
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4a061cf
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/maven.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+
+get-orig-source:
+	uscan --download-current-version --force-download --no-symlink
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..be16382
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,9 @@
+version=3
+http://archive.apache.org/dist/logging/log4j/extras/(1.2.[\d]+)/apache-log4j-extras-(1.2.[\d]+).tar.gz debian debian/orig-tar.sh
+
+
+# http://www.apache.org/dyn/closer.cgi/logging/log4j/extras/1.2.17/apache-log4j-extras-1.2.17-src.tar.gz
+
+# opts="uversionmangle=s/-(alpha|beta|rc)(-)?/~$1$2/" \
+#   http://svn.apache.org/repos/asf/logging/log4j/companions/extras/tags/ \
+#   apache-log4j-extras-(\d.*)/ debian debian/orig-tar.sh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/apache-log4j-extras1.2.git



More information about the pkg-java-commits mailing list