FS#66884 - [gnupg] distributes useless gpg-zip script

Attached to Project: Arch Linux
Opened by Eli Schwartz (eschwartz) - Wednesday, 03 June 2020, 23:35 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 03 June 2020, 23:48 GMT
Task Type General Gripe
Category Packages: Core
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

gpg-zip does not have a manpage, it was removed in https://github.com/gpg/gnupg/commit/1b6d1ac97638ebc5b5ce7d863b166e9b7669bf2f

It also prints a deprecation message if you try running it:

$ gpg-zip --help
gpg-zip: This script is deprecated - please use gpgtar instead.
Usage: gpg-zip [--help] [--version] [--encrypt] [--decrypt] [--symmetric]

It's not enabled for installation, by default, and in the master branch, it's removed entirely from the sources: https://github.com/gpg/gnupg/commit/8b8ea802ca071c911158cab0203245a16a69125c

Why do we override upstream's decision to have this be a no-install script? Why does our PKGBUILD do this?

sed '/noinst_SCRIPTS = gpg-zip/c sbin_SCRIPTS += gpg-zip' -i tools/Makefile.in
This task depends upon

Closed by  Gaetan Bisson (vesath)
Wednesday, 03 June 2020, 23:48 GMT
Reason for closing:  Implemented
Additional comments about closing:  gnupg-2.2.20-4 in [testing]
Comment by Gaetan Bisson (vesath) - Wednesday, 03 June 2020, 23:47 GMT
Somebody requested this script a while back, I do not remember who but that information can be found in the SVN logs, and nobody thought to check up on the upstream status of that script since. Thanks for spotting this. Removing a patch to gnupg will certainly make some folks very happy.
Comment by Eli Schwartz (eschwartz) - Thursday, 04 June 2020, 00:15 GMT
Hmm, well, I'd venture to say I don't like random patches without sufficient rationale and discussion either. o_0

It appears to have been requested, indeed, in  FS#44342 . But it seems funny to have added it then, given gpgtar was added in 2010; I wonder why the reporter wanted it. Admittedly it didn't get a deprecation notice until some time after the resolution of the linked ticket.

Loading...