Bug 228334

Summary: Allow building with bdb 4.4 or later
Product: [Retired] 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   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 17:17:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 427409    
Attachments:
Description Flags
diffs none

Description Rich Megginson 2007-02-12 19:05:58 UTC
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 19:12:08 UTC
Created attachment 147925 [details]
diffs

Comment 2 Nathan Kinder 2007-02-12 21:07:49 UTC
The changes look good.

Comment 3 Rich Megginson 2007-02-12 21:14:43 UTC
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

Comment 5 Rich Megginson 2011-06-22 14:27:59 UTC
We don't have any supported Red Hat platforms that use db 4.4 any more, so just mark this as verified upstream.