problem noted on current-users by Murray Armfield.
The problem was: "Just try executing slapindex to get quite a verbose
libpthread invalid mutex message. slapd still core dumps on
shutdown."
Thanks to Christian for fixing this.
used instead of PKG_SYSCONFDIR. The openldap build defines a
ldap_subdir (as /openldap) which is automatically appended (unless
using --without-subdir which also breaks share and libexec). (Okay'd
by wiz.)
This release contains the following major enhancements:
* Transactional backend
* Improved Unicode handling
* Improved DN handlng
* Improved Referral handling
* SASL authentication/authorization mapping
* SASL in-directory storage of authentication secrets
* Enhanced administrative limits/access controls
* Meta backend (experimental)
* Monitor backend (experimental)
* Virtual "glue" backend (experimental)
* LDAP C++ API
* Updated LDAP C and TCL APIs
* LDAPv3 extensions, including:
- Enhanced Language Tag/Range Support
- 'Who am i?' Extended Operation
- 'Matched Values' Control
- 'NOOP' Control
plus lots of bug fixes.
Update (to 2.1.20) from Juan RP in PR pkg/21682 with some tidy up and
update to 2.1.22 by Marc Recht and me.
Also closes PR pkg/21217 by Jean-Luc Wasmer and PR pkg/20972 by Jeremy
Reed.
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES". This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile. Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
buildlink2.mk files back into the main trunk. This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
which the basesrc USE_KERBEROS variable. Discussed on packages@
This fixes PR#17182 from Takahiro Kambe. The problem was pointed out by
FUKAUMI Naoki on a Japanese NetBSD mailing list.
Fixes part of pkg/15794 by Bernd Ernesti <bernd@arresum.inka.de>. This
wasn't actually a buildlink problem, but buildlink is flexible enough to
provide a solution.
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.
automatically appended by the build to "sysconfdir", so change setting
from ?= to =. Also remove the MAKE_FLAGS line that was supposed to do the
same thing as the previous change, but was apparently not working.
* Use pthread.buildlink.mk as OpenLDAP now builds correctly with GNU pth for
a pthread implementation. This allows slurpd to be built on all platforms.
* Use tcp_wrapper/buildlink.mk and always enable the use of TCP wrappers.
* Use the general INSTALL scripts to deal with the config files and
directories needed by this package. This now works correctly whether we
build from source or if we install via a binary package.
* Honor PKG_SYSCONFDIR.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.
+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt
With many thanks to Thomas Klausner for keeping me honest with this.
Changes included in OpenLDAP 1.2.11
CVS Tag: OPENLDAP_REL_ENG_1_2_11
Fixed /tmp races in ud, ldapsearch, ldbmtest and slurpd
Fixed error in slurpd's filecheck function
Fixed slurpd to properly restart in oneshot mode, and to report a
non-zero number of items to process with only one replica.
Fixed strdup use in libldap/request.c
Fixed NULL prefix bug in libldap/ufn.c
Fixed slapd_shutdown extern reference bug (ITS#527)
Fixed ACL groups member matching
Raise MAXDBCACHE to 128 (ITS#512)
Fixed slapd client_addr crash (ITS#579)
Fixed back-shell realloc bug (ITS#506)
Build Environment
Update res_search detection
Detect and use getpassphrase() and getpass()
Unset CDPATH
Change GNU Pth to enable soft syscalls
Changed RCPT cmds symbol to avoid link conflict (ITS#526)
Changed LDBM directory to $localstatedir/openldap-ldbm
Changes included in OpenLDAP 1.2.10
CVS Tag: OPENLDAP_REL_ENG_1_2_10
Add slapd -DSLAPD_UNDEFINED_OC_IS_NOT_EXTENSIBLE macro disable
undefined object classes implies extensible object behavior.
Add GNU Pth support (ITS#453)
Fixed -lldap Kerberos bind to work ldap_init() (ITS#426)
Changed -lldap to ignore space in filter: ( !(foo=bar)) (ITS#459)
Fixed multiple password support (ITS#464)
Fixed -lldap chasing of delete referrals (ITS#471)
Fixed back-ldbm/bind invalid credentials vs no such object bug
Fixed slapd str2entry uninitialized variable bug (ITS#482)
Fixed back-ldbm/modify mutlivalued indexing bug
Fixed -llber seqorset buffer overrun bug (ITS#479)
Build Environment
Do not list unsupported LDBM API option NDBM
Allow DEFAULT_DB_PAGE_SIZE to be defined at build time
Changes included in OpenLDAP 1.2.9
CVS Tag: OPENLDAP_REL_ENG_1_2_9
Fixed lutil/password bogus crypt password bug (ITS#423)
Fixed slapd/back-ldbm indexing bug (ITS#402)
Added UD support for creators/modifiers attributes (ITS#422)
Added modify* attributes on add to workaround client issue (ITS#424)
Build Environment
Rebuild configure
Added support for db1 vs db2 with glibc 2.1
Removed TCPD and RLOOKUP interdependecy (ITS#419)
Changes included in OpenLDAP 1.2.8
CVS Tag: OPENLDAP_REL_ENG_1_2_8
Fixed slapd lint
Fixed slapd li_nextid_file uninitialized bug
Fixed -lldap templates y2k bug (ITS#294)
Fixed ldbm db_appinit to use u_int32_t instead of int (ITS#295)
Fixed lber/io.c Cray T90 specific pointer arithmetic problem (ITS#325)
Fixed s_addr dereferencing (ITS#340)
Fixed ud strstr crash (ITS#328)
Fixed back-ldbm presence index bug (ITS#394)
Fixed -lthread rdwr 2-writer bug (ITS#395)
Added TCP_NODELAY support
Changed slapd to apply ACL to lastmod attributes
Changed slapd.conf default referral
Changed slapd delete stats log message for consistency
Disable DN subtree indexing
Build Environment
Support using short as LDAP_INT4
Documentation
Reference Quick Start Guide in README and INSTALL
Update slapd.conf to reflect Quick Start Guide example
ldappasswd(1) fix -c vs -H typo (ITS#154)
Added warning about cross environment portability
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
package (pointed out by David Brownlee). We also need to remove -lwrap
from the tools directory libraries - hence the post-configure target to
make sure SLAPD_LIBS is empty in servers/slapd/tools/Makefile.
Quick guide for compiling packages:
- set KERBEROS=4 or KERBEROS=5 in /etc/mk.conf
Quick guide for configuring Kerberos support in a package Makefile:
- test for KERBEROS value and enable the appropriate version with
CONFIGURE_ARGS or other means and set USE_KERBEROS=yes
- make sure to disable Kerberos support otherwise (especially if
using configure, which might automatically detect it)
- BUILD_DEFS and RESTRICTED are set automatically in bsd.pkg.mk
when USE_KERBEROS=yes is set