[arch-commits] Commit in nss-pam-ldapd/repos (10 files)

Johannes Löthberg demize at archlinux.org
Thu May 14 17:43:11 UTC 2015


    Date: Thursday, May 14, 2015 @ 19:43:10
  Author: demize
Revision: 133449

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  nss-pam-ldapd/repos/community-testing-i686/
  nss-pam-ldapd/repos/community-testing-i686/PKGBUILD
    (from rev 133448, nss-pam-ldapd/trunk/PKGBUILD)
  nss-pam-ldapd/repos/community-testing-i686/nslcd.service
    (from rev 133448, nss-pam-ldapd/trunk/nslcd.service)
  nss-pam-ldapd/repos/community-testing-i686/nslcd.tmpfiles
    (from rev 133448, nss-pam-ldapd/trunk/nslcd.tmpfiles)
  nss-pam-ldapd/repos/community-testing-i686/nss-pam-ldapd.install
    (from rev 133448, nss-pam-ldapd/trunk/nss-pam-ldapd.install)
  nss-pam-ldapd/repos/community-testing-x86_64/
  nss-pam-ldapd/repos/community-testing-x86_64/PKGBUILD
    (from rev 133448, nss-pam-ldapd/trunk/PKGBUILD)
  nss-pam-ldapd/repos/community-testing-x86_64/nslcd.service
    (from rev 133448, nss-pam-ldapd/trunk/nslcd.service)
  nss-pam-ldapd/repos/community-testing-x86_64/nslcd.tmpfiles
    (from rev 133448, nss-pam-ldapd/trunk/nslcd.tmpfiles)
  nss-pam-ldapd/repos/community-testing-x86_64/nss-pam-ldapd.install
    (from rev 133448, nss-pam-ldapd/trunk/nss-pam-ldapd.install)

------------------------------------------------+
 community-testing-i686/PKGBUILD                |   53 +++++++++++++++++++++++
 community-testing-i686/nslcd.service           |   12 +++++
 community-testing-i686/nslcd.tmpfiles          |    1 
 community-testing-i686/nss-pam-ldapd.install   |   11 ++++
 community-testing-x86_64/PKGBUILD              |   53 +++++++++++++++++++++++
 community-testing-x86_64/nslcd.service         |   12 +++++
 community-testing-x86_64/nslcd.tmpfiles        |    1 
 community-testing-x86_64/nss-pam-ldapd.install |   11 ++++
 8 files changed, 154 insertions(+)

Copied: nss-pam-ldapd/repos/community-testing-i686/PKGBUILD (from rev 133448, nss-pam-ldapd/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2015-05-14 17:43:10 UTC (rev 133449)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Federico Cinelli <cinelli at aur.archlinux.org>
+
+pkgname=nss-pam-ldapd
+pkgver=0.9.5
+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')
+
+backup=('etc/nslcd.conf')
+
+options=('!emptydirs')
+
+install=nss-pam-ldapd.install
+source=("http://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-$pkgver.tar.gz"{,.sig}
+        "nslcd.service"
+        "nslcd.tmpfiles")
+md5sums=('1f0517d2c46ca1d8ecdbe23a671edc83' '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
+}
+
+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-testing-i686/nslcd.service (from rev 133448, nss-pam-ldapd/trunk/nslcd.service)
===================================================================
--- community-testing-i686/nslcd.service	                        (rev 0)
+++ community-testing-i686/nslcd.service	2015-05-14 17:43:10 UTC (rev 133449)
@@ -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-testing-i686/nslcd.tmpfiles (from rev 133448, nss-pam-ldapd/trunk/nslcd.tmpfiles)
===================================================================
--- community-testing-i686/nslcd.tmpfiles	                        (rev 0)
+++ community-testing-i686/nslcd.tmpfiles	2015-05-14 17:43:10 UTC (rev 133449)
@@ -0,0 +1 @@
+d /run/nslcd 0755 nslcd nslcd -

Copied: nss-pam-ldapd/repos/community-testing-i686/nss-pam-ldapd.install (from rev 133448, nss-pam-ldapd/trunk/nss-pam-ldapd.install)
===================================================================
--- community-testing-i686/nss-pam-ldapd.install	                        (rev 0)
+++ community-testing-i686/nss-pam-ldapd.install	2015-05-14 17:43:10 UTC (rev 133449)
@@ -0,0 +1,11 @@
+post_install() {
+    getent passwd nslcd >> /dev/null || useradd -r -M -U -d /var/run/nslcd -s /bin/false nslcd
+}
+
+post_upgrade() {
+    getent passwd nslcd >> /dev/null || useradd -r -M -U -d /var/run/nslcd -s /bin/false nslcd
+}
+
+pre_remove() {
+    userdel nslcd >/dev/null 2>&1 || true
+}

Copied: nss-pam-ldapd/repos/community-testing-x86_64/PKGBUILD (from rev 133448, nss-pam-ldapd/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-05-14 17:43:10 UTC (rev 133449)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Federico Cinelli <cinelli at aur.archlinux.org>
+
+pkgname=nss-pam-ldapd
+pkgver=0.9.5
+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')
+
+backup=('etc/nslcd.conf')
+
+options=('!emptydirs')
+
+install=nss-pam-ldapd.install
+source=("http://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-$pkgver.tar.gz"{,.sig}
+        "nslcd.service"
+        "nslcd.tmpfiles")
+md5sums=('1f0517d2c46ca1d8ecdbe23a671edc83' '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
+}
+
+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-testing-x86_64/nslcd.service (from rev 133448, nss-pam-ldapd/trunk/nslcd.service)
===================================================================
--- community-testing-x86_64/nslcd.service	                        (rev 0)
+++ community-testing-x86_64/nslcd.service	2015-05-14 17:43:10 UTC (rev 133449)
@@ -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-testing-x86_64/nslcd.tmpfiles (from rev 133448, nss-pam-ldapd/trunk/nslcd.tmpfiles)
===================================================================
--- community-testing-x86_64/nslcd.tmpfiles	                        (rev 0)
+++ community-testing-x86_64/nslcd.tmpfiles	2015-05-14 17:43:10 UTC (rev 133449)
@@ -0,0 +1 @@
+d /run/nslcd 0755 nslcd nslcd -

Copied: nss-pam-ldapd/repos/community-testing-x86_64/nss-pam-ldapd.install (from rev 133448, nss-pam-ldapd/trunk/nss-pam-ldapd.install)
===================================================================
--- community-testing-x86_64/nss-pam-ldapd.install	                        (rev 0)
+++ community-testing-x86_64/nss-pam-ldapd.install	2015-05-14 17:43:10 UTC (rev 133449)
@@ -0,0 +1,11 @@
+post_install() {
+    getent passwd nslcd >> /dev/null || useradd -r -M -U -d /var/run/nslcd -s /bin/false nslcd
+}
+
+post_upgrade() {
+    getent passwd nslcd >> /dev/null || useradd -r -M -U -d /var/run/nslcd -s /bin/false nslcd
+}
+
+pre_remove() {
+    userdel nslcd >/dev/null 2>&1 || true
+}



More information about the arch-commits mailing list