Allow the server to build with berkeley db 4.4 or later. Fedora 7 ships with db4.5 by default, so we should be able to use it. Note that this doesn't mean to fully test and take advantage of all of the new features in 4.3, 4.4, and 4.5 - this will only allow the server to build and run, to make it available to other developers to work on.
Created attachment 147925 [details] diffs
The changes look good.
Reviewed by: nkinder (Thanks!) Files: see diff Branch: HEAD Fix Description: db.m4 already had code to detect and use the correct version of db headers and libraries. There have been some minor api changes since 4.3, so not much code changes were required. Note that this merely allows the server to build and run with db4.4 or later, not to take advantage of the newer features of the API. Platforms tested: FC7 Flag Day: no Doc impact: no Checking in ldapserver/ldap/servers/plugins/replication/cl5_api.c; /cvs/dirsec/ldapserver/ldap/servers/plugins/replication/cl5_api.c,v <-- cl5_api.c new revision: 1.13; previous revision: 1.12 done Checking in ldapserver/ldap/servers/slapd/back-ldbm/dblayer.c; /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldbm/dblayer.c,v <-- dblayer.c new revision: 1.17; previous revision: 1.16 done Checking in ldapserver/ldap/servers/slapd/back-ldbm/perfctrs.c; /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldbm/perfctrs.c,v <-- perfctrs.c new revision: 1.6; previous revision: 1.5 done
We don't have any supported Red Hat platforms that use db 4.4 any more, so just mark this as verified upstream.