[arch-commits] Commit in pam/trunk (PKGBUILD pam_unix2-glibc216.patch)
Antonio Rojas
arojas at archlinux.org
Tue Oct 8 20:30:22 UTC 2019
Date: Tuesday, October 8, 2019 @ 20:30:19
Author: arojas
Revision: 364197
Fix quoting
Modified:
pam/trunk/PKGBUILD
Deleted:
pam/trunk/pam_unix2-glibc216.patch
--------------------------+
PKGBUILD | 10 +++++-----
pam_unix2-glibc216.patch | 20 --------------------
2 files changed, 5 insertions(+), 25 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-08 20:29:11 UTC (rev 364196)
+++ PKGBUILD 2019-10-08 20:30:19 UTC (rev 364197)
@@ -23,19 +23,19 @@
options=('!emptydirs')
build() {
- cd $srcdir/Linux-PAM-$pkgver
+ cd Linux-PAM-$pkgver
./configure --libdir=/usr/lib --sbindir=/usr/bin --disable-db
make
}
package() {
- cd $srcdir/Linux-PAM-$pkgver
- make DESTDIR=$pkgdir SCONFIGDIR=/etc/security install
+ cd Linux-PAM-$pkgver
+ make DESTDIR="$pkgdir" SCONFIGDIR=/etc/security install
# set unix_chkpwd uid
- chmod +s $pkgdir/usr/bin/unix_chkpwd
+ chmod +s "$pkgdir"/usr/bin/unix_chkpwd
# remove doc which is not used anymore
# FS #40749
- rm $pkgdir/usr/share/doc/Linux-PAM/sag-pam_userdb.html
+ rm "$pkgdir"/usr/share/doc/Linux-PAM/sag-pam_userdb.html
}
Deleted: pam_unix2-glibc216.patch
===================================================================
--- pam_unix2-glibc216.patch 2019-10-08 20:29:11 UTC (rev 364196)
+++ pam_unix2-glibc216.patch 2019-10-08 20:30:19 UTC (rev 364197)
@@ -1,20 +0,0 @@
-Index: pam_unix2-2.9.1/src/read-files.c
-===================================================================
---- pam_unix2-2.9.1.orig/src/read-files.c
-+++ pam_unix2-2.9.1/src/read-files.c
-@@ -30,8 +30,14 @@
- #include <errno.h>
- #include <fcntl.h>
- #include <nss.h>
--#include <bits/libc-lock.h>
-+#include <pthread.h>
- #define __libc_lock_t pthread_mutex_t
-+#define __libc_lock_define_initialized(CLASS,NAME) \
-+ CLASS __libc_lock_t NAME = PTHREAD_MUTEX_INITIALIZER;
-+#define __libc_lock_lock(NAME) \
-+ pthread_mutex_lock, (&(NAME))
-+#define __libc_lock_unlock(NAME) \
-+ pthread_mutex_unlock, (&(NAME))
-
- #include "read-files.h"
-
More information about the arch-commits
mailing list