Bug 228334

Summary: Allow building with bdb 4.4 or later
Product: [Community] 389 Reporter: Rich Megginson <rmeggins>
Component: Database - GeneralAssignee: Rich Megginson <rmeggins>
Status: CLOSED CURRENTRELEASE QA Contact: Viktor Ashirov <vashirov>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0.4CC: amsharma
Target Milestone: ---Keywords: VerifiedUpstream
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 12:17:35 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 427409    
Description Flags
diffs none

Description Rich Megginson 2007-02-12 14:05:58 EST
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.
Comment 1 Rich Megginson 2007-02-12 14:12:08 EST
Created attachment 147925 [details]
Comment 2 Nathan Kinder 2007-02-12 16:07:49 EST
The changes look good.
Comment 3 Rich Megginson 2007-02-12 16:14:43 EST
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
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
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
Comment 5 Rich Megginson 2011-06-22 10:27:59 EDT
We don't have any supported Red Hat platforms that use db 4.4 any more, so just mark this as verified upstream.