[arch-commits] Commit in nss-pam-ldapd/repos (10 files)
Federico Cinelli
cinelli at nymeria.archlinux.org
Sun Aug 4 10:16:34 UTC 2013
Date: Sunday, August 4, 2013 @ 12:16:34
Author: cinelli
Revision: 95041
archrelease: copy trunk to community-i686, community-x86_64
Added:
nss-pam-ldapd/repos/community-i686/PKGBUILD
(from rev 95040, nss-pam-ldapd/trunk/PKGBUILD)
nss-pam-ldapd/repos/community-i686/nslcd.service
(from rev 95040, nss-pam-ldapd/trunk/nslcd.service)
nss-pam-ldapd/repos/community-i686/nslcd.tmpfiles
(from rev 95040, nss-pam-ldapd/trunk/nslcd.tmpfiles)
nss-pam-ldapd/repos/community-i686/nss-pam-ldapd.install
(from rev 95040, nss-pam-ldapd/trunk/nss-pam-ldapd.install)
nss-pam-ldapd/repos/community-x86_64/PKGBUILD
(from rev 95040, nss-pam-ldapd/trunk/PKGBUILD)
nss-pam-ldapd/repos/community-x86_64/nslcd.service
(from rev 95040, nss-pam-ldapd/trunk/nslcd.service)
nss-pam-ldapd/repos/community-x86_64/nslcd.tmpfiles
(from rev 95040, nss-pam-ldapd/trunk/nslcd.tmpfiles)
nss-pam-ldapd/repos/community-x86_64/nss-pam-ldapd.install
(from rev 95040, nss-pam-ldapd/trunk/nss-pam-ldapd.install)
Deleted:
nss-pam-ldapd/repos/community-i686/nslcd.tmpfiles
nss-pam-ldapd/repos/community-x86_64/nslcd.tmpfiles
----------------------------------------+
/nslcd.tmpfiles | 2 +
community-i686/PKGBUILD | 46 +++++++++++++++++++++++++++++++
community-i686/nslcd.service | 12 ++++++++
community-i686/nslcd.tmpfiles | 1
community-i686/nss-pam-ldapd.install | 12 ++++++++
community-x86_64/PKGBUILD | 46 +++++++++++++++++++++++++++++++
community-x86_64/nslcd.service | 12 ++++++++
community-x86_64/nslcd.tmpfiles | 1
community-x86_64/nss-pam-ldapd.install | 12 ++++++++
9 files changed, 142 insertions(+), 2 deletions(-)
Copied: nss-pam-ldapd/repos/community-i686/PKGBUILD (from rev 95040, nss-pam-ldapd/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-08-04 10:16:34 UTC (rev 95041)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Federico Cinelli <cinelli at aur.archlinux.org>
+
+pkgname=nss-pam-ldapd
+pkgver=0.8.13
+pkgrel=4
+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"
+ "nslcd.tmpfiles")
+sha1sums=('0567cfea104defabeacd88a3a3200b311b8071ec'
+ 'b564fa5738963a67a9240bf4ce63b2fa494cafb7'
+ '6e225e0d849a48e01b58adad493f017a34bdf70c')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-pam-seclib-dir=/usr/lib/security;
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$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-i686/nslcd.service (from rev 95040, nss-pam-ldapd/trunk/nslcd.service)
===================================================================
--- community-i686/nslcd.service (rev 0)
+++ community-i686/nslcd.service 2013-08-04 10:16:34 UTC (rev 95041)
@@ -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
+
Deleted: community-i686/nslcd.tmpfiles
===================================================================
--- community-i686/nslcd.tmpfiles 2013-08-04 10:04:08 UTC (rev 95040)
+++ community-i686/nslcd.tmpfiles 2013-08-04 10:16:34 UTC (rev 95041)
@@ -1 +0,0 @@
-d /run/nslcd 0755 nslcd nslcd -
Copied: nss-pam-ldapd/repos/community-i686/nslcd.tmpfiles (from rev 95040, nss-pam-ldapd/trunk/nslcd.tmpfiles)
===================================================================
--- community-i686/nslcd.tmpfiles (rev 0)
+++ community-i686/nslcd.tmpfiles 2013-08-04 10:16:34 UTC (rev 95041)
@@ -0,0 +1 @@
+d /run/nslcd 0755 nslcd nslcd -
Copied: nss-pam-ldapd/repos/community-i686/nss-pam-ldapd.install (from rev 95040, nss-pam-ldapd/trunk/nss-pam-ldapd.install)
===================================================================
--- community-i686/nss-pam-ldapd.install (rev 0)
+++ community-i686/nss-pam-ldapd.install 2013-08-04 10:16:34 UTC (rev 95041)
@@ -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 95040, nss-pam-ldapd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-08-04 10:16:34 UTC (rev 95041)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Federico Cinelli <cinelli at aur.archlinux.org>
+
+pkgname=nss-pam-ldapd
+pkgver=0.8.13
+pkgrel=4
+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"
+ "nslcd.tmpfiles")
+sha1sums=('0567cfea104defabeacd88a3a3200b311b8071ec'
+ 'b564fa5738963a67a9240bf4ce63b2fa494cafb7'
+ '6e225e0d849a48e01b58adad493f017a34bdf70c')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-pam-seclib-dir=/usr/lib/security;
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$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/nslcd.service (from rev 95040, nss-pam-ldapd/trunk/nslcd.service)
===================================================================
--- community-x86_64/nslcd.service (rev 0)
+++ community-x86_64/nslcd.service 2013-08-04 10:16:34 UTC (rev 95041)
@@ -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
+
Deleted: community-x86_64/nslcd.tmpfiles
===================================================================
--- community-x86_64/nslcd.tmpfiles 2013-08-04 10:04:08 UTC (rev 95040)
+++ community-x86_64/nslcd.tmpfiles 2013-08-04 10:16:34 UTC (rev 95041)
@@ -1 +0,0 @@
-d /run/nslcd 0755 nslcd nslcd -
Copied: nss-pam-ldapd/repos/community-x86_64/nslcd.tmpfiles (from rev 95040, nss-pam-ldapd/trunk/nslcd.tmpfiles)
===================================================================
--- community-x86_64/nslcd.tmpfiles (rev 0)
+++ community-x86_64/nslcd.tmpfiles 2013-08-04 10:16:34 UTC (rev 95041)
@@ -0,0 +1 @@
+d /run/nslcd 0755 nslcd nslcd -
Copied: nss-pam-ldapd/repos/community-x86_64/nss-pam-ldapd.install (from rev 95040, 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-08-04 10:16:34 UTC (rev 95041)
@@ -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