Your message dated Tue, 27 Jan 2015 20:03:15 +0100
with message-id <[email protected]>
and subject line Re: Bug#776333: unblock: pmailq/0.5-2
has caused the Debian Bug report #776333,
regarding unblock: pmailq/0.5-2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
776333: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776333
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock

Please unblock package pmailq

The current version of pmailq in jessie has a very annoying bug which
make it crash while using the "del" command.

Without the "del" command working properly, the program is pretty
useless.

debdiff is attached (this is a 4 lines patch)

Thanks,

unblock pmailq/0.5-2

-- System Information:
Debian Release: 7.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -Nru pmailq-0.5/debian/changelog pmailq-0.5/debian/changelog
--- pmailq-0.5/debian/changelog	2015-01-20 19:26:50.000000000 +0000
+++ pmailq-0.5/debian/changelog	2015-01-21 06:26:04.000000000 +0000
@@ -1,3 +1,9 @@
+pmailq (0.5-2) unstable; urgency=medium
+
+  * Add a patch to fix the delete command
+
+ -- Emmanuel Bouthenot <[email protected]>  Wed, 21 Jan 2015 07:25:34 +0100
+
 pmailq (0.5-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru pmailq-0.5/debian/patches/fix_delete_command pmailq-0.5/debian/patches/fix_delete_command
--- pmailq-0.5/debian/patches/fix_delete_command	1970-01-01 00:00:00.000000000 +0000
+++ pmailq-0.5/debian/patches/fix_delete_command	2015-01-21 06:34:44.000000000 +0000
@@ -0,0 +1,30 @@
+Description: Fix the delete command
+Author: Emmanuel Bouthenot <[email protected]>
+Forwarded: no
+Last-Update: 2015-01-21
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/pmailq
++++ b/pmailq
+@@ -20,7 +20,7 @@
+ 
+ 
+ from optparse import OptionParser, OptionGroup # needs python >= 2.3
+-import sys, os, subprocess, fcntl, select, fnmatch
++import sys, os, subprocess, fcntl, select, fnmatch, re
+ 
+ class Proc:
+ 
+@@ -209,10 +209,9 @@
+                 for o in n['dest']:
+                     e.append(o)
+                 if self.check(m['size'], m['active'], m['hold'], e, i):
+-                    proc = popen2.Popen3("%s %s" % (DELQ, m['id']), True)
+-                    p_ret = proc.wait()
++                    p_ret, _, p_stderr = Proc().run('%s %s' % (DELQ, m['id']))
+                     if p_ret != 0:
+-                        print "deleting %s [FAILED] (%s)" % (m['id'], "".join(proc.childerr.readlines()).strip())
++                        print "deleting %s [FAILED] (%s)" % (m['id'], re.sub('\s+', ' ', p_stderr).strip())
+                     else:
+                         print "deleting %s [OK]" % m['id']
+ 
diff -Nru pmailq-0.5/debian/patches/series pmailq-0.5/debian/patches/series
--- pmailq-0.5/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ pmailq-0.5/debian/patches/series	2015-01-20 21:46:43.000000000 +0000
@@ -0,0 +1 @@
+fix_delete_command

--- End Message ---
--- Begin Message ---
On 2015-01-27 01:36, Emmanuel Bouthenot wrote:
> Package: release.debian.org
> Severity: normal
> User: [email protected]
> Usertags: unblock
> 
> Please unblock package pmailq
> 
> The current version of pmailq in jessie has a very annoying bug which
> make it crash while using the "del" command.
> 
> Without the "del" command working properly, the program is pretty
> useless.
> 
> debdiff is attached (this is a 4 lines patch)
> 
> Thanks,
> 
> unblock pmailq/0.5-2
> 
> [...]

Unblocked, thanks.

~Niels

--- End Message ---

Reply via email to