milis/talimatname/temel/pam/talimat

35 lines
798 B
Plaintext
Raw Normal View History

2017-10-27 21:56:50 +02:00
# Tanım: Pluggable Authentication Modules to choose how applications authenticate users.
2016-02-24 01:27:23 +01:00
# URL: http://www.kernel.org/pub/libs/pam
2017-10-27 21:56:50 +02:00
# Paketçi: milisarge
# Gerekler:
2017-10-28 14:15:02 +02:00
isim=pam
surum=1.2.1
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:15:02 +02:00
kaynak=(http://linux-pam.org/library/Linux-PAM-$surum.tar.bz2)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
if [ "`uname -m`" == "x86_64" ]; then
LIB=lib64
else
LIB=lib
fi
mkdir -p $PKG/etc/pam.d
2017-10-28 14:15:02 +02:00
cd Linux-PAM-$surum
2016-02-24 01:27:23 +01:00
./configure --prefix=/usr --sysconfdir=/etc \
--enable-securedir=/$LIB/security \
2017-10-28 14:15:02 +02:00
--docdir=/usr/share/doc/Linux-PAM-$surum \
2016-02-24 01:27:23 +01:00
--disable-nis --libdir=/usr/lib
make
make DESTDIR=$PKG install
chmod -v 4755 $PKG/sbin/unix_chkpwd
for file in pam pam_misc pamc
do
mv -v $PKG/usr/lib/lib${file}.so.* $PKG/$LIB &&
ln -sfv ../../$LIB/$(readlink $PKG/usr/lib/lib${file}.so) $PKG/usr/lib/lib${file}.so
done
}