[Lunar-commits] <moonbase> Linux-PAM: Version bumped to 1.1.0

Stefan Wold ratler at lunar-linux.org
Sun Nov 1 15:17:54 CET 2009


commit fc914bd9cc369c4bf15b1c27a8dd8cca4dcc15ab
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Sun Nov 1 15:17:54 2009 +0100

    Linux-PAM: Version bumped to 1.1.0
    
    * Instead of using limits.conf config files are now being installed into /etc/security/limits.d/
    * Gettext added as dependency
    * Added pam_keyinit.so as optional to system-auth
    * Bumped redhat modules
---
 security/Linux-PAM/BUILD             |   14 ++++++++++++--
 security/Linux-PAM/DEPENDS           |    5 +++--
 security/Linux-PAM/DETAILS           |   12 ++++++------
 security/Linux-PAM/pam.d/system-auth |    1 +
 4 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/security/Linux-PAM/BUILD b/security/Linux-PAM/BUILD
index a1eef70..00ca1b5 100644
--- a/security/Linux-PAM/BUILD
+++ b/security/Linux-PAM/BUILD
@@ -13,13 +13,14 @@
   libtoolize &&
 
   ./configure  --libdir=/lib                            \
-               --enable-docdir=/usr/share/doc/Linux-PAM \
+               --docdir=/usr/share/doc/Linux-PAM        \
                --disable-prelude                        \
                --mandir=/usr/share/man                  \
                --enable-db=no                           \
                --disable-selinux                        \
                --disable-audit                          \
                --enable-isadir=../../lib/security       \
+               --enable-nls                             \
                $OPTS &&
 
   sedit  "s/examples//"  Makefile           &&
@@ -28,7 +29,7 @@
   make &&
 
   # Test our modules, we don't want a broken system
-  ldconfig -n $SOURCE_DIRECTORY/libpam/.libs
+  ldconfig -n $SOURCE_DIRECTORY/libpam/.libs &&
   find $SOURCE_DIRECTORY/modules -name "pam*.so" | while read module; do
 	if ! env LD_LIBRARY_PATH=$SOURCE_DIRECTORY/libpam/.libs \
 	  $SOURCE_DIRECTORY/$MODULE-patches-$PVERSION/dlopen.sh -ldl -lpam -L$SOURCE_DIRECTORY/libpam/.libs ${module} ; then
@@ -45,9 +46,18 @@
   prepare_install &&
   make install &&
 
+  for i in auth acct passwd session; do
+    ln -sf pam_unix.so /lib/security/pam_unix_${i}.so
+  done &&
+
+  for i in ${MODULE}-patches-${PVERSION}/limits.d/*.conf; do
+    [ -f /etc/security/limits.d/${i} ] || install -m 644 $i /etc/security/limits.d/
+  done &&
+
   # Makefile no longer setsuid on unix_chkpwd and pam_timestamp_check
   chmod 4711 /sbin/unix_chkpwd &&
   chmod 4711 /sbin/pam_timestamp_check &&
+  chmod 0700 /sbin/unix_update &&
 
   # Module documents are nice
   if [ ! -d /usr/share/doc/Linux-PAM/txt ]; then
diff --git a/security/Linux-PAM/DEPENDS b/security/Linux-PAM/DEPENDS
index 3cec91d..42f77ce 100644
--- a/security/Linux-PAM/DEPENDS
+++ b/security/Linux-PAM/DEPENDS
@@ -1,2 +1,3 @@
-depends  automake  &&
-depends  cracklib
+depends automake
+depends cracklib
+depends gettext
diff --git a/security/Linux-PAM/DETAILS b/security/Linux-PAM/DETAILS
index 8acb3d0..3d6f24f 100644
--- a/security/Linux-PAM/DETAILS
+++ b/security/Linux-PAM/DETAILS
@@ -1,18 +1,18 @@
           MODULE=Linux-PAM
-         VERSION=1.0.4
-        PVERSION=2.0
-       RHVERSION=0.99.9-1
+         VERSION=1.1.0
+        PVERSION=2.1
+       RHVERSION=0.99.10-1
           SOURCE=$MODULE-$VERSION.tar.bz2
          SOURCE2=$MODULE-patches-$PVERSION.tar.bz2
    SOURCE_URL[0]=$KERNEL_URL/pub/linux/libs/pam/library/
    SOURCE_URL[1]=ftp://ftp.kernel.org/pub/linux/libs/pam/library/
      SOURCE2_URL=$PATCH_URL
-      SOURCE_VFY=sha1:60146a363b653324d4477dce4a3e999834a2d713
-     SOURCE2_VFY=sha1:3eecbbeea83c1056a5b4dc68fdaa19222e4d47a6
+      SOURCE_VFY=sha1:1ef5b91bf483ecf31e8f07c3c0322b397b13af70
+     SOURCE2_VFY=sha1:fb34b46d14f4a2bc12f9d745486602fdc7480180
         WEB_SITE=http://www.kernel.org/pub/linux/libs/pam
       MAINTAINER=ratler at lunar-linux.org
          ENTERED=20010922
-         UPDATED=20090321
+         UPDATED=20091101
            SHORT="Pluggable Authentication Modules"
 PSAFE=no
 
diff --git a/security/Linux-PAM/pam.d/system-auth b/security/Linux-PAM/pam.d/system-auth
index 3a4caa6..6d2adbd 100644
--- a/security/Linux-PAM/pam.d/system-auth
+++ b/security/Linux-PAM/pam.d/system-auth
@@ -9,6 +9,7 @@ password    required      pam_cracklib.so try_first_pass retry=3
 password    sufficient    pam_unix.so try_first_pass use_authtok nullok md5 shadow
 password    required      pam_deny.so
 
+session     optional      pam_keyinit.so revoke
 session     required      pam_limits.so
 session     [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
 session     required      pam_unix.so


More information about the Lunar-commits mailing list