OpenLDAP 2.4.21 Release (2009/12/20) Fixed liblutil for negative microsecond offsets (ITS#6405) Fixed slapd global settings to work without restart (ITS#6428) Fixed slapd looping with SSL/TLS connections (ITS#6412) Fixed slapd syncrepl freeing tasks from queue (ITS#6413) Fixed slapd syncrepl parsing of tls defaults (ITS#6419) Fixed slapd syncrepl uninitialized variables (ITS#6425) Fixed slapd-config Adds with Abstract classes (ITS#6408) Fixed slapo-dynlist behavior with simple filters (ITS#6421) Fixed slapd-ldif access outside database directory (ITS#6414) Fixed slapd-null extraneous assert (ITS#6403) Fixed slapo-translucent with back-null (ITS#6403) Fixed slapo-unique criteria checking (ITS#6270) Build Environment Deleted broken LBER_INVALID macro (ITS#6402) Fixed test058 kill usage (ITS#6420) Fixed meta regression test (ITS#6418) Documentation slapd-meta(5) Note deprecated functions (ITS#6424) admin24 fix set example for group of groups (ITS#6382) admin24 fix dynamic group documentation (ITS#6290) OpenLDAP 2.4.20 Release (2009/11/27) Fixed client tools with LDAP options (ITS#6283) Fixed liblber embedded NUL values in BerValues (ITS#6353) Fixed liblber inverted LBER_USE_DER test (ITS#6348) Fixed liblber to return failure on certain failures (ITS#6344) Fixed libldap connection initialization (ITS#6386) Fixed libldap sasl buffer sizing (ITS#6327,ITS#6334) Fixed libldap uninitialized return value (ITS#6355) Fixed libldap unlimited timeout (ITS#6388) Added slapd handling of hex server IDs (ITS#6297) Added slapd syncrepl contextCSN storing in subentry (ITS#6373) Fixed slapd asserts in minimal environment (ITS#6361) Fixed slapd authid-rewrite parsing (ITS#6392) Fixed slapd checks of str2filter (ITS#6391) Fixed slapd configArgs initialization (ITS#6363) Fixed slapd debug handling of LDAP_DEBUG_ANY (ITS#6324) Fixed slapd db_open with connection_fake_init (ITS#6381) Fixed slapd with embedded \0 in bervals (ITS#6378,ITS#6379) Fixed slapd inclusion of ac/unistd.h (ITS#6342) Fixed slapd invalid dn log message (ITS#6309) Fixed slapd lockup on shutdown (ITS#6372) Fixed slapd onetime leak (ITS#6398) Fixed slapd RID range to be decimal only (ITS#6394) Fixed slapd sl_free to better reclaim memory (ITS#6380) Fixed slapd syncrepl deletes in MirrorMode (ITS#6368) Fixed slapd syncrepl to use correct SID (ITS#6367) Fixed slapd termination for one level DNs (ITS#6338) Fixed slapd tls_accept to retry in certain cases (ITS#6304) Fixed slapd-bdb/hdb cache corruption (ITS#6341) Fixed slapd-bdb/hdb entry cache (ITS#6360) Fixed slapd-ldap leak (ITS#6326) Fixed slapd-relay bind segfault (ITS#6337) Fixed slapo-accesslog ensure CSNs are normalized (ITS#6400) Fixed slapo-memberof operational attr updates (ITS#6329) Fixed slapo-pcache entry dupe (ITS#6310) Fixed slapo-syncprov checkpoint conversion (ITS#6370) Fixed slapo-syncprov deadlock (ITS#6335) Fixed slapo-syncprov memory leak (ITS#6376) Fixed slapo-syncprov out of order changes (ITS#6346) Fixed slapo-syncprov psearch with stale cookie (ITS#6397) Build Environment Added additional operations for ITS#6332 Fixed memrchr define (ITS#6351) Fixed slapd MAXPATHLEN handling (ITS#6342) Added test050 rapid add/mod/del sequence (ITS#6368) Fixed test057 handling of memberof/refint (ITS#6343) Fixed slapd test error ignoring (ITS#6345) Fixed liblutil constant (ITS#5909) Documentation admin24 fix RFC4511 and other references (ITS#6399) ldap_get_dn(3) typos (ITS#5366) ldap.conf(5) clarify comment usage (ITS#6384) slapd.conf(5) note hex server IDs (ITS#6297) slapd-config(5) note hex server IDs (ITS#6297)
73 lines
2 KiB
Makefile
73 lines
2 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2010/02/19 20:49:29 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
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
# 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
|
|
|
|
BUILD_DIRS= include libraries servers
|
|
TEST_DIRS= tests
|
|
INSTALL_DIRS= servers
|
|
|
|
BUILD_DEFS+= OPENLDAP_ETCDIR OPENLDAP_VARDIR
|
|
|
|
PKG_GROUPS= ${LDAP_GROUP}
|
|
PKG_USERS= ${SLAPD_USER}:${LDAP_GROUP}
|
|
|
|
OPENLDAP_FILEPERMS= ${REAL_ROOT_USER} ${LDAP_GROUP} 0640
|
|
SLAPD_DIRPERMS= ${SLAPD_USER} ${LDAP_GROUP} 0700
|
|
RUN_DIRPERMS= ${REAL_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}/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
|
|
|
|
FILES_SUBST+= OPENLDAP_ETCDIR=${OPENLDAP_ETCDIR:Q}
|
|
FILES_SUBST+= SLAPD_USER=${SLAPD_USER}
|
|
|
|
MESSAGE_SUBST+= SLAPD_USER=${SLAPD_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"
|