# 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 version=1.1.6 release=1 source=(http://www.linux-pam.org/library/Linux-PAM-$version.tar.bz2 pam.conf) build() { cd Linux-PAM-$version # 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 make make DESTDIR=$PKG install rm -rf $PKG/usr/share $PKG/lib/*.la $PKG/lib/security/*.la install -D -m 644 $SRC/pam.conf $PKG/etc/pam.conf }