pkgsrc/databases/nss_ldap/Makefile
drochner c87fc5f8f3 update to rev. 240, fixes a potential information disclosure when TLS
and referrals are used together (http://secunia.com/advisories/15906/)
mostly from Adrian Portelli, tested by me
(The most recent version 242 kills the system completely if the LDAP
server is not running -- endless connection retries.)
2005-09-19 16:13:26 +00:00

33 lines
967 B
Makefile

# $NetBSD: Makefile,v 1.4 2005/09/19 16:13:26 drochner Exp $
#
DISTNAME= nss_ldap-240
CATEGORIES= databases
MASTER_SITES= http://www.padl.com/download/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.padl.com/OSS/nss_ldap.html
COMMENT= LDAP client for nsswitch
# needs nsswitch
ONLY_FOR_PLATFORM= NetBSD-3.*-*
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
CONFIGURE_ARGS+= --with-ldap-conf-file=${PKG_SYSCONFDIR}/nss_ldap.conf
CONFIGURE_ARGS+= --with-ldap-secret-file=${PKG_SYSCONFDIR}/nss_ldap.secret
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
USE_PKGINSTALL= yes
CONF_FILES= ${EGDIR}/nss_ldap.conf ${PKG_SYSCONFDIR}/nss_ldap.conf
pre-build:
${CP} ${FILESDIR}/netbsd.c ${FILESDIR}/netbsd.h ${WRKSRC}
${LN} -fs /usr/include/nsswitch.h ${BUILDLINK_DIR}/include/nss.h
.include "../../databases/openldap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"