From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: Install gpg2 as gpg Date: Mon, 13 Jun 2016 20:24:23 +0000 Message-ID: <20160613202423.GA5290@khazad-dum> References: <20160613195538.GA1358@jasmine> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCYPZ-00086k-DB for guix-devel@gnu.org; Mon, 13 Jun 2016 16:24:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCYPU-0006xj-C9 for guix-devel@gnu.org; Mon, 13 Jun 2016 16:24:40 -0400 Received: from 93-95-228-168.1984.is ([93.95.228.168]:45756 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCYPT-0006xO-U4 for guix-devel@gnu.org; Mon, 13 Jun 2016 16:24:36 -0400 Received: by beleriand.n0.is (OpenSMTPD) with ESMTPSA id 17f18502 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO for ; Mon, 13 Jun 2016 20:24:29 +0000 (UTC) Content-Disposition: inline In-Reply-To: <20160613195538.GA1358@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --jI8keyz6grp/JLjh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 > 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-gp= g' > 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 > -- =E2=99=A5=E2=92=B6 ng0 For non-prism friendly talk find me on psyced.org / loupsycedyglgamf.onion --jI8keyz6grp/JLjh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iF4EARYKAAYFAldfFnYACgkQhhoAchyzrCC0egD/WAnC88YnOrgtTUjNglYc4ZKQ 2roQh6Nlx7jePECu+MEBAPSumYDLMyFBF0mJoqyfz3QEIRQ2l1C6KcfFtOQ/xE4H =vmOt -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh--