diff --git a/srcpkgs/nss-pam-ldapd/template b/srcpkgs/nss-pam-ldapd/template index 5937b851960..57300e36e76 100644 --- a/srcpkgs/nss-pam-ldapd/template +++ b/srcpkgs/nss-pam-ldapd/template @@ -1,23 +1,28 @@ # Template file for 'nss-pam-ldapd' pkgname=nss-pam-ldapd -version=0.9.9 +version=0.9.10 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" system_accounts="nslcd" short_desc="LDAP identity management via nsswitch" maintainer="Michael Aldridge " license="LGPL-2.1" homepage="https://arthurdejong.org/nss-pam-ldapd/" -distfiles="https://arthurdejong.org/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=20ca6a43509cb8b20c370bb1501f279ee633bc0db9f4c21a877a8d47e5c447d2 +distfiles="https://github.com/arthurdejong/nss-pam-ldapd/archive/$version.tar.gz" +checksum=b27b19a60a936fc9a8ed63230d3d9584a5b9244975eced4b82ca88ecb9e801fd case "$XBPS_TARGET_MACHINE" in *musl) configure_args+=" --disable-nss";; esac +pre_configure() { + ./autogen.sh +} + post_install() { vsv nslcd }