gnunet has an RC bug in lenny that is fixed in sid: #506264 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506264>

This bug is fixed by a simple change to a postinst script, as in the attached patch.

I'm CC:ing my AM, to make sure he knows what I'm up to, and Adeodato, with whom I discussed this on #debian-release. I believe this is a sensible thing to put into t-p-u and into testing. I'm not entirely sure of the package version number and changelog entry; I'd appreciate Adeodato's input on that.

-- Asheesh.

--
If you refuse to accept anything but the best you very often get it.
diff -urN gnunet-0.8.0/debian/changelog gnunet-0.8.0.asheesh/debian/changelog
--- gnunet-0.8.0/debian/changelog       2008-12-13 05:11:41.000000000 -0800
+++ gnunet-0.8.0.asheesh/debian/changelog       2008-12-13 05:16:29.000000000 
-0800
@@ -1,3 +1,13 @@
+gnunet (0.8.0-2.1) lenny; urgency=low
+
+  * Non-maintainer update.
+  * Lenny backport of a change in sid: Adding '|| true' to 
+    gnunet-update call; this way a hanging gnunet-update can be aborted
+    in a(n almost) sane way.  See also upstream bug 
+    https://gnunet.org/mantis/view.php?id=1349 . (Closes: #506264)
+
+ -- Asheesh Laroia <ashe...@asheesh.org>  Sat, 13 Dec 2008 05:14:37 -0800
+
 gnunet (0.8.0-2) unstable; urgency=low
 
   * Creating /var/run/gnunetd in initscript in case /var/run is on a tmpfs.
diff -urN gnunet-0.8.0/debian/gnunet-server.postinst 
gnunet-0.8.0.asheesh/debian/gnunet-server.postinst
--- gnunet-0.8.0/debian/gnunet-server.postinst  2008-12-13 05:11:41.000000000 
-0800
+++ gnunet-0.8.0.asheesh/debian/gnunet-server.postinst  2008-12-13 
05:14:29.000000000 -0800
@@ -94,7 +94,7 @@
 
                # This is need to migrate data from 0.6.1b or later
                echo -n "Migrating previous GNUnet data (gnunet-update): "
-               gnunet-update
+               gnunet-update || true
                echo "done."
 
                # Cleaning

Reply via email to