[Pkg-openldap-devel] [openldap] 01/01: don't skip database dump/reload on upgrade

Ryan Tandy rtandy-guest at moszumanska.debian.org
Thu Dec 11 22:05:55 UTC 2014


This is an automated email from the git hooks/post-receive script.

rtandy-guest pushed a commit to branch wheezy-backports
in repository openldap.

commit 6bb16b79223351e6ab0cfea8eecaa747f0c0f4dd
Author: Ryan Tandy <ryan at nardis.ca>
Date:   Thu Dec 11 13:27:57 2014 -0800

    don't skip database dump/reload on upgrade
    
    bdb/hdb don't need a reload at this upgrade, but mdb does need to be
    either reindexed or reloaded, because the format of its DN index changed
    in 2.4.34. Thanks Ferenc Wagner.
---
 debian/changelog            | 6 ++----
 debian/slapd.scripts-common | 2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index aa285ae..d0beebf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,11 +3,9 @@ openldap (2.4.31+really2.4.40-3~bpo70+1) wheezy-backports; urgency=medium
   * Backport to wheezy.
     - Use a +really version lower than 2.4.39-1 to ensure a database upgrade 
       is still performed when upgrading to jessie later.
-    - Build against db5.1 instead of db5.3, and revert the database upgrade 
-      version check as well (reloading isn't necessary when upgrading from 
-      wheezy to wheezy-backports). This reverts commit a6fb397d.
+    - Build against db5.1 instead of db5.3.
 
- -- Ryan Tandy <ryan at nardis.ca>  Tue, 25 Nov 2014 20:06:37 -0800
+ -- Ryan Tandy <ryan at nardis.ca>  Thu, 11 Dec 2014 13:27:22 -0800
 
 openldap (2.4.40-3) unstable; urgency=medium
 
diff --git a/debian/slapd.scripts-common b/debian/slapd.scripts-common
index 99bbfed..f56b3b1 100644
--- a/debian/slapd.scripts-common
+++ b/debian/slapd.scripts-common
@@ -46,7 +46,7 @@ database_format_changed() {						# {{{
 # Return success if yes.
 # Usage: if database_format_changed; then
 
-	if dpkg --compare-versions "$OLD_VERSION" lt-nl 2.4.25-2; then
+	if dpkg --compare-versions "$OLD_VERSION" lt-nl 2.4.39-1; then
 		return 0
 	else
 		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