cb72b33ad1
* fix: add versioning information to binary * fix: add AM_MAINTAINER_MODE * fix: bad LDAP query for ether lookups * fix: clarify bind timelimit defaults in ldap.conf * fix: call do_close() if ldap_result() or ldap_parse_result() fails (before returning NSS_UNAVAIL) * fix: FreeBSD thread library check * fix: deallocate context in _nss_ldap_ent_context_release() to avoid bad usage * fix: don't leak file descriptors in _nss_ldap_readconfig Changes 264: * fix: MAP_H_ERRNO() should map NSS_TRYAGAIN to NETDB_INTERNAL not TRY_AGAIN * fix: ldaps:// URIs only work if "ssl on" is set * fix: nss_ldap exposes malformed entries to the system Changes 263: * fix: nss_ldap returns success from setnetgrent() when the requested netgroup doesn't exist * fix: getXXent() only returns NULL once before implicitly calling setXXent(), whereas other backends continue to return NULL Changes 262: * fix: nss_ldap fails to work on Solaris without that patch applied Changes 261: * fix: ldap.conf template is missing a comment in the first line
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.22 2010/10/29 13:47:11 adam Exp $
|
|
|
|
DISTNAME= nss_ldap-265
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.padl.com/download/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.padl.com/OSS/nss_ldap.html
|
|
COMMENT= LDAP client for nsswitch
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
# needs nsswitch
|
|
ONLY_FOR_PLATFORM= NetBSD-[3-9]*-*
|
|
|
|
USE_TOOLS+= gmake
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --enable-schema-mapping
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --with-ldap-conf-file=${PKG_SYSCONFDIR}/nss_ldap.conf
|
|
CONFIGURE_ARGS+= --with-ldap-secret-file=${PKG_SYSCONFDIR}/nss_ldap.secret
|
|
MAKE_FLAGS+= INST_UID=${BINOWN} INST_GID=${BINGRP}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
|
|
|
|
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-client/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|