Difference between revisions of "PAM Library"

From CBLFS
Jump to navigationJump to search
(Non-Multilib)
Line 44: Line 44:
 
  CC="gcc ${BUILD32}" ./configure --libdir=/usr/lib --sbindir=/lib/security \
 
  CC="gcc ${BUILD32}" ./configure --libdir=/usr/lib --sbindir=/lib/security \
 
             --enable-securedir=/lib/security \
 
             --enable-securedir=/lib/security \
             --enable-docdir=/usr/share/doc/Linux-PAM--0.99.6.2 \
+
             --enable-docdir=/usr/share/doc/Linux-PAM-0.99.6.3 \
 
             --enable-read-both-confs &&
 
             --enable-read-both-confs &&
 
  make
 
  make
Line 67: Line 67:
 
  CC="gcc ${BUILDN32}" ./configure --libdir=/usr/lib32 --sbindir=/lib32/security \
 
  CC="gcc ${BUILDN32}" ./configure --libdir=/usr/lib32 --sbindir=/lib32/security \
 
             --enable-securedir=/lib32/security \
 
             --enable-securedir=/lib32/security \
             --enable-docdir=/usr/share/doc/Linux-PAM--0.99.6.2 \
+
             --enable-docdir=/usr/share/doc/Linux-PAM-0.99.6.3 \
 
             --enable-read-both-confs &&
 
             --enable-read-both-confs &&
 
  make
 
  make
Line 90: Line 90:
 
  CC="gcc ${BUILD64}" ./configure --libdir=/usr/lib64 --sbindir=/lib64/security \
 
  CC="gcc ${BUILD64}" ./configure --libdir=/usr/lib64 --sbindir=/lib64/security \
 
             --enable-securedir=/lib64/security \
 
             --enable-securedir=/lib64/security \
             --enable-docdir=/usr/share/doc/Linux-PAM--0.99.6.2 \
+
             --enable-docdir=/usr/share/doc/Linux-PAM-0.99.6.3 \
 
             --enable-read-both-confs &&
 
             --enable-read-both-confs &&
 
  make
 
  make

Revision as of 20:31, 7 October 2006

Download Source: ftp://ftp.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-0.99.6.3.tar.bz2

Dependencies

Optional

Non-Multilib

Configure and compile the package:

./configure --libdir=/usr/lib --sbindir=/lib/security \
           --enable-securedir=/lib/security \
           --enable-docdir=/usr/share/doc/Linux-PAM-0.99.6.3 \
           --enable-read-both-confs &&
make

Install the package:

make install &&
chmod 4755 /lib/security/unix_chkpwd &&
mv /lib/security/pam_tally /sbin &&
mv /usr/lib/libpam*.so.0* /lib &&
LIBNAME=`cat libpam/libpam.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` &&
ln -sf ../../lib/$LIBNAME /usr/lib/libpam.so &&
LIBNAME=`cat libpamc/libpamc.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` &&
ln -sf ../../lib/$LIBNAME /usr/lib/libpamc.so &&
LIBNAME=`cat libpam_misc/libpam_misc.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` &&
ln -sf ../../lib/$LIBNAME /usr/lib/libpam_misc.so

Multilib

32Bit

Configure and compile the package:

CC="gcc ${BUILD32}" ./configure --libdir=/usr/lib --sbindir=/lib/security \
           --enable-securedir=/lib/security \
           --enable-docdir=/usr/share/doc/Linux-PAM-0.99.6.3 \
           --enable-read-both-confs &&
make

Install the package:

make install &&
chmod 4755 /lib/security/unix_chkpwd &&
mv /lib/security/pam_tally /sbin &&
mv /usr/lib/libpam*.so.0* /lib &&
LIBNAME=`cat libpam/libpam.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` &&
ln -sf ../../lib/$LIBNAME /usr/lib/libpam.so &&
LIBNAME=`cat libpamc/libpamc.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` &&
ln -sf ../../lib/$LIBNAME /usr/lib/libpamc.so &&
LIBNAME=`cat libpam_misc/libpam_misc.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` &&
ln -sf ../../lib/$LIBNAME /usr/lib/libpam_misc.so

N32

Configure and compile the package:

CC="gcc ${BUILDN32}" ./configure --libdir=/usr/lib32 --sbindir=/lib32/security \
           --enable-securedir=/lib32/security \
           --enable-docdir=/usr/share/doc/Linux-PAM-0.99.6.3 \
           --enable-read-both-confs &&
make

Install the package:

make install &&
chmod 4755 /lib32/security/unix_chkpwd &&
mv /lib32/security/pam_tally /sbin &&
mv /usr/lib32/libpam*.so.0* /lib &&
LIBNAME=`cat libpam/libpam.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` &&
ln -sf ../../lib32/$LIBNAME /usr/lib32/libpam.so &&
LIBNAME=`cat libpamc/libpamc.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` &&
ln -sf ../../lib32/$LIBNAME /usr/lib32/libpamc.so &&
LIBNAME=`cat libpam_misc/libpam_misc.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` &&
ln -sf ../../lib32/$LIBNAME /usr/lib32/libpam_misc.so

64Bit

Configure and compile the package:

CC="gcc ${BUILD64}" ./configure --libdir=/usr/lib64 --sbindir=/lib64/security \
           --enable-securedir=/lib64/security \
           --enable-docdir=/usr/share/doc/Linux-PAM-0.99.6.3 \
           --enable-read-both-confs &&
make

Install the package:

make install &&
chmod 4755 /lib64/security/unix_chkpwd &&
mv /lib64/security/pam_tally /sbin &&
mv /usr/lib64/libpam*.so.0* /lib64 &&
LIBNAME=`cat libpam/libpam.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` &&
ln -sf ../../lib64/$LIBNAME /usr/lib64/libpam.so &&
LIBNAME=`cat libpamc/libpamc.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` &&
ln -sf ../../lib64/$LIBNAME /usr/lib64/libpamc.so &&
LIBNAME=`cat libpam_misc/libpam_misc.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" "` &&
ln -sf ../../lib64/$LIBNAME /usr/lib64/libpam_misc.so