28 lines
844 B
Bash
28 lines
844 B
Bash
# Template file for 'nss-pam-ldapd'
|
|
pkgname=nss-pam-ldapd
|
|
version=0.9.12
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-sasl --enable-kerberos --with-pam-seclib-dir=/usr/lib/security/"
|
|
conf_files="/etc/nslcd.conf"
|
|
hostmakedepends="autoconf automake"
|
|
makedepends="pam-devel libldap-devel libsasl-devel mit-krb5-devel"
|
|
short_desc="LDAP identity management via nsswitch"
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://arthurdejong.org/nss-pam-ldapd/"
|
|
distfiles="https://github.com/arthurdejong/nss-pam-ldapd/archive/$version.tar.gz"
|
|
checksum=829b2371be42c040108165d2ea422eb6f6cacba6a01083f67025752a574a685b
|
|
system_accounts="nslcd"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*musl) configure_args+=" --disable-nss";;
|
|
esac
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
vsv nslcd
|
|
}
|