OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 14-Feb-2006 20:33:21
Branch: HEAD Handle: 2006021419332000
Modified files:
openpkg-src/pam pam.spec
Log:
ok, 'other' is spelled 'OTHER' on AIX, so remove the AIX hack and
instead try 'grep -i'
Summary:
Revision Changes Path
1.30 +2 -6 openpkg-src/pam/pam.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/pam/pam.spec
============================================================================
$ cvs diff -u -r1.29 -r1.30 pam.spec
--- openpkg-src/pam/pam.spec 14 Feb 2006 17:51:24 -0000 1.29
+++ openpkg-src/pam/pam.spec 14 Feb 2006 19:33:20 -0000 1.30
@@ -76,9 +76,9 @@
# search for module prefix
if [ -d $pam_cfgloc ]; then
- mod=`cat $pam_cfgloc/* 2>/dev/null | grep '^#*[ ]*other' | head
-1 | awk '{ print $3; }'`
+ mod=`cat $pam_cfgloc/* 2>/dev/null | grep -i '^#*[ ]*other' | head
-1 | awk '{ print $3; }'`
elif [ -f $pam_cfgloc ]; then
- mod=`cat $pam_cfgloc 2>/dev/null | grep '^#*[ ]*other' | head
-1 | awk '{ print $4; }'`
+ mod=`cat $pam_cfgloc 2>/dev/null | grep -i '^#*[ ]*other' | head
-1 | awk '{ print $4; }'`
else
mod=""
fi
@@ -86,10 +86,6 @@
pam_* ) pam_modpfx="" ;;
/*/pam_* ) pam_modpfx=`echo $mod | sed 's;^\(/.*/\)pam_[^/]*$;\1;'`
;;
esac
- if [ ".$pam_modpfx" = . -a -d /usr/lib/security ]; then
- # extra hack for AIX
- pam_modpfx="/usr/lib/security"
- fi
# search for include directory
for incdir in \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]