This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository jenkins-matrix-auth-plugin.
commit 19369aab7eaa8bf7359f4489ef10af62944573f0 Author: Emmanuel Bourg <[email protected]> Date: Sun Oct 12 01:58:37 2014 +0200 Initial packaging --- debian/README.source | 29 +++++++++++++++++++++++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 25 +++++++++++++++++++++ debian/copyright | 35 ++++++++++++++++++++++++++++++ debian/jenkins-matrix-auth-plugin.poms | 28 ++++++++++++++++++++++++ debian/maven.cleanIgnoreRules | 1 + debian/maven.ignoreRules | 1 + debian/maven.properties | 5 +++++ debian/maven.publishedRules | 1 + debian/maven.rules | 3 +++ debian/patches/01-set-parent-version.patch | 14 ++++++++++++ debian/patches/series | 1 + debian/rules | 22 +++++++++++++++++++ debian/source/format | 1 + debian/watch | 2 ++ 16 files changed, 174 insertions(+) diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..d15e8f9 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,29 @@ +Information about jenkins-matrix-auth-plugin +-------------------------------------------- + +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. + + +Packaging new releases +---------------------- + +This plugin is a build dependency of the jenkins package. Everytime +it's updated to a new upstream release the change has to be reflected +in the war/pom.xml file of the jenkins source, otherwise the build +will fail. + + +Installation path +----------------- + +This plugin is installed as a Maven artifact in the system repository +under /usr/share/maven-repo, because it's used at build time by Maven +to assemble the jenkins package. Unlike other Jenkins plugins it doesn't +have and must not be installed in the /usr/share/jenkins/plugins directory, +because it would become uninstallable from the Jenkins plugins management +page and its removal could break other plugins relying on it. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..157f94e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +jenkins-matrix-auth-plugin (1.2-1) unstable; urgency=medium + + * Initial release (Closes: #764819) + + -- Emmanuel Bourg <[email protected]> Fri, 10 Oct 2014 23:06:55 +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..f33ac08 --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: jenkins-matrix-auth-plugin +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Emmanuel Bourg <[email protected]> +Build-Depends: debhelper (>= 9), cdbs, default-jdk, maven-debian-helper (>= 1.5), libjenkins-plugin-parent-java +Standards-Version: 3.9.6 +Vcs-Git: git://anonscm.debian.org/pkg-java/jenkins-matrix-auth-plugin.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/jenkins-matrix-auth-plugin.git +Homepage: http://wiki.jenkins-ci.org/display/JENKINS/Matrix+Authorization+Strategy+Plugin + +Package: jenkins-matrix-auth-plugin +Architecture: all +Depends: ${misc:Depends}, ${maven:Depends} +Suggests: ${maven:OptionalDepends} +Description: Matrix Authorization Strategy Plugin for Jenkins + This plugin allows one to configure who can do what in Jenkins by using + a table where each column represents a permission, and each row represents + a user or a group (often called 'role', depending on the security realm). + This includes a special user 'anonymous', which represents unauthenticated + users, as well as 'authenticated', which represents all authenticated users + (i.e. everyone except anonymous users). + . + This package is a build dependency of the jenkins packages. It's embedded + in the jenkins package and doesn't have to be installed separately. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f9cf50f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Jenkins Matrix Authorization Strategy Plugin +Source: https://github.com/jenkinsci/matrix-auth-plugin + +Files: * +Copyright: 2004-2010, Sun Microsystems, Inc. + 2004-2010, Kohsuke Kawaguchi + 2004-2010, Yahoo! Inc. + 2004-2010, Seiji Sogabe + 2004-2010, Tom Huybrechts + 2004-2010, Peter Hayes +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +Files: debian/* +Copyright: 2014, Emmanuel Bourg <[email protected]> +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/jenkins-matrix-auth-plugin.poms b/debian/jenkins-matrix-auth-plugin.poms new file mode 100644 index 0000000..0417132 --- /dev/null +++ b/debian/jenkins-matrix-auth-plugin.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..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..8b13789 --- /dev/null +++ b/debian/maven.publishedRules @@ -0,0 +1 @@ + diff --git a/debian/maven.rules b/debian/maven.rules new file mode 100644 index 0000000..52cd7a3 --- /dev/null +++ b/debian/maven.rules @@ -0,0 +1,3 @@ + +org.jenkins-ci.plugins matrix-auth jar * * * +org.jenkins-ci.plugins plugin * s/.*/debian/ * * diff --git a/debian/patches/01-set-parent-version.patch b/debian/patches/01-set-parent-version.patch new file mode 100644 index 0000000..e429d37 --- /dev/null +++ b/debian/patches/01-set-parent-version.patch @@ -0,0 +1,14 @@ +Description: Change the version of the parent pom to the generic 'debian' version +Author: Emmanuel Bourg <[email protected]> +Forwarded: not-needed +--- a/pom.xml ++++ b/pom.xml +@@ -3,7 +3,7 @@ + <parent> + <groupId>org.jenkins-ci.plugins</groupId> + <artifactId>plugin</artifactId> +- <version>1.535</version> ++ <version>debian</version> + </parent> + <artifactId>matrix-auth</artifactId> + <version>1.2</version> diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..a3d96ea --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +01-set-parent-version.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f05a32f --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/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 + +ARTIFACT_ID=matrix-auth +PACKAGE=jenkins-$(ARTIFACT_ID)-plugin + +install/$(PACKAGE):: + # Install the pom + mh_installpom -p$(PACKAGE) --keep-pom-version --has-package-version pom.xml + + # Install the hpi + mv target/$(ARTIFACT_ID).hpi target/$(ARTIFACT_ID)-$(DEB_UPSTREAM_VERSION).hpi + dh_install -p$(PACKAGE) target/$(ARTIFACT_ID)-$(DEB_UPSTREAM_VERSION).hpi \ + usr/share/maven-repo/org/jenkins-ci/plugins/$(ARTIFACT_ID)/$(DEB_UPSTREAM_VERSION)/ + rm -Rf debian/$(PACKAGE)/usr/share/maven-repo/org/jenkins-ci/plugins/$(ARTIFACT_ID)/debian + +get-orig-source: + uscan --download-current-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/watch b/debian/watch new file mode 100644 index 0000000..322df38 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://github.com/jenkinsci/matrix-auth-plugin/releases .*/matrix-auth-([\d\.]+).tar.gz -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jenkins-matrix-auth-plugin.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

