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

Federico Cinelli cinelli at nymeria.archlinux.org
Tue Mar 12 06:21:42 UTC 2013


    Date: Tuesday, March 12, 2013 @ 07:21:42
  Author: cinelli
Revision: 86127

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

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

----------------------------------------+
 community-i686/PKGBUILD                |   42 +++++++++++++++++++++++++++++++
 community-i686/nslcd.service           |   12 ++++++++
 community-i686/nss-pam-ldapd.install   |   12 ++++++++
 community-x86_64/PKGBUILD              |   42 +++++++++++++++++++++++++++++++
 community-x86_64/nslcd.service         |   12 ++++++++
 community-x86_64/nss-pam-ldapd.install |   12 ++++++++
 6 files changed, 132 insertions(+)

Copied: nss-pam-ldapd/repos/community-i686/PKGBUILD (from rev 86126, nss-pam-ldapd/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-03-12 06:21:42 UTC (rev 86127)
@@ -0,0 +1,42 @@
+# $Id
+# Maintainer: Federico Cinelli <cinelli at aur.archlinux.org>
+
+pkgname=nss-pam-ldapd
+pkgver=0.8.12
+pkgrel=3
+pkgdesc='LDAP module for NSS and PAM'
+arch=('i686' 'x86_64')
+url="http://arthurdejong.org/$pkgname/"
+license=('LGPL2.1')
+depends=('krb5')
+replaces=('pam_ldap' 'nss_ldap')
+conflicts=('nss-pam-ldapd-git')
+provides=('nss-pam-ldapd')
+install=nss-pam-ldapd.install
+backup=('etc/nslcd.conf')
+source=("http://arthurdejong.org/$pkgname/$pkgname-$pkgver.tar.gz"
+        "nslcd.service")
+sha1sums=('9c320172df0cdd4eca6cd97ad4c2438e6552ffe0'
+          '40afa421f05c2128a5219504fea45b2e76830973')
+          
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --with-pam-seclib-dir=/usr/lib/security;
+ 
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  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-i686/nslcd.service (from rev 86126, nss-pam-ldapd/trunk/nslcd.service)
===================================================================
--- community-i686/nslcd.service	                        (rev 0)
+++ community-i686/nslcd.service	2013-03-12 06:21:42 UTC (rev 86127)
@@ -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/sbin/nslcd
+
+[Install]
+WantedBy=multi-user.target
+

Copied: nss-pam-ldapd/repos/community-i686/nss-pam-ldapd.install (from rev 86126, nss-pam-ldapd/trunk/nss-pam-ldapd.install)
===================================================================
--- community-i686/nss-pam-ldapd.install	                        (rev 0)
+++ community-i686/nss-pam-ldapd.install	2013-03-12 06:21:42 UTC (rev 86127)
@@ -0,0 +1,12 @@
+post_install() {
+    getent passwd nslcd >> /dev/null || useradd -r -M -d /var/run/nslcd -s /bin/false nslcd
+}
+
+post_upgrade() {
+    getent passwd nslcd >> /dev/null || useradd -r -M -s /bin/false nslcd
+}
+
+pre_remove() {
+    userdel nslcd >/dev/null 2>&1 || true
+}
+

Copied: nss-pam-ldapd/repos/community-x86_64/PKGBUILD (from rev 86126, nss-pam-ldapd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-03-12 06:21:42 UTC (rev 86127)
@@ -0,0 +1,42 @@
+# $Id
+# Maintainer: Federico Cinelli <cinelli at aur.archlinux.org>
+
+pkgname=nss-pam-ldapd
+pkgver=0.8.12
+pkgrel=3
+pkgdesc='LDAP module for NSS and PAM'
+arch=('i686' 'x86_64')
+url="http://arthurdejong.org/$pkgname/"
+license=('LGPL2.1')
+depends=('krb5')
+replaces=('pam_ldap' 'nss_ldap')
+conflicts=('nss-pam-ldapd-git')
+provides=('nss-pam-ldapd')
+install=nss-pam-ldapd.install
+backup=('etc/nslcd.conf')
+source=("http://arthurdejong.org/$pkgname/$pkgname-$pkgver.tar.gz"
+        "nslcd.service")
+sha1sums=('9c320172df0cdd4eca6cd97ad4c2438e6552ffe0'
+          '40afa421f05c2128a5219504fea45b2e76830973')
+          
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --with-pam-seclib-dir=/usr/lib/security;
+ 
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  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/nslcd.service (from rev 86126, nss-pam-ldapd/trunk/nslcd.service)
===================================================================
--- community-x86_64/nslcd.service	                        (rev 0)
+++ community-x86_64/nslcd.service	2013-03-12 06:21:42 UTC (rev 86127)
@@ -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/sbin/nslcd
+
+[Install]
+WantedBy=multi-user.target
+

Copied: nss-pam-ldapd/repos/community-x86_64/nss-pam-ldapd.install (from rev 86126, nss-pam-ldapd/trunk/nss-pam-ldapd.install)
===================================================================
--- community-x86_64/nss-pam-ldapd.install	                        (rev 0)
+++ community-x86_64/nss-pam-ldapd.install	2013-03-12 06:21:42 UTC (rev 86127)
@@ -0,0 +1,12 @@
+post_install() {
+    getent passwd nslcd >> /dev/null || useradd -r -M -d /var/run/nslcd -s /bin/false nslcd
+}
+
+post_upgrade() {
+    getent passwd nslcd >> /dev/null || useradd -r -M -s /bin/false nslcd
+}
+
+pre_remove() {
+    userdel nslcd >/dev/null 2>&1 || true
+}
+




More information about the arch-commits mailing list