[arch-commits] Commit in nss-pam-ldapd/repos (5 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 17:34:17 UTC 2020
Date: Thursday, November 12, 2020 @ 17:34:17
Author: felixonmars
Revision: 752668
archrelease: copy trunk to community-staging-x86_64
Added:
nss-pam-ldapd/repos/community-staging-x86_64/
nss-pam-ldapd/repos/community-staging-x86_64/PKGBUILD
(from rev 752666, nss-pam-ldapd/trunk/PKGBUILD)
nss-pam-ldapd/repos/community-staging-x86_64/nslcd.service
(from rev 752666, nss-pam-ldapd/trunk/nslcd.service)
nss-pam-ldapd/repos/community-staging-x86_64/nslcd.sysusers
(from rev 752667, nss-pam-ldapd/trunk/nslcd.sysusers)
nss-pam-ldapd/repos/community-staging-x86_64/nslcd.tmpfiles
(from rev 752667, nss-pam-ldapd/trunk/nslcd.tmpfiles)
----------------+
PKGBUILD | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
nslcd.service | 9 ++++++
nslcd.sysusers | 1
nslcd.tmpfiles | 1
4 files changed, 85 insertions(+)
Copied: nss-pam-ldapd/repos/community-staging-x86_64/PKGBUILD (from rev 752666, nss-pam-ldapd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-12 17:34:17 UTC (rev 752668)
@@ -0,0 +1,74 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Federico Cinelli <cinelli at aur.archlinux.org>
+
+pkgname=nss-pam-ldapd
+pkgver=0.9.11
+pkgrel=3
+
+pkgdesc='LDAP module for NSS and PAM'
+url="https://arthurdejong.org/nss-pam-ldapd/"
+arch=('x86_64')
+license=('LGPL2.1')
+
+depends=('pam' 'python')
+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"
+ 1025d5de336d8c9585b79df3154b5649da344281.patch::https://arthurdejong.org/git/nss-pam-ldapd/patch/?id=1025d5de336d8c9585b79df3154b5649da344281)
+
+md5sums=('91df9d46a548aa7aa95d0e7c672215d0'
+ 'SKIP'
+ 'c0d4921737bdbb38924e6774cd1d3bb1'
+ 'f7a52c4e0eae1a5d525d0e2f374f9114'
+ 'd78a702ae9e81af03ae0a85a6af4d2f3'
+ '0b4ff6ec97b8965bef021e8bdf804779')
+
+validpgpkeys=('452EC2CB65CF68C2A1ADBF5F2A8B746810E0AFC1')
+
+prepare() {
+ cd nss-pam-ldapd-$pkgver
+
+ patch -p1 <"$srcdir"/1025d5de336d8c9585b79df3154b5649da344281.patch
+
+ autoreconf -fi
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-pam-seclib-dir=/usr/lib/security \
+ CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
+}
+
+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-staging-x86_64/nslcd.service (from rev 752666, nss-pam-ldapd/trunk/nslcd.service)
===================================================================
--- community-staging-x86_64/nslcd.service (rev 0)
+++ community-staging-x86_64/nslcd.service 2020-11-12 17:34:17 UTC (rev 752668)
@@ -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-staging-x86_64/nslcd.sysusers (from rev 752667, nss-pam-ldapd/trunk/nslcd.sysusers)
===================================================================
--- community-staging-x86_64/nslcd.sysusers (rev 0)
+++ community-staging-x86_64/nslcd.sysusers 2020-11-12 17:34:17 UTC (rev 752668)
@@ -0,0 +1 @@
+u nslcd 146 - /var/run/nslcd
Copied: nss-pam-ldapd/repos/community-staging-x86_64/nslcd.tmpfiles (from rev 752667, nss-pam-ldapd/trunk/nslcd.tmpfiles)
===================================================================
--- community-staging-x86_64/nslcd.tmpfiles (rev 0)
+++ community-staging-x86_64/nslcd.tmpfiles 2020-11-12 17:34:17 UTC (rev 752668)
@@ -0,0 +1 @@
+d /run/nslcd 0755 nslcd nslcd -
More information about the arch-commits
mailing list