summaryrefslogtreecommitdiffstats
path: root/debian/patches/Make-gpg-zip-use-tar-from-PATH.patch
blob: 2deee949e244a579b3c950fa7cca3ddc4cea94e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date: Sun, 18 Nov 2018 17:29:52 -0500
Subject: Make gpg-zip use tar from $PATH

Apparently there is no clean way to configure this from ./configure,
and upstream is deprecating gpg-zip anyway.  So just force-set tar to
be manually "tar" (meaning, that we should look in the $PATH at
runtime).

See also https://dev.gnupg.org/T4251 and https://bugs.debian.org/913582
---
 tools/gpg-zip.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/gpg-zip.in b/tools/gpg-zip.in
index 9047e36..3821f3a 100644
--- a/tools/gpg-zip.in
+++ b/tools/gpg-zip.in
@@ -23,7 +23,7 @@
 # the GNU or POSIX variant of USTAR.
 
 VERSION=@VERSION@
-TAR=@TAR@
+TAR=tar
 GPG=gpg
 
 usage="\