void-packages/srcpkgs/nss-pam-ldapd/template

24 lines
757 B
Bash

# Template file for 'nss-pam-ldapd'
pkgname=nss-pam-ldapd
version=0.9.9
revision=1
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 <maldridge@VoidLinux.eu>"
license="LGPL-2.1"
homepage="https://arthurdejong.org/nss-pam-ldapd/"
distfiles="https://arthurdejong.org/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=20ca6a43509cb8b20c370bb1501f279ee633bc0db9f4c21a877a8d47e5c447d2
case "$XBPS_TARGET_MACHINE" in
*musl) configure_args+=" --disable-nss";;
esac
post_install() {
vsv nslcd
}