From 9fc1f06c7643266b7b6189b12d9a6601d75373bf Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 5 Aug 2012 23:25:37 +0200 Subject: linux-pam 1.1.5-4 glibc 2.16 fix --- linux-pam/.md5sum.i686 | 1 + linux-pam/.md5sum.x86_64 | 1 + linux-pam/Pkgfile | 8 +++++--- linux-pam/pam-glibc-2.16.patch | 10 ++++++++++ 4 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 linux-pam/pam-glibc-2.16.patch (limited to 'linux-pam') diff --git a/linux-pam/.md5sum.i686 b/linux-pam/.md5sum.i686 index 075d371a0..03582b669 100644 --- a/linux-pam/.md5sum.i686 +++ b/linux-pam/.md5sum.i686 @@ -1 +1,2 @@ 927ee5585bdec5256c75117e9348aa47 Linux-PAM-1.1.5.tar.bz2 +469023948632df30d2cb2015b77aa0fe pam-glibc-2.16.patch diff --git a/linux-pam/.md5sum.x86_64 b/linux-pam/.md5sum.x86_64 index 075d371a0..03582b669 100644 --- a/linux-pam/.md5sum.x86_64 +++ b/linux-pam/.md5sum.x86_64 @@ -1 +1,2 @@ 927ee5585bdec5256c75117e9348aa47 Linux-PAM-1.1.5.tar.bz2 +469023948632df30d2cb2015b77aa0fe pam-glibc-2.16.patch 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 diff --git a/linux-pam/pam-glibc-2.16.patch b/linux-pam/pam-glibc-2.16.patch new file mode 100644 index 000000000..507cf8d46 --- /dev/null +++ b/linux-pam/pam-glibc-2.16.patch @@ -0,0 +1,10 @@ +--- a/modules/pam_unix/pam_unix_acct.c 2011-06-21 11:04:56.000000000 +0200 ++++ b/modules/pam_unix/pam_unix_acct.c 2012-07-05 16:04:35.643727485 +0200 +@@ -41,6 +41,7 @@ + #include + #include + #include ++#include + #include + #include + #include -- cgit v1.2.3-70-g09d2