[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#775569: unblock: greylistd/0.8.8.4



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package greylistd

During a test with piuparts Andreas Beckmann noticed that greylistd failed
to install (in 'wheezy'), remove (but not purge), distupgrade to 'jessie',
and install again -> #775063

A small change in preinst (do the same file handling for install as for upgrade) should fix this.

Thanks!
 Thorsten



diff -Nru greylistd-0.8.8.3/debian/changelog greylistd-0.8.8.4/debian/changelog
--- greylistd-0.8.8.3/debian/changelog  2014-05-11 19:50:19.000000000 +0200
+++ greylistd-0.8.8.4/debian/changelog  2015-01-16 19:04:04.000000000 +0100
@@ -1,3 +1,11 @@
+greylistd (0.8.8.4) unstable; urgency=medium
+
+  * debian/preinst: take care of old /etc/init.d/greylist while doing
+                    install -> remove -> distupgrade -> install
+                    (Closes: #775063)
+
+ -- Thorsten Alteholz <debian@alteholz.de>  Fri, 16 Jan 2015 18:10:00 +0100
+
 greylistd (0.8.8.3) unstable; urgency=medium

   * upload to unstable
diff -Nru greylistd-0.8.8.3/debian/preinst greylistd-0.8.8.4/debian/preinst
--- greylistd-0.8.8.3/debian/preinst    2013-02-25 11:13:22.000000000 +0100
+++ greylistd-0.8.8.4/debian/preinst    2015-01-16 19:04:04.000000000 +0100
@@ -28,7 +28,7 @@


 case "$1" in
-    upgrade)
+    install|upgrade)
        ### If we are upgrading from v0.7, the "UGID=" setting in
         ### /etc/init.d/greylist would have been overwritten by DebConf.
         ### Now, however, this is a conffile.  Set this value back to its
@@ -50,7 +50,7 @@
        fi
     ;;

-    install|abort-upgrade)
+    abort-upgrade)
     ;;

     *)


unblock greylistd/0.8.8.4


Reply to: