debian/0000755000000000000000000000000011721552566007200 5ustar debian/libpam4j-java.classpath0000644000000000000000000000006411721552442013516 0ustar usr/share/java/libpam4j.jar /usr/share/java/jna.jar debian/libpam4j-java-doc.doc-base.api0000644000000000000000000000050311721552442014522 0ustar Document: libpam4j-java Title: API Javadoc for Java binding for libpam.so Author: Java binding for libpam.so developers Abstract: This is the API Javadoc provided for the libpam4j-java library. Section: Programming Format: HTML Index: /usr/share/doc/libpam4j-java/api/index.html Files: /usr/share/doc/libpam4j-java/api/* debian/maven.cleanIgnoreRules0000644000000000000000000000143411721552442013464 0ustar # Maven ignore rules - ignore some Maven dependencies and plugins # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., this dependency is then removed # from the POM # junit junit jar s/3\\..*/3.x/ org.jvnet.wagon-svn wagon-svn * * * * debian/libpam4j-java-doc.install0000644000000000000000000000006211721552442013743 0ustar target/apidocs/* usr/share/doc/libpam4j-java/api debian/README.source0000644000000000000000000000044411721552442011352 0ustar Information about libpam4j ------------------------------ 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. debian/watch0000644000000000000000000000032011721552442010215 0ustar version=3 opts="uversionmangle=s/-(alpha|beta)-/~$1/" \ http://java.net/projects/libpam4j/sources/svn/show/tags \ /projects/libpam4j/sources/svn/show/tags/libpam4j-(\d+).(\d+).* debian debian/orig-tar.sh debian/maven.properties0000644000000000000000000000014411721552442012414 0ustar # Include here properties to pass to Maven during the build. # For example: # maven.test.skip=true debian/rules0000755000000000000000000000043611721552442010254 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/javahelper.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 debian/libpam4j-java.poms0000644000000000000000000000222111721552442012507 0ustar # List of POM files for the package # Format of this file is: # [option]* # where option can be: # --ignore: ignore this POM or # --no-parent: remove the tag from the POM # --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=: a list of XML elements to keep in the POM # during a clean operation with mh_cleanpom or mh_installpom # --artifact=: path to the build artifact associated with this POM, # it will be installed when using the command mh_install # --java-lib: install the jar into /usr/share/java to comply with Debian # packaging guidelines # --usj-name=: name to use when installing the library in /usr/share/java # --usj-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=: the destination for the real jar # pom.xml --java-lib debian/control0000644000000000000000000000247411721552442010603 0ustar Source: libpam4j Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: James Page DM-Upload-Allowed: yes Build-Depends: cdbs, debhelper (>= 7), default-jdk, javahelper, maven-debian-helper Build-Depends-Indep: default-jdk-doc, junit (>= 3.8.1), libjna-java, libmaven-javadoc-plugin-java Standards-Version: 3.9.2 Homepage: http://java.net/projects/libpam4j/ Vcs-Git: git://git.debian.org/git/pkg-java/libpam4j.git Vcs-Browser: http://git.debian.org/?p=pkg-java/libpam4j.git Package: libpam4j-java Architecture: all Depends: ${maven:Depends}, ${misc:Depends} Recommends: ${maven:OptionalDepends} Description: Java binding for libpam.so This library enables easy integration to the pluggable authentication module (PAM) on Linux and UNIX systems through the use of native integration to libpam.so. Package: libpam4j-java-doc Architecture: all Section: doc Depends: default-jdk-doc, ${maven:DocDepends}, ${misc:Depends} Suggests: libpam4j-java Description: Documentation for Java binding for libpam.so This library enables easy integration to the pluggable authentication module (PAM) on Linux and UNIX systems through the use of native integration to libpam.so. . This package provides the API documentation for libpam4j-java. debian/maven.rules0000644000000000000000000000166511721552442011363 0ustar # Maven rules - transform Maven dependencies and plugins # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # - a regular expression of the form s/match/replace/ # in this case, elements that match are transformed using # the regex rule. # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., replacing the version with 3.x # junit junit jar s/3\\..*/3.x/ junit junit jar s/3\..*/3.x/ * * org.jvnet.libpam4j libpam4j jar s/.*/debian/ * * debian/copyright0000644000000000000000000000272311721552442011130 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Name: Java binding for libpam.so Source: http://java.net/projects/libpam4j/ Files: * Copyright: 2009, Sun Microsystems, Inc. License: MIT Files: debian/* Copyright: 2011, Canonical Ltd. (http://www.canonical.com/) License: GPL-3 License: GPL-3 On Debian GNU/Linux system you can find the complete text of the GPL-3 license in '/usr/share/common-licenses/GPL-3' 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. debian/compat0000644000000000000000000000000211721552442010367 0ustar 7 debian/maven.publishedRules0000644000000000000000000000164211721552442013216 0ustar # Maven published rules - additional rules to publish, to help # the packaging work of Debian maintainers using mh_make # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # - a regular expression of the form s/match/replace/ # in this case, elements that match are transformed using # the regex rule. # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., replacing the version with 3.x # junit junit jar s/3\\..*/3.x/ debian/source/0000755000000000000000000000000011721552442010471 5ustar debian/source/format0000644000000000000000000000001411721552442011677 0ustar 3.0 (quilt) debian/orig-tar.sh0000755000000000000000000000070111721552442011252 0ustar #!/bin/sh -e VERSION=$2 TAR=../libpam4j_$VERSION.orig.tar.gz DIR=libpam4j-$VERSION TAG=$(echo "libpam4j-$VERSION" | sed -re's/~(alpha|beta)/-\1-/') svn export https://svn.java.net/svn/libpam4j~svn/tags/${TAG}/ $DIR GZIP=--best tar -c -z -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 debian/maven.ignoreRules0000644000000000000000000000143411721552442012521 0ustar # Maven ignore rules - ignore some Maven dependencies and plugins # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., this dependency is then removed # from the POM # junit junit jar s/3\\..*/3.x/ org.jvnet.wagon-svn wagon-svn * * * * debian/changelog0000644000000000000000000000101011721552442011033 0ustar libpam4j (1.4-2) unstable; urgency=low * Fix FTBFS (LP: #935254): - d/libpam4j.poms: Add --java-lib option to ensure jar files are installed to /usr/share/java. * d/copyright: Tweaked for revised field names. * Updated my email address. [tony mancill] * Set DMUA flag. -- James Page Wed, 22 Feb 2012 09:16:04 +0000 libpam4j (1.4-1) unstable; urgency=low * Initial release. (Closes: #629381) -- James Page Mon, 06 Jun 2011 09:30:47 +0100 debian/patches/0000755000000000000000000000000011721552442010620 5ustar debian/patches/01-versioned-lib.patch0000644000000000000000000000163211721552442014623 0ustar Description: Fix version of libpam.so to 0; this ensures that the JNI links against the right version of the pam library on Debian based distros. Author: James Page Forwarded: not-needed Index: libpam4j/src/main/java/org/jvnet/libpam/impl/PAMLibrary.java =================================================================== --- libpam4j.orig/src/main/java/org/jvnet/libpam/impl/PAMLibrary.java 2011-03-23 08:22:33.924273682 +0000 +++ libpam4j/src/main/java/org/jvnet/libpam/impl/PAMLibrary.java 2011-03-23 08:22:51.234454884 +0000 @@ -129,5 +129,5 @@ final int PAM_ERROR_MSG = 3; /* Error message */ final int PAM_TEXT_INFO = 4; /* Textual information */ - public static final PAMLibrary libpam = (PAMLibrary)Native.loadLibrary("pam",PAMLibrary.class); + public static final PAMLibrary libpam = (PAMLibrary)Native.loadLibrary("libpam.so.0",PAMLibrary.class); } debian/patches/series0000644000000000000000000000002711721552442012034 0ustar 01-versioned-lib.patch