c87fc5f8f3
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.)
33 lines
967 B
Makefile
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"
|