summaryrefslogtreecommitdiffstats
path: root/linux-pam/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'linux-pam/Pkgfile')
-rwxr-xr-xlinux-pam/Pkgfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/linux-pam/Pkgfile b/linux-pam/Pkgfile
index d4bec4586..7b147a239 100755
--- a/linux-pam/Pkgfile
+++ b/linux-pam/Pkgfile
@@ -7,12 +7,14 @@
name=linux-pam
version=1.1.5
-release=3
-source=(https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-$version.tar.bz2)
+release=4
+source=(https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-$version.tar.bz2
+ pam-glibc-2.16.patch)
build() {
mkdir -p $PKG/etc/pam.d
cd Linux-PAM-$version
+ patch -Np1 -i ../pam-glibc-2.16.patch
./configure --sysconfdir=/etc \
--libdir=/usr/lib \
--sbindir=/lib/security \
@@ -20,7 +22,7 @@ build() {
--docdir=/usr/share/doc/Linux-PAM-$version \
--enable-read-both-confs \
--with-xauth=/usr/X11R6/bin/xauth \
- --enable-nis
+ --disable-nis
make
make DESTDIR=$PKG install
chmod -v 4755 $PKG/lib/security/unix_chkpwd