summaryrefslogtreecommitdiffstats
path: root/linux-pam
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.servegame.org>2012-08-05 23:25:37 +0200
committerpiernov <piernov@piernov.servegame.org>2012-08-05 23:25:37 +0200
commit9fc1f06c7643266b7b6189b12d9a6601d75373bf (patch)
treee31339ffb6afc2b71957d6d01c88e9c3f7e9cdf4 /linux-pam
parent91016688687488ff9e8b980dc44607342960f969 (diff)
downloadnutyx-pakxe-9fc1f06c7643266b7b6189b12d9a6601d75373bf.tar.gz
nutyx-pakxe-9fc1f06c7643266b7b6189b12d9a6601d75373bf.tar.bz2
nutyx-pakxe-9fc1f06c7643266b7b6189b12d9a6601d75373bf.tar.xz
nutyx-pakxe-9fc1f06c7643266b7b6189b12d9a6601d75373bf.zip
linux-pam 1.1.5-4 glibc 2.16 fix
Diffstat (limited to 'linux-pam')
-rw-r--r--linux-pam/.md5sum.i6861
-rw-r--r--linux-pam/.md5sum.x86_641
-rwxr-xr-xlinux-pam/Pkgfile8
-rw-r--r--linux-pam/pam-glibc-2.16.patch10
4 files changed, 17 insertions, 3 deletions
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 <string.h>
+ #include <unistd.h>
+ #include <sys/types.h>
++#include <sys/resource.h>
+ #include <syslog.h>
+ #include <pwd.h>
+ #include <shadow.h>