unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Install gpg2 as gpg
@ 2016-06-13 19:55 Leo Famulari
  2016-06-13 20:24 ` ng0
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Leo Famulari @ 2016-06-13 19:55 UTC (permalink / raw)
  To: guix-devel

[-- 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


^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-07-24 21:10 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-13 19:55 Install gpg2 as gpg Leo Famulari
2016-06-13 20:24 ` 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

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).