Merge pull request #3761 from the-maldridge/nss-pam-ldapd

New Package: nss-pam-ldap_0.9.6
This commit is contained in:
Juan RP 2016-03-06 08:00:09 +01:00
commit 94c9ea00cc
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,4 @@
#!/bin/bash
mkdir /var/run/nslcd
chown nslcd:nslcd /var/run/nslcd
chpst -u nslcd:nslcd nslcd -n

View File

@ -0,0 +1,20 @@
# Template file for 'nss-pam-ldapd'
pkgname=nss-pam-ldapd
version=0.9.6
revision=1
only_for_archs="i686 x86_64 armv6l armv7l aarch64"
build_style=gnu-configure
configure_args="--enable-sasl --enable-kerberos --with-pam-seclib-dir=/usr/lib/security/"
conf_files="/etc/nslcd.conf"
makedepends="pam-devel libldap-devel libsasl-devel mit-krb5-devel"
system_accounts="nslcd"
short_desc="LDAP identity management via nsswitch"
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
license="LGPL-2.1"
homepage="https://arthurdejong.org/nss-pam-ldapd/"
distfiles="https://arthurdejong.org/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=101d5a7fa10549cc77be48d07f2b8141f59182f10f2cc0fea93efd13c3a5a6f2
post_install() {
vsv nslcd
}