[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Install gpg2 as gpg
From: |
ng0 |
Subject: |
Re: Install gpg2 as gpg |
Date: |
Mon, 13 Jun 2016 20:24:23 +0000 |
On 2016-06-13(03:55:38-0400), Leo Famulari wrote:
> There was discussion of installing the gnupg-2.1 binaries 'gpg2' and
> 'gpgv2' as 'gpg' and 'gpgv' on the 'Trustable guix pull' thread [0].
>
> If we do this, it will become impossible to install gnupg-1 and
> gnupg-2.1 in the same profile, due to collisions of 'gpg' and 'gpgv' and
> their man pages. There are no collisions without this change.
>
> It might also require users to update their scripts.
>
> On the other hand, Werner recommends the change.
>
> The configuration option does not exist for gnupg-2.0.
>
> Discussion welcome!
What if we patched gpg-1 to not colide with gpg-2?
For example, move gpg and gpgv and man pages of them
for gpg-1 to something which has -1 in its name.
On the other hand this would have to be consistent and be followed
straigth to not colide again. I'm not sure if this
approach will work out in the long run.
I'm in favor for the change.
I have no problem with people having to alter their
scripts, I'm waiting for gpg2.1.x with ed25519 (libgrcrypt-1.7)
to finally catch up so it can be used more widely.
> [0]
> http://lists.gnu.org/archive/html/bug-guix/2016-06/msg00035.html
> From d9da5767601a8a10ade206ff186332ed0b1a2645 Mon Sep 17 00:00:00 2001
> From: Leo Famulari <address@hidden>
> Date: Mon, 13 Jun 2016 15:39:15 -0400
> Subject: [PATCH] gnu: gnupg-2.1: Install executable as 'gpg'.
>
> * gnu/packages/gnupg.scm (gnupg-2.1)[arguments]: Add '--enable-gpg2-is-gpg'
> to #:configure-flags.
> ---
> gnu/packages/gnupg.scm | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
> index e6583e5..849a0b6 100644
> --- a/gnu/packages/gnupg.scm
> +++ b/gnu/packages/gnupg.scm
> @@ -234,7 +234,8 @@ compatible to GNU Pth.")
> ("sqlite" ,sqlite)
> ("zlib" ,zlib)))
> (arguments
> - `(#:phases
> + `(#:configure-flags '("--enable-gpg2-is-gpg")
> + #:phases
> (alist-cons-before
> 'configure 'patch-config-files
> (lambda _
> --
> 2.8.4
>
--
♥Ⓐ ng0
For non-prism friendly talk find me on
psyced.org / loupsycedyglgamf.onion
signature.asc
Description: Digital signature
Re: Install gpg2 as gpg, Christopher Allan Webber, 2016/06/13
Re: Install gpg2 as gpg, Ludovic Courtès, 2016/06/14