[Pkg-openldap-devel] [openldap] 17/29: r1563 at pulsar: torsten | 2005-03-26 01:42:21 +0100 * debian/slapd.postinst: Handle hdb backend just as if it was bdb.
Timo Aaltonen
tjaalton-guest at alioth.debian.org
Thu Oct 10 05:34:50 UTC 2013
This is an automated email from the git hooks/post-receive script.
tjaalton-guest pushed a commit to annotated tag 2.2.23-0.pre6
in repository openldap.
commit 723155e8a7f5d97f054be57ef8d3989261b47f6b
Author: Torsten Landschoff <torsten at debian.org>
Date: Sat Mar 26 00:58:20 2005 +0000
r1563 at pulsar: torsten | 2005-03-26 01:42:21 +0100
* debian/slapd.postinst: Handle hdb backend just as if it was bdb.
---
debian/changelog | 1 +
debian/slapd.postinst | 2 +-
debian/slapd.scripts-common | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 4ffcc71..d857885 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -27,6 +27,7 @@ openldap2.2 (2.2.23-0.pre6) experimental; urgency=low
Carlo Contavalli <ccontavalli at commedia.it>:
* debian/slapd.init: Print command line if starting a daemon failed.
+ * debian/slapd.postinst: Handle hdb backend just as if it was bdb.
--
diff --git a/debian/slapd.postinst b/debian/slapd.postinst
index b49b77b..369e8c4 100644
--- a/debian/slapd.postinst
+++ b/debian/slapd.postinst
@@ -128,7 +128,7 @@ create_new_slapd_conf() { # {{{
conf_template="/usr/share/slapd/slapd.conf"
# Checkpoint if using the BDB backend
- if [ "$backend" = "bdb" ]; then
+ if [ "$backend" = "bdb" -o "$backend" = "hdb" ]; then
checkpoint="checkpoint 512 30"
fi
diff --git a/debian/slapd.scripts-common b/debian/slapd.scripts-common
index 55a8d90..b627be3 100644
--- a/debian/slapd.scripts-common
+++ b/debian/slapd.scripts-common
@@ -371,7 +371,7 @@ canonical_suffix() {
# Check if upgrading a database in the named backend is supported by
# our scripts.
supported_backend() {
- case "$1" in ldbm|bdb) return 0; esac
+ case "$1" in ldbm|bdb|hdb) return 0; esac
return 1
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openldap/openldap.git
More information about the Pkg-openldap-devel
mailing list