2007-06-27 00:46:43 -04:00
|
|
|
# Description: Linux-PAM (Pluggable Authentication Modules for Linux)
|
|
|
|
# URL: http://www.us.kernel.org/pub/linux/libs/pam/
|
|
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
|
|
|
|
|
|
name=linux-pam
|
2012-12-20 17:43:24 +09:00
|
|
|
version=1.1.6
|
2007-06-27 00:46:43 -04:00
|
|
|
release=1
|
2012-12-20 17:43:24 +09:00
|
|
|
source=(http://www.linux-pam.org/library/Linux-PAM-$version.tar.bz2 pam.conf)
|
2007-06-27 00:46:43 -04:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd Linux-PAM-$version
|
2009-10-27 20:54:45 +09:00
|
|
|
|
2012-12-20 17:43:24 +09:00
|
|
|
# Disable pam_userdb because it relies on the dbm api of db.
|
|
|
|
# If you need this module, rebuild db with --enable-dbm
|
|
|
|
# and comment this:
|
|
|
|
sed -ri -e 's|^(.*)pam_userdb(.*)$|\1\2|g' modules/Makefile.in
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--disable-nls
|
2007-06-27 00:46:43 -04:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2011-07-25 17:56:40 +09:00
|
|
|
rm -rf $PKG/usr/share $PKG/lib/*.la $PKG/lib/security/*.la
|
2007-06-27 00:46:43 -04:00
|
|
|
install -D -m 644 $SRC/pam.conf $PKG/etc/pam.conf
|
|
|
|
}
|