[arch-commits] Commit in nss-pam-ldapd/repos/community-x86_64 (8 files)

Eli Schwartz eschwartz at archlinux.org
Thu Jan 11 19:27:43 UTC 2018


    Date: Thursday, January 11, 2018 @ 19:27:42
  Author: eschwartz
Revision: 281374

archrelease: copy trunk to community-x86_64

Added:
  nss-pam-ldapd/repos/community-x86_64/PKGBUILD
    (from rev 281373, nss-pam-ldapd/trunk/PKGBUILD)
  nss-pam-ldapd/repos/community-x86_64/nslcd.service
    (from rev 281373, nss-pam-ldapd/trunk/nslcd.service)
  nss-pam-ldapd/repos/community-x86_64/nslcd.sysusers
    (from rev 281373, nss-pam-ldapd/trunk/nslcd.sysusers)
  nss-pam-ldapd/repos/community-x86_64/nslcd.tmpfiles
    (from rev 281373, nss-pam-ldapd/trunk/nslcd.tmpfiles)
Deleted:
  nss-pam-ldapd/repos/community-x86_64/PKGBUILD
  nss-pam-ldapd/repos/community-x86_64/nslcd.service
  nss-pam-ldapd/repos/community-x86_64/nslcd.tmpfiles
  nss-pam-ldapd/repos/community-x86_64/nss-pam-ldapd.install

-----------------------+
 PKGBUILD              |  128 ++++++++++++++++++++++++------------------------
 nslcd.service         |   24 ++++-----
 nslcd.sysusers        |    1 
 nslcd.tmpfiles        |    2 
 nss-pam-ldapd.install |   29 ----------
 5 files changed, 79 insertions(+), 105 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-11 19:27:09 UTC (rev 281373)
+++ PKGBUILD	2018-01-11 19:27:42 UTC (rev 281374)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Contributor: Federico Cinelli <cinelli at aur.archlinux.org>
-
-pkgname=nss-pam-ldapd
-pkgver=0.9.8
-pkgrel=1
-
-pkgdesc='LDAP module for NSS and PAM'
-url="http://arthurdejong.org/nss-pam-ldapd/"
-arch=('i686' 'x86_64')
-license=('LGPL2.1')
-
-depends=('pam')
-conflicts=('pam_ldap')
-
-provides=('nslcd')
-
-backup=('etc/nslcd.conf')
-
-options=('!emptydirs')
-
-install=nss-pam-ldapd.install
-
-source=("https://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-$pkgver.tar.gz"{,.sig}
-        "nslcd.service"
-        "nslcd.tmpfiles")
-
-md5sums=('8c99fdc54f4bf9aca8c5f53fdb1403ff'
-         'SKIP'
-         'c2edd35bab384c907eb442c606de856f'
-         'd78a702ae9e81af03ae0a85a6af4d2f3')
-
-validpgpkeys=('452EC2CB65CF68C2A1ADBF5F2A8B746810E0AFC1')
-
-build() {
-  cd nss-pam-ldapd-"$pkgver"
-  ./configure \
-    --prefix=/usr \
-    --sbindir=/usr/bin \
-    --sysconfdir=/etc \
-    --localstatedir=/var \
-    --with-pam-seclib-dir=/usr/lib/security
-
-  make
-}
-
-check() {
-  cd nss-pam-ldapd-"$pkgver"
-  PYTHON=python2 make check
-}
-
-package() {
-  cd nss-pam-ldapd-"$pkgver"
-
-  install -Dm644 "$srcdir/nslcd.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/nslcd.conf"
-  install -Dm644 "$srcdir/nslcd.service" "$pkgdir/usr/lib/systemd/system/nslcd.service"
-  install -Dm644 "$srcdir/$pkgname-$pkgver/nslcd.conf" "$pkgdir/etc/nslcd.conf"
-
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: nss-pam-ldapd/repos/community-x86_64/PKGBUILD (from rev 281373, nss-pam-ldapd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-01-11 19:27:42 UTC (rev 281374)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Federico Cinelli <cinelli at aur.archlinux.org>
+
+pkgname=nss-pam-ldapd
+pkgver=0.9.8
+pkgrel=2
+
+pkgdesc='LDAP module for NSS and PAM'
+url="https://arthurdejong.org/nss-pam-ldapd/"
+arch=('x86_64')
+license=('LGPL2.1')
+
+depends=('pam')
+conflicts=('pam_ldap')
+
+provides=('nslcd')
+
+backup=('etc/nslcd.conf')
+
+options=('!emptydirs')
+
+
+source=("https://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-$pkgver.tar.gz"{,.sig}
+        "nslcd.service"
+        "nslcd.sysusers"
+        "nslcd.tmpfiles")
+
+md5sums=('8c99fdc54f4bf9aca8c5f53fdb1403ff'
+         'SKIP'
+         'c2edd35bab384c907eb442c606de856f'
+         'f7a52c4e0eae1a5d525d0e2f374f9114'
+         'd78a702ae9e81af03ae0a85a6af4d2f3')
+
+validpgpkeys=('452EC2CB65CF68C2A1ADBF5F2A8B746810E0AFC1')
+
+build() {
+  cd nss-pam-ldapd-"$pkgver"
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --with-pam-seclib-dir=/usr/lib/security
+
+  make
+}
+
+check() {
+  cd nss-pam-ldapd-"$pkgver"
+  PYTHON=python2 make check
+}
+
+package() {
+  cd nss-pam-ldapd-"$pkgver"
+
+  install -Dm644 "$srcdir/nslcd.sysusers" "$pkgdir/usr/lib/sysusers.d/nslcd.conf"
+  install -Dm644 "$srcdir/nslcd.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/nslcd.conf"
+  install -Dm644 "$srcdir/nslcd.service" "$pkgdir/usr/lib/systemd/system/nslcd.service"
+  install -Dm644 "$srcdir/$pkgname-$pkgver/nslcd.conf" "$pkgdir/etc/nslcd.conf"
+
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: nslcd.service
===================================================================
--- nslcd.service	2018-01-11 19:27:09 UTC (rev 281373)
+++ nslcd.service	2018-01-11 19:27:42 UTC (rev 281374)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Naming services LDAP client daemon.
-After=syslog.target network.target
-
-[Service]
-Type=forking
-PIDFile=/var/run/nslcd/nslcd.pid
-ExecStart=/usr/bin/nslcd
-
-[Install]
-WantedBy=multi-user.target
-

Copied: nss-pam-ldapd/repos/community-x86_64/nslcd.service (from rev 281373, nss-pam-ldapd/trunk/nslcd.service)
===================================================================
--- nslcd.service	                        (rev 0)
+++ nslcd.service	2018-01-11 19:27:42 UTC (rev 281374)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Naming services LDAP client daemon.
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/nslcd/nslcd.pid
+ExecStart=/usr/bin/nslcd
+
+[Install]
+WantedBy=multi-user.target
+

Copied: nss-pam-ldapd/repos/community-x86_64/nslcd.sysusers (from rev 281373, nss-pam-ldapd/trunk/nslcd.sysusers)
===================================================================
--- nslcd.sysusers	                        (rev 0)
+++ nslcd.sysusers	2018-01-11 19:27:42 UTC (rev 281374)
@@ -0,0 +1 @@
+u nslcd 146 - /var/run/nslcd

Deleted: nslcd.tmpfiles
===================================================================
--- nslcd.tmpfiles	2018-01-11 19:27:09 UTC (rev 281373)
+++ nslcd.tmpfiles	2018-01-11 19:27:42 UTC (rev 281374)
@@ -1 +0,0 @@
-d /run/nslcd 0755 nslcd nslcd -

Copied: nss-pam-ldapd/repos/community-x86_64/nslcd.tmpfiles (from rev 281373, nss-pam-ldapd/trunk/nslcd.tmpfiles)
===================================================================
--- nslcd.tmpfiles	                        (rev 0)
+++ nslcd.tmpfiles	2018-01-11 19:27:42 UTC (rev 281374)
@@ -0,0 +1 @@
+d /run/nslcd 0755 nslcd nslcd -

Deleted: nss-pam-ldapd.install
===================================================================
--- nss-pam-ldapd.install	2018-01-11 19:27:09 UTC (rev 281373)
+++ nss-pam-ldapd.install	2018-01-11 19:27:42 UTC (rev 281374)
@@ -1,29 +0,0 @@
-post_install() {
-    getent group nslcd >> /dev/null  || groupadd --gid 146 nslcd
-    getent passwd nslcd >> /dev/null || useradd --gid 146 --uid 146 -M -d /var/run/nslcd -s /bin/false nslcd
-}
-
-post_upgrade() {
-    post_install
-
-    local ver
-    local old_ver="$2"
-    local upgrades=(0.9.5-3)
-
-    for ver in "${upgrades[@]}"; do
-        if [[ $(vercmp "$ver" "$old_ver") -eq 1 ]]; then
-            "_${ver//-/_}_changes"
-        fi
-    done
-}
-
-_0.9.5_3_changes() {
-    printf '%s\n' ':: nss-pam-ldapd will from 0.9.5-4 and on use the statically allocated GID 146.'
-    printf '%s\n' '   Please switch to the new UID and GID at your convenience.'
-}
-
-_0.9.6_3_changes() {
-    printf '%s\n' ':: nss-pam-ldapd will from 0.9.6-2 use the statically allocated UID 146.'
-    printf '%s\n' '   A previous version was supposed to as well, but it accedentally only used that GID.'
-    printf '%s\n' '   Please switch to the new UID at your convenience.'
-}



More information about the arch-commits mailing list