[arch-commits] Commit in pam/repos (3 files)

2020-11-24 Thread Levente Polyak via arch-commits
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 
+# Contributor: judd 
+
+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 

+)
+
+sha256sums=('02d39854b508fae9dc713f7733bbcdadbe17b50de965ae65bcb6cc7852c8'
+'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 -


[arch-commits] Commit in pam/repos (3 files)

2020-07-21 Thread Tobias Powalowski via arch-commits
Date: Tuesday, July 21, 2020 @ 12:13:38
  Author: tpowa
Revision: 392325

archrelease: copy trunk to testing-x86_64

Added:
  pam/repos/testing-x86_64/
  pam/repos/testing-x86_64/PKGBUILD
(from rev 392324, pam/trunk/PKGBUILD)
  pam/repos/testing-x86_64/other
(from rev 392324, pam/trunk/other)

--+
 PKGBUILD |   41 +
 other|5 +
 2 files changed, 46 insertions(+)

Copied: pam/repos/testing-x86_64/PKGBUILD (from rev 392324, pam/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-07-21 12:13:38 UTC (rev 392325)
@@ -0,0 +1,41 @@
+# Maintainer: Tobias Powalowski 
+# Contributor: judd 
+
+pkgname=pam
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="PAM (Pluggable Authentication Modules) library"
+arch=('x86_64')
+license=('GPL2')
+url="http://linux-pam.org;
+depends=('glibc' 'cracklib' 'libtirpc' 'pambase')
+makedepends=('flex' 'w3m' 'docbook-xml>=4.4' 'docbook-xsl')
+backup=(etc/security/{access.conf,group.conf,limits.conf,namespace.conf,namespace.init,pam_env.conf,time.conf}
 etc/default/passwd etc/environment)
+source=(https://github.com/linux-pam/linux-pam/releases/download/v$pkgver/Linux-PAM-$pkgver.tar.xz
+
https://github.com/linux-pam/linux-pam/releases/download/v$pkgver/Linux-PAM-$pkgver.tar.xz.asc)
+validpgpkeys=(
+'296D6F29A020808E8717A8842DB5BD89A340AEB7' #Dimitry V. Levin 

+)
+
+sha256sums=('cd6d928c51e64139be3bdb38692c68183a509b83d4f2c221024ccd4bcddfd034'
+'SKIP')
+
+options=('!emptydirs')
+
+build() {
+  cd Linux-PAM-$pkgver
+  ./configure --libdir=/usr/lib --sbindir=/usr/bin --disable-db
+  make
+}
+
+package() {
+  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/other (from rev 392324, pam/trunk/other)
===
--- testing-x86_64/other(rev 0)
+++ testing-x86_64/other2020-07-21 12:13:38 UTC (rev 392325)
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth   requiredpam_unix.so
+accountrequiredpam_unix.so
+password   requiredpam_unix.so
+sessionrequiredpam_unix.so


[arch-commits] Commit in pam/repos (3 files)

2019-11-13 Thread Evangelos Foutras via arch-commits
Date: Wednesday, November 13, 2019 @ 17:50:59
  Author: foutrelis
Revision: 368417

archrelease: copy trunk to staging-x86_64

Added:
  pam/repos/staging-x86_64/
  pam/repos/staging-x86_64/PKGBUILD
(from rev 368416, pam/trunk/PKGBUILD)
  pam/repos/staging-x86_64/other
(from rev 368416, pam/trunk/other)

--+
 PKGBUILD |   41 +
 other|5 +
 2 files changed, 46 insertions(+)

Copied: pam/repos/staging-x86_64/PKGBUILD (from rev 368416, pam/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-11-13 17:50:59 UTC (rev 368417)
@@ -0,0 +1,41 @@
+# Maintainer: Tobias Powalowski 
+# Contributor: judd 
+
+pkgname=pam
+pkgver=1.3.1
+pkgrel=2
+pkgdesc="PAM (Pluggable Authentication Modules) library"
+arch=('x86_64')
+license=('GPL2')
+url="http://linux-pam.org;
+depends=('glibc' 'cracklib' 'libtirpc' 'pambase')
+makedepends=('flex' 'w3m' 'docbook-xml>=4.4' 'docbook-xsl')
+backup=(etc/security/{access.conf,group.conf,limits.conf,namespace.conf,namespace.init,pam_env.conf,time.conf}
 etc/default/passwd etc/environment)
+source=(https://github.com/linux-pam/linux-pam/releases/download/v$pkgver/Linux-PAM-$pkgver.tar.xz
+
https://github.com/linux-pam/linux-pam/releases/download/v$pkgver/Linux-PAM-$pkgver.tar.xz.asc)
+validpgpkeys=(
+'8C6BFD92EE0F42EDF91A6A736D1A7F052E5924BB' # Thorsten Kukuk
+)
+
+md5sums=('558ff53b0fc0563ca97f79e911822165'
+ 'SKIP')
+
+options=('!emptydirs')
+
+build() {
+  cd Linux-PAM-$pkgver
+  ./configure --libdir=/usr/lib --sbindir=/usr/bin --disable-db
+  make
+}
+
+package() {
+  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/staging-x86_64/other (from rev 368416, pam/trunk/other)
===
--- staging-x86_64/other(rev 0)
+++ staging-x86_64/other2019-11-13 17:50:59 UTC (rev 368417)
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth   requiredpam_unix.so
+accountrequiredpam_unix.so
+password   requiredpam_unix.so
+sessionrequiredpam_unix.so