From 9ea0523158bd9f6bdb458cd2f085a4ec200f4905 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 11 Feb 2016 16:28:12 +2000 Subject: [PATCH] Re: [PATCH v3 06/16] Prefer gpg2 in the test suite if available --- f8/134c2c792e7c061ce87af5a76e21ba43d5b47a | 78 +++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 f8/134c2c792e7c061ce87af5a76e21ba43d5b47a diff --git a/f8/134c2c792e7c061ce87af5a76e21ba43d5b47a b/f8/134c2c792e7c061ce87af5a76e21ba43d5b47a new file mode 100644 index 000000000..e0452bf8a --- /dev/null +++ b/f8/134c2c792e7c061ce87af5a76e21ba43d5b47a @@ -0,0 +1,78 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 62C1D6DE0BF6 + for ; Wed, 10 Feb 2016 12:28:19 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.307 +X-Spam-Level: +X-Spam-Status: No, score=-0.307 tagged_above=-999 required=5 tests=[AWL=0.244, + RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id WGUbEBTK3Q20 for ; + Wed, 10 Feb 2016 12:28:17 -0800 (PST) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 7B9A46DE0B36 + for ; Wed, 10 Feb 2016 12:28:17 -0800 (PST) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1aTbML-0005hX-Fk; Wed, 10 Feb 2016 15:27:33 -0500 +Received: (nullmailer pid 30018 invoked by uid 1000); + Wed, 10 Feb 2016 20:28:12 -0000 +From: David Bremner +To: Daniel Kahn Gillmor , + Notmuch Mail +Subject: Re: [PATCH v3 06/16] Prefer gpg2 in the test suite if available +In-Reply-To: <874mdgo6za.fsf@alice.fifthhorseman.net> +References: <1454272801-23623-1-git-send-email-dkg@fifthhorseman.net> + <1454272801-23623-7-git-send-email-dkg@fifthhorseman.net> + <87lh6svl0b.fsf@maritornes.cs.unb.ca> + <874mdgo6za.fsf@alice.fifthhorseman.net> +User-Agent: Notmuch/0.21+5~gca076ce (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Wed, 10 Feb 2016 16:28:12 -0400 +Message-ID: <87egckux7n.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 10 Feb 2016 20:28:19 -0000 + +Daniel Kahn Gillmor writes: + +> On Wed 2016-02-10 06:54:12 -0500, David Bremner wrote: +>> Daniel Kahn Gillmor writes: +>> +>>> +>>> +# choose the preferred GnuPG binary: +>>> +if command -v gpg2 > /dev/null; then +>>> + GPG=gpg2 +>>> +else +>>> + GPG=gpg +>>> +fi +>> +>> It feels like this should maybe be in configure, to centralize the choice +>> of GPG default. At least, that would be consistent with python / python2 +> +> I'm not sure what to do here. Ultimately, i don't want there to be a +> choice because i plan on having /usr/bin/gpg provided by gpg2, so this +> will all be moot. +> + +Well, not everyone is running Debian, so your plans may not be that +relevant ;). + +d -- 2.26.2