39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
Bash
# Template file for 'nss-pam-ldapd'
|
|
pkgname=nss-pam-ldapd
|
|
version=0.9.13
|
|
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="NSS and PAM support for LDAP"
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://arthurdejong.org/nss-pam-ldapd/"
|
|
distfiles="https://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-${version}.tar.gz"
|
|
checksum=e01784e17cb533bb66bd0601e205e785263445c3c2df7a6f90232ab4131c716d
|
|
system_accounts="nslcd"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*musl) makedepends+=" musl-nscd-devel" ;;
|
|
esac
|
|
|
|
pre_configure() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*musl)
|
|
vsed -i 's/ lookup_netgroup / /' tests/Makefile.am
|
|
autoreconf -fi
|
|
;;
|
|
esac
|
|
}
|
|
|
|
post_install() {
|
|
vsv nslcd
|
|
vman man/nslcd.8
|
|
vman man/nslcd.conf.5
|
|
vman man/chsh.ldap.1
|
|
vman man/getent.ldap.1
|
|
vman man/pam_ldap.8
|
|
}
|