pkgsrc/databases/openldap-server/Makefile
ghen a0b39d3c81 Update openldap packages to 2.3.31 (new stable release).
OpenLDAP 2.3.31 Release
	Fixed libldap unchased referral leak (ITS#4545)
	Fixed libldap tls callback (ITS#4723)
	Fixed liblutil ldif file: URL parsing
	Fixed slapd syncrepl logging (ITS#4755)
	Fixed slapd group ACL caching when proxyAuthz'ing (ITS#4760)
	Fixed slapd "group" authz default member parsing (ITS#4761)
	Fixed slapd uninitialized sd_actives array (ITS#4765)
	Fixed slapd DN parsing in bindconf_parse (ITS#4766)
	Fixed slapd conditional in macro argument (ITS#4769)
	Fixed slapd send_search_reference should propagate errors
	Fixed slapd memleak on failed bind (ITS#4771)
	Fixed slapd schema preparation case to match RFCs (ITS#4764)
	Fixed slapd kbind buffer overflow condition (ITS#4775)
	Fixed slapd connections_shutdown assert
	Fixed slapd glue parent/sub db overlay nesting (ITS#4615)
	Fixed slapd-bdb/hdb/ldbm slap_add_opattrs error checking
	Fixed slapd-bdb/hdb setting up tool threads when no indices specified
	Fixed slapd-perl interpreter context (ITS#4751)
	Fixed slapo-syncprov to complain if defined outside of a database
	Fixed test021 modify ops to be syntactically correct
	Fixed contrib smbk5pwd, check kadm5 init result
	Documentation
		Fixed typo in slapo-retcode(5) man page (ITS#4753)
		Fixed syncrepl searchbase note (ITS#4540)
		Added syncrepl starttls in the admin guide (ITS#4510)
		Fixed reference to deprecated function in ldap_parse_result(3)

OpenLDAP 2.3.30 Release
	Fixed slapd authzTo/authzFrom URL matching (ITS#4744)
	Fixed slapd syncrepl consumer memory leaks (ITS#4746)
	Fixed slapd-hdb livelock (ITS#4738)
	Fixed slapo-ppolicy external quality check (ITS#4741)
	Documentation
		Fixed ldapsearch(1) man page acknowledgement (ITS#4743)

OpenLDAP 2.3.29 Release
	Fixed liblber/libldap error codes on Windows (ITS#4606)
	Fixed libldap string length assert (ITS#4740)
	Fixed liblunicode case mapping (ITS#4724)
	Fixed slapd ldapi:// socket permissions (ITS#4709)
	Fixed slapd c_writewaiters assert (ITS#4696,4736)
	Fixed slapo-accesslog purge contextCSN bug (ITS#4704)
	Fixed slapo-accesslog modify/replace bug (ITS#4728)
	Fixed slapo-dynlist leaks (ITS#4664)
	Fixed slapo-ppolicy leaks (ITS#4665)
	Fixed slapo-syncprov deadlock (ITS#4720)
	Build environment
		Added selection of ODBC (ITS#4735)
	Documentation
		Fixed slapd-ldap/meta(5) rebind-as-user usage (ITS#4715)
		Fixed slapd-ldap/meta(5) missing network-timeout (ITS#4718)

OpenLDAP 2.3.28 Release
	Fixed libldap ldap.conf max line length (ITS#4669)
	Fixed libldap use keepalive for syncrepl (ITS#4708)
	Fixed liblutil LDIF CR/LF parsing bug (ITS#4635)
	Fixed librewrite LDAP map parsing bug
	Fixed librewrite map double free bug
	Added ldapsearch bad filter pattern check (ITS#4647)
	Fixed slapd global access controls initialization (ITS#4654)
	Fixed slapd setting c_sasl_bindop only on SASL binds
	Fixed slapd max line length issue (ITS#4651)
	Fixed slapd return code not being propagated (ITS#4565)
	Fixed slapd integerBitAndMatch (ITS#4672)
	Fixed slapd syncrepl modrdn new superior (ITS#4695)
	Fixed slapd-ldap retry with idassert (ITS#4686)
	Fixed slapd-meta DN massage error code handling (ITS#4711)
	Fixed slapd-monitor locking with scope "subordinate" (ITS#4668)
	Fixed slapd-perl deletes (ITS#2612)
	Fixed slapd-perl backend initialization (ITS#4358)
	Fixed slapd-perl finding interpreter inside a thread (ITS#4358)
	Fixed slapo-ppolicy pwdChangedTime behavior (ITS#4692)
	Fixed slapo-translucent ldapmodify crash (ITS#4673)
	Documentation
		Updated ldapsearch(1) options (ITS#4371,4526,4647)
		Fixed slapd.access(5) non-optional dn= error (ITS#4522)
2007-01-02 11:29:15 +00:00

79 lines
2.3 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2007/01/02 11:29:16 ghen Exp $
PKGNAME= ${DISTNAME:S/-/-server-/}
COMMENT= Lightweight Directory Access Protocol server suite
CONFLICTS+= openldap<2.3.23nb1
DEPENDS+= openldap-client>=2.3.27nb1:../../databases/openldap-client
# slapd options
CONFIGURE_ARGS+= --enable-slapd
CONFIGURE_ARGS+= --enable-crypt
CONFIGURE_ARGS+= --enable-wrappers
# slapd backends
CONFIGURE_ARGS+= --enable-dnssrv
CONFIGURE_ARGS+= --enable-ldap
CONFIGURE_ARGS+= --enable-ldbm
CONFIGURE_ARGS+= --enable-meta
CONFIGURE_ARGS+= --enable-monitor
CONFIGURE_ARGS+= --enable-null
CONFIGURE_ARGS+= --enable-passwd
CONFIGURE_ARGS+= --enable-shell
# slapd (stackable) overlays
CONFIGURE_ARGS+= --enable-overlays
# slurpd options
CONFIGURE_ARGS+= --enable-slurpd
BUILD_DIRS= include libraries servers
TEST_DIRS= tests
INSTALL_DIRS= servers
BUILD_DEFS+= SLAPD_USER SLURPD_USER LDAP_GROUP
BUILD_DEFS+= OPENLDAP_ETCDIR OPENLDAP_VARDIR
PKG_GROUPS= ${LDAP_GROUP}
PKG_USERS= ${SLAPD_USER}:${LDAP_GROUP} ${SLURPD_USER}:${LDAP_GROUP}
OPENLDAP_FILEPERMS= ${ROOT_USER} ${LDAP_GROUP} 0640
SLAPD_DIRPERMS= ${SLAPD_USER} ${LDAP_GROUP} 0700
SLURPD_DIRPERMS= ${SLURPD_USER} ${LDAP_GROUP} 0770
RUN_DIRPERMS= ${ROOT_USER} ${LDAP_GROUP} 0775
MAKE_DIRS= ${OPENLDAP_ETCDIR}/schema
OWN_DIRS+= ${OPENLDAP_VARDIR}
OWN_DIRS_PERMS= ${OPENLDAP_VARDIR}/openldap-data ${SLAPD_DIRPERMS}
OWN_DIRS_PERMS+= ${OPENLDAP_VARDIR}/openldap-slurp ${SLURPD_DIRPERMS}
OWN_DIRS_PERMS+= ${OPENLDAP_VARDIR}/run ${RUN_DIRPERMS}
CNFS= ${CNFS_SCHEMAS_cmd:sh}
CNFS_SCHEMAS_cmd= ${SED} -ne "/\.ldif$$/p;/\.schema$$/p" ${PKGDIR}/PLIST | ${SED} -e "s|share/examples/openldap/||"
CNFS_PERMS= slapd.conf
DB_CONFIG= DB_CONFIG
RCD_SCRIPTS= slapd slurpd
FILES_SUBST+= OPENLDAP_ETCDIR=${OPENLDAP_ETCDIR:Q}
FILES_SUBST+= SLAPD_USER=${SLAPD_USER}
FILES_SUBST+= SLURPD_USER=${SLURPD_USER}
MESSAGE_SUBST+= SLAPD_USER=${SLAPD_USER:Q}
MESSAGE_SUBST+= SLURPD_USER=${SLURPD_USER:Q}
MESSAGE_SUBST+= LDAP_GROUP=${LDAP_GROUP:Q}
MESSAGE_SUBST+= OPENLDAP_VARDIR=${OPENLDAP_VARDIR:Q}
MESSAGE_SUBST+= OPENLDAP_ETCDIR=${OPENLDAP_ETCDIR:Q}
MESSAGE_SUBST+= CHOWN=${CHOWN}
MESSAGE_SUBST+= CHMOD=${CHMOD}
.include "options.mk"
.include "../../databases/openldap/Makefile.common"
CONF_FILES_PERMS+= ${EGDIR}/DB_CONFIG ${OPENLDAP_VARDIR}/openldap-data/DB_CONFIG ${OPENLDAP_FILEPERMS}
.include "../../mk/bsd.pkg.mk"