[SCM] libpam4j packaging branch, master, updated. upstream/1.4-3-g1842008
James Page
jamespage-guest at alioth.debian.org
Mon Jun 6 10:27:49 UTC 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libpam4j packaging".
The branch, master has been updated
via 18420082c137d444dcb8c138067443abe42d5fe6 (commit)
from d369ff0a999569d7a121ad278a94533d3d814943 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 18420082c137d444dcb8c138067443abe42d5fe6
Author: James Page <james.page at canonical.com>
Date: Mon Jun 6 11:22:03 2011 +0100
Added versioned library patch
-----------------------------------------------------------------------
Summary of changes:
debian/patches/01-versioned-lib.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/debian/patches/01-versioned-lib.patch b/debian/patches/01-versioned-lib.patch
new file mode 100644
index 0000000..e86ea85
--- /dev/null
+++ b/debian/patches/01-versioned-lib.patch
@@ -0,0 +1,16 @@
+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 <james.page at canonical.com>
+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);
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9659ca5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-versioned-lib.patch
hooks/post-receive
--
libpam4j packaging
More information about the pkg-java-commits
mailing list