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

Please unblock package rephrase.

Some considerations:

  * The package was unusable. This revision fix the issue, doing an
    unconditional call to gpg with "--pinentry-mode loopback", allowing
    rephrase work with GPG2. It closes #853935, severity grave.

  * The package was already uploaded to Sid and it builds correctly
    on all applicable architectures.

  * There is a debdiff attached.

  * The debian/changelog says:

    rephrase (0.2-2) unstable; urgency=medium

      * Team upload.
      * debian/control:
          - Bumped Standards-Version to 3.9.8.
          - Updated the Vcs-Git field to use https instead of git.
      * debian/patches/02_minimal_gpg2_support.patch: added to unconditionally
        call gpg with "--pinentry-mode loopback", allowing rephrase work with
        GPG2. Thanks to Axel Beckert <a...@debian.org>. (Closes: #853935)

Thanks in advance.

Regards,

Eriberto
diff -Nru rephrase-0.2/debian/changelog rephrase-0.2/debian/changelog
--- rephrase-0.2/debian/changelog       2015-07-14 12:02:55.000000000 -0300
+++ rephrase-0.2/debian/changelog       2017-02-05 18:53:54.000000000 -0200
@@ -1,3 +1,15 @@
+rephrase (0.2-2) unstable; urgency=medium
+
+  * Team upload.
+  * debian/control:
+      - Bumped Standards-Version to 3.9.8.
+      - Updated the Vcs-Git field to use https instead of git.
+  * debian/patches/02_minimal_gpg2_support.patch: added to unconditionally
+    call gpg with "--pinentry-mode loopback", allowing rephrase work with
+    GPG2. Thanks to Axel Beckert <a...@debian.org>. (Closes: #853935)
+
+ -- Joao Eriberto Mota Filho <eribe...@debian.org>  Sun, 05 Feb 2017 18:53:54 
-0200
+
 rephrase (0.2-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru rephrase-0.2/debian/control rephrase-0.2/debian/control
--- rephrase-0.2/debian/control 2015-07-13 17:57:52.000000000 -0300
+++ rephrase-0.2/debian/control 2017-02-05 18:53:54.000000000 -0200
@@ -4,10 +4,10 @@
 Maintainer: Debian Forensics <forensics-de...@lists.alioth.debian.org>
 Uploaders: Tiago Bortoletto Vaz <ti...@debian.org>
 Build-Depends: debhelper (>= 9)
-Standards-Version: 3.9.6
+Standards-Version: 3.9.8
 Homepage: http://www.roguedaemon.net/rephrase/
 Vcs-Browser: https://anonscm.debian.org/cgit/forensics/rephrase.git
-Vcs-Git: git://anonscm.debian.org/forensics/rephrase.git
+Vcs-Git: https://anonscm.debian.org/git/forensics/rephrase.git
 
 Package: rephrase
 Architecture: any
diff -Nru rephrase-0.2/debian/patches/02_minimal_gpg2_support.patch 
rephrase-0.2/debian/patches/02_minimal_gpg2_support.patch
--- rephrase-0.2/debian/patches/02_minimal_gpg2_support.patch   1969-12-31 
21:00:00.000000000 -0300
+++ rephrase-0.2/debian/patches/02_minimal_gpg2_support.patch   2017-02-05 
18:53:54.000000000 -0200
@@ -0,0 +1,25 @@
+Description: Make rephrase working with gpg2
+Author: Axel Beckert <a...@debian.org> after an idea by Daniel Kahn Gillmor 
<d...@fifthhorseman.net>
+Bug-Debian: https://bugs.debian.org/853935
+Last-Update: 2017-02-03
+Index: rephrase-0.2/rephrase.c
+===================================================================
+--- rephrase-0.2.orig/rephrase.c
++++ rephrase-0.2/rephrase.c
+@@ -63,14 +63,14 @@ struct profile {
+ struct profile profiles[] = {
+   {
+     "--gpg-key",
+-    { GPG, "--default-key", "%1", "--passphrase-fd", "0", "--batch", 
"--no-tty", "--dry-run", "--clearsign", "/dev/null", NULL },
++    { GPG, "--pinentry-mode", "loopback", "--default-key", "%1", 
"--passphrase-fd", "0", "--batch", "--no-tty", "--dry-run", "--clearsign", 
"/dev/null", NULL },
+     1,
+     0,
+     -1
+   },
+   {
+     "--gpg-symmetric",
+-    { GPG, "--passphrase-fd", "0", "--batch", "--no-tty", "--decrypt", "%1", 
NULL },
++    { GPG, "--pinentry-mode", "loopback", "--passphrase-fd", "0", "--batch", 
"--no-tty", "--decrypt", "%1", NULL },
+     1,
+     0,
+     -1
diff -Nru rephrase-0.2/debian/patches/series rephrase-0.2/debian/patches/series
--- rephrase-0.2/debian/patches/series  2015-07-13 17:42:25.000000000 -0300
+++ rephrase-0.2/debian/patches/series  2017-02-05 18:53:54.000000000 -0200
@@ -1 +1,2 @@
 01_fix_bin_path.patch
+02_minimal_gpg2_support.patch

Reply via email to