[Pkg-cyrus-sasl2-commits] r412 - in /cyrus-sasl-2.1/trunk/debian: changelog control sasl2-bin.postinst

fabbe at users.alioth.debian.org fabbe at users.alioth.debian.org
Sat May 9 19:35:22 UTC 2009


Author: fabbe
Date: Sat May  9 19:35:21 2009
New Revision: 412

URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/?sc=1&rev=412
Log:
Bump libdb version to 4.7.

Modified:
    cyrus-sasl-2.1/trunk/debian/changelog
    cyrus-sasl-2.1/trunk/debian/control
    cyrus-sasl-2.1/trunk/debian/sasl2-bin.postinst

Modified: cyrus-sasl-2.1/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/debian/changelog?rev=412&op=diff
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/changelog (original)
+++ cyrus-sasl-2.1/trunk/debian/changelog Sat May  9 19:35:21 2009
@@ -18,8 +18,12 @@
   * debian/cyrus-sasl2-dbg.dirs, debian/cyrus-sasl2-dbg.lintian-overrides,
     debian/rules: Add override because our -dbg package is not standardly
     named.
-
- -- Fabian Fagerholm <fabbe at debian.org>  Mon, 26 Jan 2009 15:06:39 +0200
+  * debian/control: Bump libdb version to 4.7. (Closes: #523007)
+  * debian/sasl2-bin.postinst: Update to reflect libdb version change.
+    Not strictly necessary since there were no database format changes
+    betweek 4.6 and 4.7, but in the interest of completeness...
+
+ -- Fabian Fagerholm <fabbe at debian.org>  Sat, 09 May 2009 22:29:34 +0300
 
 cyrus-sasl2 (2.1.22.dfsg1-23) unstable; urgency=low
 

Modified: cyrus-sasl-2.1/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/debian/control?rev=412&op=diff
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/control (original)
+++ cyrus-sasl-2.1/trunk/debian/control Sat May  9 19:35:21 2009
@@ -4,7 +4,7 @@
 Maintainer: Debian Cyrus SASL Team <pkg-cyrus-sasl2-debian-devel at lists.alioth.debian.org>
 Uploaders: Fabian Fagerholm <fabbe at debian.org>, Roberto C. Sanchez <roberto at connexer.com>
 Standards-Version: 3.8.0.0
-Build-Depends: debhelper (>= 5.0.0), dpatch, autotools-dev, automake1.9, autoconf, libtool, libdb-dev (>= 4.6.21), libpam0g-dev (>= 0.76-22), libssl-dev (>= 0.9.7e-3), libmysqlclient15-dev (>= 5.0.20), libopie-dev (>= 2.32-10), libpq-dev (>= 8.1.3-4), libkrb5-dev, libsqlite0-dev (>= 2.8.16), libldap2-dev (>= 2.1.30-8), chrpath, groff-base, debconf (>= 0.5) | debconf-2.0, po-debconf, docbook-to-man
+Build-Depends: debhelper (>= 5.0.0), dpatch, autotools-dev, automake1.9, autoconf, libtool, libdb4.7-dev, libpam0g-dev (>= 0.76-22), libssl-dev (>= 0.9.7e-3), libmysqlclient15-dev (>= 5.0.20), libopie-dev (>= 2.32-10), libpq-dev (>= 8.1.3-4), libkrb5-dev, libsqlite0-dev (>= 2.8.16), libldap2-dev (>= 2.1.30-8), chrpath, groff-base, debconf (>= 0.5) | debconf-2.0, po-debconf, docbook-to-man
 Build-Conflicts: heimdal-dev
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-cyrus-sasl2/
@@ -14,7 +14,7 @@
 Section: utils
 Priority: optional
 Architecture: any
-Depends: libsasl2-2 (>= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.0-6), db4.6-util, debconf (>= 1.4.69) | cdebconf (>= 0.39)
+Depends: libsasl2-2 (>= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.0-6), db4.7-util, debconf (>= 1.4.69) | cdebconf (>= 0.39)
 Description: Cyrus SASL - administration programs for SASL users database
  This is the Cyrus SASL API implementation, version 2.1. See package
  libsasl2-2 and RFC 2222 for more information.

Modified: cyrus-sasl-2.1/trunk/debian/sasl2-bin.postinst
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/debian/sasl2-bin.postinst?rev=412&op=diff
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/sasl2-bin.postinst (original)
+++ cyrus-sasl-2.1/trunk/debian/sasl2-bin.postinst Sat May  9 19:35:21 2009
@@ -19,8 +19,9 @@
 		# Upgrade SASL database if needed
 		# The libdb dependency was updated in the following versions:
 		#  2.1.22.dfsg1-14 (db4.2 -> db4.4)
-		#  2.1.22.dfsg1-17 (db.4.4 -> db4.6)
-		if dpkg --compare-versions "$2" "lt-nl" 2.1.22.dfsg1-17; then
+		#  2.1.22.dfsg1-17 (db4.4 -> db4.6)
+		#  2.1.22.dfsg1-24 (db4.6 -> db4.7)
+		if dpkg --compare-versions "$2" "lt-nl" 2.1.22.dfsg1-24; then
 			
 			# If the database contains no users, just wipe it out,
 			# it will be recreated later in the current format
@@ -39,7 +40,7 @@
 				fi
 
 				# Upgrade SASL database and handle errors
-				if ! db4.6_upgrade $SASLDB_FILE >/dev/null 2>&1; then
+				if ! db4.7_upgrade $SASLDB_FILE >/dev/null 2>&1; then
 					db_input high cyrus-sasl2/upgrade-sasldb2-failed || true
 					db_go || true
 					cp --archive "$RET" $SASLDB_FILE >/dev/null 2>&1




More information about the Pkg-cyrus-sasl2-commits mailing list