Date: Sunday, September 2, 2018 @ 10:53:23 Author: demize Revision: 376034
archrelease: copy trunk to community-testing-x86_64 Added: nss-pam-ldapd/repos/community-testing-x86_64/ nss-pam-ldapd/repos/community-testing-x86_64/PKGBUILD (from rev 376033, nss-pam-ldapd/trunk/PKGBUILD) nss-pam-ldapd/repos/community-testing-x86_64/nslcd.service (from rev 376033, nss-pam-ldapd/trunk/nslcd.service) nss-pam-ldapd/repos/community-testing-x86_64/nslcd.sysusers (from rev 376033, nss-pam-ldapd/trunk/nslcd.sysusers) nss-pam-ldapd/repos/community-testing-x86_64/nslcd.tmpfiles (from rev 376033, nss-pam-ldapd/trunk/nslcd.tmpfiles) ----------------+ PKGBUILD | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ nslcd.service | 9 ++++++ nslcd.sysusers | 1 nslcd.tmpfiles | 1 4 files changed, 83 insertions(+) Copied: nss-pam-ldapd/repos/community-testing-x86_64/PKGBUILD (from rev 376033, nss-pam-ldapd/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-09-02 10:53:23 UTC (rev 376034) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Johannes Löthberg <johan...@kyriasis.com> +# Contributor: Federico Cinelli <cine...@aur.archlinux.org> + +pkgname=nss-pam-ldapd +pkgver=0.9.10 +pkgrel=1 + +pkgdesc='LDAP module for NSS and PAM' +url="https://arthurdejong.org/nss-pam-ldapd/" +arch=('x86_64') +license=('LGPL2.1') + +depends=('pam' 'python2') +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=('0aeeba1882c5d77108eab24ca6995b8d' + 'SKIP' + 'c0d4921737bdbb38924e6774cd1d3bb1' + 'f7a52c4e0eae1a5d525d0e2f374f9114' + 'd78a702ae9e81af03ae0a85a6af4d2f3') + +validpgpkeys=('452EC2CB65CF68C2A1ADBF5F2A8B746810E0AFC1') + +prepare() { + cd nss-pam-ldapd-$pkgver + autoreconf -fi + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-pam-seclib-dir=/usr/lib/security \ + CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" PYTHON=python2 + + sed -i 's/env python$/env python2/' utils/chsh.py utils/getent.py +} + +build() { + cd nss-pam-ldapd-$pkgver + make +} + +check() { + cd nss-pam-ldapd-$pkgver + 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: Copied: nss-pam-ldapd/repos/community-testing-x86_64/nslcd.service (from rev 376033, nss-pam-ldapd/trunk/nslcd.service) =================================================================== --- community-testing-x86_64/nslcd.service (rev 0) +++ community-testing-x86_64/nslcd.service 2018-09-02 10:53:23 UTC (rev 376034) @@ -0,0 +1,9 @@ +[Unit] +Description=Naming services LDAP client daemon. +After=syslog.target network.target + +[Service] +ExecStart=/usr/bin/nslcd --nofork + +[Install] +WantedBy=multi-user.target Copied: nss-pam-ldapd/repos/community-testing-x86_64/nslcd.sysusers (from rev 376033, nss-pam-ldapd/trunk/nslcd.sysusers) =================================================================== --- community-testing-x86_64/nslcd.sysusers (rev 0) +++ community-testing-x86_64/nslcd.sysusers 2018-09-02 10:53:23 UTC (rev 376034) @@ -0,0 +1 @@ +u nslcd 146 - /var/run/nslcd Copied: nss-pam-ldapd/repos/community-testing-x86_64/nslcd.tmpfiles (from rev 376033, nss-pam-ldapd/trunk/nslcd.tmpfiles) =================================================================== --- community-testing-x86_64/nslcd.tmpfiles (rev 0) +++ community-testing-x86_64/nslcd.tmpfiles 2018-09-02 10:53:23 UTC (rev 376034) @@ -0,0 +1 @@ +d /run/nslcd 0755 nslcd nslcd -