Here is a patch against postgrey_1.32-5 that I believe correct this
issue.
-- 
Johan Euphrosine (proppy) <pro...@aminche.com>
Development and services around Free Software
http://www.aminche.com/
diff -u postgrey-1.32/debian/control postgrey-1.32/debian/control
--- postgrey-1.32/debian/control
+++ postgrey-1.32/debian/control
@@ -14,7 +14,7 @@
 Package: postgrey
 Architecture: all
 Depends: adduser, debconf, libberkeleydb-perl (>= 0.39-1), libnet-dns-perl,
- libnet-server-perl (>= 0.87), perl, ucf (>= 0.28), db4.7-util, ${misc:Depends}
+ libnet-server-perl (>= 0.87), perl, ucf (>= 0.28), db4.8-util, ${misc:Depends}
 Conflicts: libsys-syslog-perl (<< 0.21)
 Recommends: libdigest-sha1-perl, libnet-rblclient-perl, libparse-syslog-perl,
  postfix | exim4
diff -u postgrey-1.32/debian/preinst postgrey-1.32/debian/preinst
--- postgrey-1.32/debian/preinst
+++ postgrey-1.32/debian/preinst
@@ -24,10 +24,10 @@
             set -e
             if [ -d $DBDIR -a -f /usr/bin/db4.7_upgrade ]; then
                 if [ -f "$DBDIR/postgrey.db" ]; then
-                    db4.7_upgrade -h $DBDIR postgrey.db
+                    db4.8_upgrade -h $DBDIR postgrey.db
                 fi
                 if [ -f "$DBDIR/postgrey_clients.db" ]; then
-                    db4.7_upgrade -h $DBDIR postgrey_clients.db
+                    db4.8_upgrade -h $DBDIR postgrey_clients.db
                 fi
             fi
         fi
diff -u postgrey-1.32/debian/changelog postgrey-1.32/debian/changelog
--- postgrey-1.32/debian/changelog
+++ postgrey-1.32/debian/changelog
@@ -1,3 +1,9 @@
+postgrey (1.32-6) unstable; urgency=low
+
+  * debian/preinst, debian/control: Use db4.8_upgrade (Closes: 575581)
+
+ -- Johan Euphrosine <pro...@aminche.com>  Thu, 12 Aug 2010 15:31:58 +0200
+
 postgrey (1.32-5) unstable; urgency=low
 
   [ Antonio Radici ]

Attachment: signature.asc
Description: This is a digitally signed message part



Reply via email to