* 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