[arch-commits] Commit in pam/repos (3 files)
Levente Polyak
anthraxx at archlinux.org
Tue Nov 24 19:04:46 UTC 2020
Date: Tuesday, November 24, 2020 @ 19:04:46
Author: anthraxx
Revision: 401837
archrelease: copy trunk to testing-x86_64
Added:
pam/repos/testing-x86_64/
pam/repos/testing-x86_64/PKGBUILD
(from rev 401836, pam/trunk/PKGBUILD)
pam/repos/testing-x86_64/pam.tmpfiles
(from rev 401836, pam/trunk/pam.tmpfiles)
--------------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
pam.tmpfiles | 1 +
2 files changed, 53 insertions(+)
Copied: pam/repos/testing-x86_64/PKGBUILD (from rev 401836, pam/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-11-24 19:04:46 UTC (rev 401837)
@@ -0,0 +1,52 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=pam
+pkgver=1.5.0
+pkgrel=2
+pkgdesc="PAM (Pluggable Authentication Modules) library"
+arch=('x86_64')
+license=('GPL2')
+url="http://linux-pam.org"
+depends=('glibc' 'libtirpc' 'pambase' 'audit' 'libaudit.so' 'libxcrypt' 'libcrypt.so')
+makedepends=('flex' 'w3m' 'docbook-xml>=4.4' 'docbook-xsl')
+provides=('libpam.so' 'libpamc.so' 'libpam_misc.so')
+backup=(etc/security/{access.conf,faillock.conf,group.conf,limits.conf,namespace.conf,namespace.init,pam_env.conf,time.conf} etc/environment)
+source=(https://github.com/linux-pam/linux-pam/releases/download/v$pkgver/Linux-PAM-$pkgver.tar.xz{,.asc}
+ CVE-2020-27780.patch::https://github.com/linux-pam/linux-pam/commit/30fdfb90d9864bcc254a62760aaa149d373fd4eb.patch
+ $pkgname.tmpfiles)
+validpgpkeys=(
+ '8C6BFD92EE0F42EDF91A6A736D1A7F052E5924BB' # Thorsten Kukuk
+ '296D6F29A020808E8717A8842DB5BD89A340AEB7' #Dimitry V. Levin <ldv at altlinux.org>
+)
+
+sha256sums=('02d39854b508fae9dc713f7733bbcdadbe17b50de965aedddd65bcb6cc7852c8'
+ 'SKIP'
+ 'b785b637e4bf4c0a1601c296b562ee2eed09916cc589dc4021fa1abc6c5394c8'
+ '5631f224e90c4f0459361c2a5b250112e3a91ba849754bb6f67d69d683a2e5ac')
+
+options=('!emptydirs')
+
+prepare() {
+ cd Linux-PAM-$pkgver
+ patch -Np1 < ../CVE-2020-27780.patch
+}
+
+build() {
+ cd Linux-PAM-$pkgver
+ ./configure --libdir=/usr/lib --sbindir=/usr/bin --disable-db
+ make
+}
+
+package() {
+ install -Dm 644 $pkgname.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/$pkgname.conf
+ cd Linux-PAM-$pkgver
+ make DESTDIR="$pkgdir" SCONFIGDIR=/etc/security install
+
+ # set unix_chkpwd uid
+ 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
+}
Copied: pam/repos/testing-x86_64/pam.tmpfiles (from rev 401836, pam/trunk/pam.tmpfiles)
===================================================================
--- testing-x86_64/pam.tmpfiles (rev 0)
+++ testing-x86_64/pam.tmpfiles 2020-11-24 19:04:46 UTC (rev 401837)
@@ -0,0 +1 @@
+d /run/faillock 0755 root root -
More information about the arch-commits
mailing list