[libshib-common-java] 02/06: Initial debianisation
Matthew Vernon
matthew at moszumanska.debian.org
Mon Apr 14 13:51:07 UTC 2014
This is an automated email from the git hooks/post-receive script.
matthew pushed a commit to branch master
in repository libshib-common-java.
commit 433899ca9cdd9455864164485a468c0811381d95
Author: Matthew Vernon <mcv21 at cam.ac.uk>
Date: Wed Mar 5 16:29:44 2014 +0000
Initial debianisation
---
debian/README.source | 9 +++++++++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 23 +++++++++++++++++++++++
debian/copyright | 17 +++++++++++++++++
debian/libshib-common-java.poms | 28 ++++++++++++++++++++++++++++
debian/maven.ignoreRules | 1 +
debian/maven.properties | 5 +++++
debian/maven.publishedRules | 2 ++
debian/maven.rules | 21 +++++++++++++++++++++
debian/rules | 9 +++++++++
debian/source/format | 1 +
debian/source/options | 1 +
debian/source/patch-header | 10 ++++++++++
14 files changed, 133 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..fd972e8
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about libshib-common-java
+-------------------------------------
+
+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..5b627a3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libshib-common-java (1.4.0-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Matthew Vernon <matthew at debian.org> Fri, 28 Feb 2014 14:56:59 +0000
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..006893b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: libshib-common-java
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Matthew Vernon <matthew at debian.org>
+Build-Depends: debhelper (>= 9), cdbs, default-jdk, maven-debian-helper (>= 1.5), libplexus-utils-java, libmaven-clean-plugin-java
+Build-Depends-Indep: ant, ant-contrib, junit (>= 3.8.2), libc3p0-java, libcommons-codec-java,
+ libehcache-java, libgnumail-java, libjanino-java (>= 2.7.0), libjaxp1.3-java,
+ libjoda-time-java, liblogback-java, libopensaml2-java, libservlet2.5-java,
+ libshib-parent-project2-java, libspring-context-support-java, libspring-web-java,
+ libvt-ldap-java, libxalan2-java, libxerces2-java, libxml-commons-resolver1.1-java (>= 1.2), libjgrapht0.8-java (>= 0.8.3-4), libhsqldb-java (>= 2.2.8),
+ libxml-security-java, libjargs-java (>= 1.0.0-4), libsvnkit-java
+Standards-Version: 3.9.5
+Homepage: http://shibboleth.net/shibboleth-common
+
+Package: libshib-common-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Suggests: ${maven:OptionalDepends}
+Description: Shibboleth Common Library
+ The Shibboleth Common Library provides services/infrastructure that is
+ common between Identity and Service providers.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5a66f5a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,17 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Shibboleth Common Library
+Source: http://shibboleth.net/shibboleth-common
+
+Files: *
+Copyright: 1999-2014, Ian Young
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2014, Matthew Vernon <matthew 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/libshib-common-java.poms b/debian/libshib-common-java.poms
new file mode 100644
index 0000000..4c16dce
--- /dev/null
+++ b/debian/libshib-common-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
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1 @@
+
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..e593715
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,5 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+
+maven.test.skip=true
diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules
new file mode 100644
index 0000000..2ab618e
--- /dev/null
+++ b/debian/maven.publishedRules
@@ -0,0 +1,2 @@
+
+edu.internet2.middleware shibboleth-common jar s/.*/debian/ * *
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..5b6282b
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,21 @@
+
+s/bcel/org-apache-bcel/ bcel jar s/debian/5.x/ * *
+net.shibboleth parent-v2 pom s/TRUNK-SNAPSHOT/debian/ * *
+ant-contrib ant-contrib jar s/1\..*/debian/ * *
+edu.internet2.middleware shibboleth-common jar s/.*/debian/ * *
+edu.vt.middleware vt-ldap jar s/.*/debian/ * *
+s/hsqldb/org.hsqldb/ hsqldb jar s/.*/debian/ * *
+javax.mail s/mail/gnumail jar s/.*/debian/ * *
+joda-time joda-time jar s/.*/debian/ * *
+junit junit jar s/3\..*/3.x/ * *
+org.apache.ant s/ant-nodeps/ant/ jar s/1.7.1/debian/ * *
+org.apache.velocity velocity jar s/.*/debian/ * *
+org.opensaml opensaml jar s/.*/debian/ * *
+org.owasp.esapi esapi jar s/.*/debian/ * *
+s/hsqldb/org.hsqldb/ hsqldb * s/.*/debian/ * *
+s/ant/org.apache.ant/ * * s/.*/debian/ * *
+org.springframework * * s/3\..*/3.x/ * *
+s/net.sf.jgrapht/org.jgrapht/ jgrapht s/jar/pom/ s/0\.8\..*/debian/ * *
+s/org.apache.tomcat/javax.el/ el-api jar s/.*/2.1/ * *
+s/org.apache.tomcat/javax.servlet/ jsp-api jar s/.*/2.1/ * *
+s/org.apache.tomcat/javax.servlet/ servlet-api jar s/.*/2.5/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b76c54a
--- /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-version $(DEB_UPSTREAM_VERSION) --force-download --rename
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/source/options b/debian/source/options
new file mode 100644
index 0000000..7423a2d
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+single-debian-patch
diff --git a/debian/source/patch-header b/debian/source/patch-header
new file mode 100644
index 0000000..2cbae5a
--- /dev/null
+++ b/debian/source/patch-header
@@ -0,0 +1,10 @@
+Subject: Collected Debian patches for libshib-common-java
+Author: Matthew Vernon <matthew at debian.org>
+
+The libshib-common-java package is maintained in Git rather than
+maintaining patches as separate files, and separating the patches
+doesn't seem to be worth the effort. They are therefore all included
+in this single Debian patch.
+
+For full commit history and separated commits, see the packaging Git
+repository.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libshib-common-java.git
More information about the pkg-java-commits
mailing list