unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <ng0@we.make.ritual.n0.is>
To: guix-devel@gnu.org
Subject: Re: Install gpg2 as gpg
Date: Mon, 13 Jun 2016 20:24:23 +0000	[thread overview]
Message-ID: <20160613202423.GA5290@khazad-dum> (raw)
In-Reply-To: <20160613195538.GA1358@jasmine>

[-- Attachment #1: Type: text/plain, Size: 2221 bytes --]

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 <leo@famulari.name>
> 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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2016-06-13 20:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-13 19:55 Install gpg2 as gpg Leo Famulari
2016-06-13 20:24 ` ng0 [this message]
2016-06-13 21:07   ` Leo Famulari
2016-06-14  7:52     ` Andreas Enge
2016-06-14 12:07       ` Ludovic Courtès
2016-06-14 12:49       ` ng0
2016-06-14 13:37         ` Leo Famulari
2016-06-13 21:42 ` Christopher Allan Webber
2016-06-14 12:09 ` Ludovic Courtès
2016-06-14 13:50   ` Leo Famulari
2016-06-15 12:53     ` Andreas Enge
2016-06-15 15:02       ` Leo Famulari
2016-06-15 15:54         ` Andreas Enge
2016-06-16 10:56         ` Ludovic Courtès
2016-06-18  1:07           ` Leo Famulari
2016-06-19 14:03             ` Ludovic Courtès
2016-07-24 20:56               ` Ludovic Courtès
2016-07-24 21:10                 ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160613202423.GA5290@khazad-dum \
    --to=ng0@we.make.ritual.n0.is \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).