unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: guix-devel@gnu.org
Subject: Install gpg2 as gpg
Date: Mon, 13 Jun 2016 15:55:38 -0400	[thread overview]
Message-ID: <20160613195538.GA1358@jasmine> (raw)

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

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!

[0]
http://lists.gnu.org/archive/html/bug-guix/2016-06/msg00035.html

[-- Attachment #2: 0001-gnu-gnupg-2.1-Install-executable-as-gpg.patch --]
[-- Type: text/x-diff, Size: 835 bytes --]

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


             reply	other threads:[~2016-06-13 19:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-13 19:55 Leo Famulari [this message]
2016-06-13 20:24 ` Install gpg2 as gpg ng0
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=20160613195538.GA1358@jasmine \
    --to=leo@famulari.name \
    --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).