79731cd6cb
OpenLDAP 2.3.38 Release (2007/08/20) Fixed slapadd check for ';binary' when required (ITS#5071) Fixed slapd select_backend/ManageDSAit (ITS#4986) Fixed slapd integer/pointer types and overflow (ITS#5035) Fixed slapd AVA_Sort on multivalued RDNs (ITS#5057) Fixed slapd LDIF parsing error handling (ITS#5090) Fixed slapd syncrepl searchbase scope (ITS#5073) Fixed slapd-bdb missing index warning (ITS#5037) Fixed slapd-bdb Quick index for ID 0 (ITS#5052) Fixed slapd-bdb spurious empty DN warnings during add (ITS#5079) Fixed slapd-hdb slapacl behavior (ITS#5087) Fixed slapd-relay configuration (ITS#4322,ITS#4340) Fixed slapd-sql structuralObjectClass issue (ITS#5088) Fixed slapo-ppolicy double-free on shutdown (ITS#5094) Fixed slapo-rwm/slapd-meta dup attrs after mapping (ITS#5091) Fixed slapo-syncprov uninit'd vars (ITS#5048,#5049) Fixed libldap ldap_add_result_entry (ITS#5056) Added client tools support for ppolicy response (ITS#5061) Removed lint Build Environment Fixed macro definition of open() in glibc 2.6 (ITS#5075) Documentation aspell --lang=en_US -c <manpage> (ITS#5076) Debug messages cleaned up (ITS#5085) OpenLDAP 2.3.37 Release (2007/07/20) Fixed slapd-glue/syncprov interaction (ITS#4623) Fixed slapd-ldap search reference crash (ITS#5025) Fixed slapd-ldbm crash on Compare op (ITS#5044) Fixed slapo-rwm searchFilter double free (ITS#5043) Clarified slapd-perl SampleLDAP.pm usage (ITS#4995) Documentation Fixed slapd.conf(5) for default loglevel (ITS#5027) OpenLDAP 2.3.36 Release (2007/06/17) Fixed slapd error code on Windows (ITS#4945, #4606) Fixed slapd mutex bug after failed startup (ITS#4957) Fixed slapd sasl failed Bind bug (ITS#4954) Fixed slapd sasl ssf logging (ITS#5001) Fixed slapd tool op init (ITS#4911) Fixed slapd-bdb no-op crasher (ITS#4925) Fixed slapd-config olcLogLevel (ITS#4949) Fixed slapd-config olcModuleLoad replace (ITS#4921,ITS#4923) Fixed slapd-relay crash when no database can be selected (ITS#4958) Fixed slapo-chain RFC3062 passwd exop handling (ITS#4964) Fixed slapo-dynlist multiple group/url[/member] config (ITS#4989) Fixed slapo-pcache handling of abandoned Operations (#5015) Fixed slapo-pcache and -rwm interaction (ITS#4991) Fixed slapo-ppolicy pwdReset/pwdMinAge (ITS#4970) Fixed slapo-ppolicy control cleanup from ITS#4665 Fixed slapo-syncprov cookie parsing error (ITS#4977) Fixed slapo-valsort crash on delete op (ITS#4966) Fixed liblber compilation problem (ITS#5007) Fixed libldap referral chasing loop (ITS#4955) Fixed libldap response code handling on rebind (ITS#4924) Fixed libldap SASL_MAX_BUFF_SIZE (ITS#4935) Fixed libldap cldap assert (ITS#4992) Fixed libldap_r thread debug issues (ITS#4972) Fixed liblutil reading passwd from pipe (ITS#4875) Fixed ldap client usage typo (ITS#4939) Build Environment Fixed --disable-overlays Makefile problem (ITS#4988) Fixed HP-UX socklen_t problem (ITS#4629) Documentation Updated ldapsearch(1) with details on -C option (ITS#5009) Updated slapadd(8) with details on -s option Fixed slapd.conf(5) for correct loglevel packets (ITS#5011) Fixed slapo-ppolicy(5) permanent pwdAccountLockedTime (ITS#4978) OpenLDAP 2.3.35 Release (2007/04/09) Fixed ldapmodify to use correct memory free functions (ITS#4901) Fixed slapd acl set minor typo (ITS#4874) Fixed slapd entry consistency check in str2entry2 (ITS#4852) Fixed slapd ldapi:// credential issue (ITS#4893) Fixed slapd str2anlist handling of undefined attrs/OCs (ITS#4854) Fixed slapd syncrepl delta-sync modlist free (ITS#4904) Added slapd syncrepl retry logging (ITS#4915) Fixed slapd zero-length IA5string handling (ITS#4823) Fixed slapd-bdb/hdb startup with missing shm env (ITS#4851) Fixed slapd-ldap/meta consistency in referral proxying (ITS#4861) Fixed slapd-ldap bind cleanup in case of unauthorized idassert Fixed slapd-meta search cleanup Fixed slapd-meta/slapo-rwm filter mapping Fixed slapd-sql subtree shortcut (ITS#4856) Fixed slapo-dynlist crasher (ITS#4891) Fixed slapo-refint config message (ITS#4853) Fixed libldap time_t signedness (ITS#4872) Fixed libldap_r tpool reset (ITS#4855,#4899) Documentation Misc Doc fixes (ITS#4863, ITS#4877, ITS#4885, ITS#4897) OpenLDAP 2.3.34 Release (2007/02/16) Fixed libldap missing get_option(TLS CipherSuite) (ITS#4815) Fixed ldapmodify printing error from ldap_result() (ITS#4812) Fixed slapadd LDIF parsing (ITS#4817) Fixed slapd libltdl link ordering (ITS#4830) Fixed slapd syncrepl memory leaks (ITS#4805) Fixed slapd dynacl/ACI compatibility with 2.1 Fixed slapd-bdb/hdb be_entry_get with aliases/referrals (ITS#4810) Fixed slapd-ldap more response handling bugs (ITS#4782) Fixed slapd-ldap C-API code tests (ITS#4808) Fixed slapd-monitor NULL printf (ITS#4811) Fixed slapo-chain spurious additional info in response (ITS#4828) Fixed slapo-syncprov presence list (ITS#4813) Fixed slapo-syncprov contextCSN checkpoint again (ITS#4720) Added slapo-ppolicy cn=config support (ITS#4836) Added slapo-auditlog cn=config support Build environment Added Berkeley DB 4.5 detection Documentation Note slapo-dynlist interaction with manageDSAit (ITS#4831) OpenLDAP 2.3.33 Release (2007/01/17) Fixed slapd syncrepl error logging with delta-syncrepl Fixed slapd-ldap/meta privileged conn caching (ITS#4547) Fixed slapd-ldap chase-referrals switch (ITS#4557) Fixed slapd-ldap bind behavior when idassert is always used (ITS#4781) Fixed slapd-ldap response handling bugs (ITS#4782) Fixed slapd-ldap idassert mode=self anonymous ops (ITS#4798) Fixed slapd-ldap/meta privileged connections handling (ITS#4791) Fixed slapd-meta retrying (ITS#4594, 4762) Fixed slapo-chain referral DN use (ITS#4776) Fixed slapo-dynlist dangling pointer after entry free (ITS#4801) Fixed libldap ldap_pvt_put_filter syntax checks (ITS#4648) Documentation Fixed reference to deprecated stmt in slapacl(8) (ITS#4803)
118 lines
4 KiB
Text
118 lines
4 KiB
Text
# $NetBSD: Makefile.common,v 1.10 2007/09/02 13:02:37 ghen Exp $
|
|
|
|
# please stick to the "stable" releases as much as possible!
|
|
DISTNAME= openldap-2.3.38
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/
|
|
MASTER_SITES+= http://ftp.openldap.org/pub/OpenLDAP/openldap-release/
|
|
MASTER_SITES+= http://www.PlanetMirror.com/pub/openldap/openldap-release/
|
|
MASTER_SITES+= ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/
|
|
MASTER_SITES+= ftp://ftp.matrix.com.br/pub/openldap/openldap-release/
|
|
MASTER_SITES+= ftp://ftp.ucr.ac.cr/pub/Unix/openldap/openldap-release/
|
|
MASTER_SITES+= ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/
|
|
MASTER_SITES+= ftp://it.openldap.org/pub/OpenLDAP/openldap-release/
|
|
MASTER_SITES+= ftp://ftp.dti.ad.jp/pub/net/OpenLDAP/openldap-release/
|
|
MASTER_SITES+= ftp://ftp.u-aizu.ac.jp/pub/net/openldap/openldap-release/
|
|
MASTER_SITES+= ftp://ftp.holywar.net/pub/OpenLDAP/openldap-release/
|
|
MASTER_SITES+= ftp://ftp.nl.uu.net/pub/unix/db/openldap/openldap-release/
|
|
MASTER_SITES+= ftp://ftp.linux.pt/pub/mirrors/OpenLDAP/openldap-release/
|
|
MASTER_SITES+= ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/
|
|
MASTER_SITES+= ftp://ftp.plig.org/pub/OpenLDAP/openldap-release/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ghen@NetBSD.org
|
|
HOMEPAGE= http://www.openldap.org/
|
|
|
|
CONFLICTS+= ldapsdk-[0-9]*
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../databases/openldap/distinfo
|
|
PATCHDIR= ${.CURDIR}/../../databases/openldap/patches
|
|
FILESDIR= ${.CURDIR}/../../databases/openldap/files
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAKE_ENV+= LIBMODE=${LIBMODE:Q}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
OPENLDAP_ETCDIR?= ${PKG_SYSCONFDIR}/openldap
|
|
OPENLDAP_MODULEDIR= ${PREFIX}/lib/openldap
|
|
OPENLDAP_VARDIR?= ${VARBASE}/openldap
|
|
|
|
SLAPD_USER?= slapd
|
|
SLURPD_USER?= slurpd
|
|
LDAP_GROUP?= ldap
|
|
|
|
PKG_GROUPS_VARS+= LDAP_GROUP
|
|
PKG_USERS_VARS+= SLAPD_USER SLURPD_USER
|
|
|
|
# the internal avl_* prototypes conflict with those in <sys/avl.h> which
|
|
# is included by another system header file on Solaris, so subst them.
|
|
.if ${OPSYS} == "SunOS"
|
|
SUBST_CLASSES+= conflict
|
|
SUBST_STAGE.conflict= post-patch
|
|
SUBST_FILES.conflict= ${WRKSRC}/*/*.h
|
|
SUBST_FILES.conflict+= ${WRKSRC}/*/*/*.c ${WRKSRC}/*/*/*/*.c
|
|
SUBST_SED.conflict+= -e 's,avl_free,openldap_avl_free,g'
|
|
SUBST_SED.conflict+= -e 's,avl_insert,openldap_avl_insert,g'
|
|
SUBST_SED.conflict+= -e 's,avl_delete,openldap_avl_delete,g'
|
|
SUBST_SED.conflict+= -e 's,avl_find,openldap_avl_find,g'
|
|
SUBST_SED.conflict+= -e 's,avl_find2,openldap_avl_find2,g'
|
|
SUBST_MESSAGE.conflict= Fixing conflicting function prototypes.
|
|
.endif
|
|
|
|
CPPFLAGS.Darwin+= -DBIND_8_COMPAT
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
CONFIGURE_ARGS+= --localstatedir=${OPENLDAP_VARDIR:Q}
|
|
CONFIGURE_ARGS+= --enable-dynamic
|
|
CONFIGURE_ARGS+= --with-tls=openssl
|
|
|
|
EGDIR= ${PREFIX}/share/examples/openldap
|
|
|
|
CONF_FILES= # empty
|
|
CONF_FILES_PERMS= # empty
|
|
.for FILE in ${CNFS}
|
|
CONF_FILES+= ${EGDIR}/${FILE:Q} ${OPENLDAP_ETCDIR}/${FILE:Q}
|
|
.endfor
|
|
.for FILE in ${CNFS_PERMS}
|
|
CONF_FILES_PERMS+= ${EGDIR}/${FILE:Q} ${OPENLDAP_ETCDIR}/${FILE:Q} ${OPENLDAP_FILEPERMS}
|
|
.endfor
|
|
|
|
DB_CONFIG?= # empty
|
|
|
|
PTHREAD_OPTS+= require
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../security/tcp_wrappers/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.if ${PTHREAD_TYPE} == "native"
|
|
CONFIGURE_ARGS+= --with-threads
|
|
.elif ${PTHREAD_TYPE} == "pth"
|
|
CONFIGURE_ARGS+= --with-threads=pth
|
|
|
|
#
|
|
# Don't use a larger FD_SETSIZE than GNU Pth can handle (value taken from
|
|
# pth.h header).
|
|
#
|
|
PTH_FDSETSIZE_cmd= \
|
|
if ${TEST} -f ${BUILDLINK_PREFIX.pth:Q}/include/pth.h; then \
|
|
${AWK} '/if FD_SETSIZE >/ { print $$4 }' \
|
|
${BUILDLINK_PREFIX.pth}/include/pth.h; \
|
|
else \
|
|
${ECHO} 0; \
|
|
fi
|
|
CPPFLAGS+= -DOPENLDAP_FD_SETSIZE=${PTH_FDSETSIZE_cmd:sh:Q}
|
|
.endif
|
|
|
|
MAKE_FLAGS+= moduledir=${OPENLDAP_MODULEDIR:Q}
|
|
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR:Q}
|
|
|
|
# Set the correct file modes for the example config files.
|
|
post-install:
|
|
.for file in ${CNFS} ${CNFS_PERMS} ${DB_CONFIG}
|
|
${CHMOD} ${SHAREMODE} ${EGDIR}/${file:Q}
|
|
${RM} -f ${EGDIR}/${file:Q}.default
|
|
.endfor
|