Update databases/openldap to 2.0.21nb1. Changes from version 2.0.21 are

building this package _without_ threads support if the threads are non-
native.  While the package does build correctly using GNU pth, and the
clients run correctly, the slapd server isn't able to pass "make test".
When built without threads support, only the replication test fails, I
think because slurpd isn't built.
This commit is contained in:
jlam 2002-01-31 05:06:54 +00:00
parent 565474eb82
commit 23f593e42e
4 changed files with 17 additions and 7 deletions

View file

@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.37 2002/01/30 07:34:00 jlam Exp $
# $NetBSD: Makefile,v 1.38 2002/01/31 05:06:54 jlam Exp $
DISTNAME= openldap-2.0.21
SVR4_PKGNAME= oldap
PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/
EXTRACT_SUFX= .tgz
@ -26,8 +27,11 @@ CONFIGURE_ARGS+= --enable-wrappers
CONFIGURE_ARGS+= --with-tls=openssl
CONFIGURE_ARGS+= --without-readline
USE_PTHREAD= native pth
CONFIGURE_ARGS+= --with-threads
# Apparently, only _native_ pthreads are good enough, since compiling
# OpenLDAP with a userland thread package like GNU pth results in a
# slapd that isn't capable of passing the regression tests.
#
USE_PTHREAD= native
PKG_SYSCONFSUBDIR= openldap
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
@ -35,6 +39,11 @@ CONFIGURE_ARGS+= --localstatedir=/var/openldap
.include "../../mk/bsd.prefs.mk"
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} != "none")
CONFIGURE_ARGS+= --with-threads
PLIST_SRC= ${.CURDIR}/PLIST.slurpd ${.CURDIR}/PLIST
.endif
.if ${OPSYS} == "SunOS"
.include "../../databases/db/buildlink.mk"
CPPFLAGS+= -I${BUILDLINK_DIR}/include/db2

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.3 2002/01/30 07:34:00 jlam Exp $
@comment $NetBSD: PLIST,v 1.4 2002/01/31 05:06:54 jlam Exp $
bin/ldapadd
bin/ldapdelete
bin/ldapmodify
@ -39,7 +39,6 @@ libexec/maildap
libexec/rcpt500
libexec/rp500
libexec/slapd
libexec/slurpd
libexec/xrpcomp
man/man1/ldapadd.1
man/man1/ldapdelete.1

View file

@ -0,0 +1,2 @@
@comment $NetBSD: PLIST.slurpd,v 1.1 2002/01/31 05:06:55 jlam Exp $
libexec/slurpd

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink.mk,v 1.3 2002/01/01 00:00:18 jlam Exp $
# $NetBSD: buildlink.mk,v 1.4 2002/01/31 05:06:55 jlam Exp $
#
# This Makefile fragment is included by packages that use openldap.
#
@ -33,7 +33,7 @@ BUILDLINK_FILES.openldap+= include/srchpref.h
BUILDLINK_FILES.openldap+= lib/liblber.*
BUILDLINK_FILES.openldap+= lib/libldap.*
USE_PTHREAD= native pth
USE_PTHREAD= native
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == SunOS