This is an automated email from the git hooks/post-receive script. matthew pushed a commit to branch master in repository libowasp-antisamy-java.
commit e638da545094d74dddf0f31281a336e428419b9a Author: Matthew Vernon <[email protected]> Date: Thu Mar 20 18:25:12 2014 +0000 Initial Debianisation This adds debian/* from my pre-git work on this package, and a single-line patch to pom.xml (required for the package to build) --- debian/README.source | 12 +++++++++ debian/changelog | 13 ++++++++++ debian/compat | 1 + debian/control | 34 ++++++++++++++++++++++++++ debian/copyright | 17 +++++++++++++ debian/libowasp-antisamy-java-doc.doc-base.api | 10 ++++++++ debian/libowasp-antisamy-java-doc.install | 2 ++ debian/libowasp-antisamy-java.poms | 28 +++++++++++++++++++++ debian/maven.cleanIgnoreRules | 1 + debian/maven.ignoreRules | 3 +++ debian/maven.properties | 7 ++++++ debian/maven.publishedRules | 2 ++ debian/maven.rules | 3 +++ debian/rules | 9 +++++++ debian/source/format | 1 + debian/source/options | 1 + debian/source/patch-header | 10 ++++++++ pom.xml | 1 + 18 files changed, 155 insertions(+) diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..42d8c40 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,12 @@ +Information about libowasp-antisamy-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. + +This package uses a version control system as described in +http://wiki.debian.org/Java/JavaVcs and the pages linked from there. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..df90a6f --- /dev/null +++ b/debian/changelog @@ -0,0 +1,13 @@ +libowasp-antisamy-java (1.5.3-2) experimental; urgency=low + + * Put into git + * Add Vcs-Git/Browser headers to debian/control + + -- Matthew Vernon <[email protected]> Thu, 20 Mar 2014 18:24:07 +0000 + +libowasp-antisamy-java (1.5.3-1) experimental; urgency=low + + * Initial release (closes: #741367) + * This is (eventually) a build-dependency for the Shibboleth IdP + + -- Matthew Vernon <[email protected]> Tue, 18 Feb 2014 16:52:46 +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..b71918e --- /dev/null +++ b/debian/control @@ -0,0 +1,34 @@ +Source: libowasp-antisamy-java +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Matthew Vernon <[email protected]> +Build-Depends: debhelper (>= 9), cdbs, default-jdk, maven-debian-helper (>= 1.5) +Build-Depends-Indep: libbatik-java, libcommons-httpclient-java, libnekohtml-java, + default-jdk-doc, libnekohtml-java-doc, libmaven-javadoc-plugin-java +Standards-Version: 3.9.5 +Vcs-Git: git://anonscm.debian.org/pkg-java/libowasp-antisamy-java.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/libowasp-antisamy-java.git +Homepage: https://code.google.com/p/owaspantisamy/ + +Package: libowasp-antisamy-java +Architecture: all +Depends: ${misc:Depends}, ${maven:Depends} +Suggests: ${maven:OptionalDepends}, libowasp-antisamy-java-doc +Description: OWASP AntiSamy + The OWASP AntiSamy project is a collection of APIs for safely allowing + users to supply their own HTML and CSS without exposing the site to XSS + vulnerabilities + +Package: libowasp-antisamy-java-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, ${maven:DocDepends} +Recommends: ${maven:DocOptionalDepends} +Suggests: libowasp-antisamy-java +Description: Documentation for OWASP AntiSamy + The OWASP AntiSamy project is a collection of APIs for safely allowing + users to supply their own HTML and CSS without exposing the site to XSS + vulnerabilities + . + This package contains the API documentation of libowasp-antisamy-java. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5581ae0 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,17 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: OWASP AntiSamy +Source: https://code.google.com/p/owaspantisamy/ + +Files: * +Copyright: 2014, Arshan Dabirsiaghi +License: BSD + +Files: debian/* +Copyright: 2014, Matthew Vernon <[email protected]> +License: BSD + +License: BSD + On Debian systems, the full text of the BSD license can + be found in the file '/usr/share/common-licenses/BSD' + + diff --git a/debian/libowasp-antisamy-java-doc.doc-base.api b/debian/libowasp-antisamy-java-doc.doc-base.api new file mode 100644 index 0000000..9882c9a --- /dev/null +++ b/debian/libowasp-antisamy-java-doc.doc-base.api @@ -0,0 +1,10 @@ +Document: libowasp-antisamy-java +Title: API Javadoc for OWASP AntiSamy +Author: OWASP AntiSamy developers +Abstract: This is the API Javadoc provided for the + libowasp-antisamy-java library. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libowasp-antisamy-java/api/index.html +Files: /usr/share/doc/libowasp-antisamy-java/api/* diff --git a/debian/libowasp-antisamy-java-doc.install b/debian/libowasp-antisamy-java-doc.install new file mode 100644 index 0000000..8f06861 --- /dev/null +++ b/debian/libowasp-antisamy-java-doc.install @@ -0,0 +1,2 @@ +target/apidocs/* usr/share/doc/libowasp-antisamy-java/api + diff --git a/debian/libowasp-antisamy-java.poms b/debian/libowasp-antisamy-java.poms new file mode 100644 index 0000000..5ad70f2 --- /dev/null +++ b/debian/libowasp-antisamy-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 --no-parent --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..383e4c0 --- /dev/null +++ b/debian/maven.ignoreRules @@ -0,0 +1,3 @@ + +junit junit * * * * +org.owasp.antisamy antisamy-sample-configs * * * * diff --git a/debian/maven.properties b/debian/maven.properties new file mode 100644 index 0000000..76542f4 --- /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=true + +maven.test.skip=true +maven.compiler.source=1.5 +maven.compiler.target=1.5 diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules new file mode 100644 index 0000000..d3b853b --- /dev/null +++ b/debian/maven.publishedRules @@ -0,0 +1,2 @@ + +org.owasp.antisamy antisamy jar s/.*/debian/ * * diff --git a/debian/maven.rules b/debian/maven.rules new file mode 100644 index 0000000..ef8fd03 --- /dev/null +++ b/debian/maven.rules @@ -0,0 +1,3 @@ + +commons-httpclient commons-httpclient jar s/3\..*/3.x/ * * +org.owasp.antisamy antisamy jar s/.*/debian/ * * 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..8748285 --- /dev/null +++ b/debian/source/patch-header @@ -0,0 +1,10 @@ +Subject: Collected Debian patches for libowasp-antisamy-java +Author: Matthew Vernon <[email protected]> + +The libowasp-antisamy-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. diff --git a/pom.xml b/pom.xml index b3e3107..5eec7dd 100644 --- a/pom.xml +++ b/pom.xml @@ -26,6 +26,7 @@ <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> + <version>3.x</version> </dependency> <dependency> <groupId>junit</groupId> -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libowasp-antisamy-java.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

