[Pkg-openldap-devel] Bug#665199: NMU diff for 2.4.23-7.3 uploaded to DELAYED/7

Wouter Verhelst wouter at debian.org
Sun Dec 16 13:21:47 UTC 2012


tags 665199 + pending
thanks

Hi,

As part of the BSP in Mechelen, I've just uploaded openldap 2.4.23-7.3
to DELAYED/7, targetted at stable. I've tested it by installing that
package in a stable chroot, and then upgrading it to unstable; the
database was successfully dumped and later restored by the version in
unstable.

I'll make sure to talk to the SRM and the release notes editors to take
appropriate action, but this should close this bug.

The diff that was applied is the following:

diff -u openldap-2.4.23/debian/slapd.preinst openldap-2.4.23/debian/slapd.preinst
--- openldap-2.4.23/debian/slapd.preinst
+++ openldap-2.4.23/debian/slapd.preinst
@@ -4,17 +4,6 @@
 
 . /usr/share/debconf/confmodule
 
-# This will be replaced with debian/slapd.scripts-common which includes
-# various helper functions and $OLD_VERSION and $SLAPD_CONF
-#SCRIPTSCOMMON#
-
-# If we are upgrading from an old version then stop slapd and attempt to
-# slapcat out the data so we can use it in postinst to do the upgrade
-
-if [ "$MODE" = upgrade ]; then
-	dump_databases
-fi
-
 #DEBHELPER#
 
 exit 0
diff -u openldap-2.4.23/debian/slapd.prerm openldap-2.4.23/debian/slapd.prerm
--- openldap-2.4.23/debian/slapd.prerm
+++ openldap-2.4.23/debian/slapd.prerm
@@ -4,6 +4,17 @@
 
 . /usr/share/debconf/confmodule
 
+# This will be replaced with debian/slapd.scripts-common which includes
+# various helper functions and $OLD_VERSION and $SLAPD_CONF
+#SCRIPTSCOMMON#
+
+# If we are upgrading from an old version then stop slapd and attempt to
+# slapcat out the data so we can use it in postinst to do the upgrade
+
+if [ "$MODE" = upgrade ]; then
+	dump_databases
+fi
+
 #DEBHELPER#
 
 exit 0
diff -u openldap-2.4.23/debian/changelog openldap-2.4.23/debian/changelog
--- openldap-2.4.23/debian/changelog
+++ openldap-2.4.23/debian/changelog
@@ -1,3 +1,10 @@
+openldap (2.4.23-7.3) stable; urgency=low
+
+  * Non-maintainer upload targeted at stable
+  * Dump the database in prerm if we're upgrading. Closes: #665199
+
+ -- Wouter Verhelst <wouter at debian.org>  Sun, 16 Dec 2012 12:44:59 +0100
+
 openldap (2.4.23-7.2) stable; urgency=low
 
   * Non-maintainer upload targeted at stable.

-- 
Copyshops should do vouchers. So that next time some bureaucracy requires you
to mail a form in triplicate, you can mail it just once, add a voucher, and
save on postage.



More information about the Pkg-openldap-devel mailing list