From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-988060-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 6661B139084
	for <garchives@archives.gentoo.org>; Sun,  3 Dec 2017 13:41:34 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B47A9E0F3F;
	Sun,  3 Dec 2017 13:41:33 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 93D7AE0F3F
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Dec 2017 13:41:33 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 54A3D33BF51
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Dec 2017 13:41:32 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 9AA36AE6F
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Dec 2017 13:41:30 +0000 (UTC)
From: "Nicolas Bock" <nicolasbock@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Nicolas Bock" <nicolasbock@gentoo.org>
Message-ID: <1512308482.c1b51a267ca87d73bb37216fe1059fa4dc6dce93.nicolasbock@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/neomutt/
X-VCS-Repository: repo/gentoo
X-VCS-Files: mail-client/neomutt/neomutt-9999.ebuild
X-VCS-Directories: mail-client/neomutt/
X-VCS-Committer: nicolasbock
X-VCS-Committer-Name: Nicolas Bock
X-VCS-Revision: c1b51a267ca87d73bb37216fe1059fa4dc6dce93
X-VCS-Branch: master
Date: Sun,  3 Dec 2017 13:41:30 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: bcf3713b-1c13-43e3-9f60-bf50f6fa8164
X-Archives-Hash: 591141bbb0ca177af502eccdff4f7734

commit:     c1b51a267ca87d73bb37216fe1059fa4dc6dce93
Author:     Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  3 13:41:06 2017 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
CommitDate: Sun Dec  3 13:41:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1b51a26

mail-client/neomutt: Add warning about changed USE flags

As part of https://bugs.gentoo.org/637176 the crypto related USE flags
were renamed. This change adds a warning to the user that this has
happened. The old flags are still usable, but their use is deprecated
and will be removed at some point.

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 mail-client/neomutt/neomutt-9999.ebuild | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/mail-client/neomutt/neomutt-9999.ebuild b/mail-client/neomutt/neomutt-9999.ebuild
index 3460d474743..8a0f8bb25dd 100644
--- a/mail-client/neomutt/neomutt-9999.ebuild
+++ b/mail-client/neomutt/neomutt-9999.ebuild
@@ -20,9 +20,9 @@ HOMEPAGE="https://www.neomutt.org/"
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet libressl lmdb nls
-	notmuch pgp_classic qdbm sasl selinux slang smime_classic ssl
-	tokyocabinet"
+IUSE="berkdb crypt doc gdbm gnutls gpg gpgme idn kerberos kyotocabinet
+	libressl lmdb nls notmuch pgp_classic qdbm sasl selinux slang smime
+	smime_classic ssl tokyocabinet"
 
 CDEPEND="
 	app-misc/mime-types
@@ -34,6 +34,7 @@ CDEPEND="
 	qdbm? ( dev-db/qdbm )
 	tokyocabinet? ( dev-db/tokyocabinet )
 	gnutls? ( >=net-libs/gnutls-1.0.17 )
+	gpg? ( >=app-crypt/gpgme-0.9.0 )
 	gpgme? ( >=app-crypt/gpgme-0.9.0 )
 	idn? ( net-dns/libidn )
 	kerberos? ( virtual/krb5 )
@@ -68,10 +69,13 @@ src_prepare() {
 src_configure() {
 	local myconf=(
 		"$(use_enable doc)"
+		"$(use_enable gpg gpgme)"
 		"$(use_enable gpgme)"
 		"$(use_enable nls)"
 		"$(use_enable notmuch)"
+		"$(use_enable crypt pgp)"
 		"$(use_enable pgp_classic pgp)"
+		"$(use_enable smime)"
 		"$(use_enable smime_classic smime)"
 		"$(use_with berkdb bdb)"
 		"$(use_with gdbm)"
@@ -114,3 +118,13 @@ src_install() {
 
 	dodoc COPYRIGHT LICENSE* ChangeLog* README*
 }
+
+pkg_postinst() {
+	ewarn "Pleae note that the crypto related USE flags of neomutt have changed."
+	ewarn "(https://bugs.gentoo.org/637176)"
+	ewarn "crypt -> pgp_classic"
+	ewarn "gpg -> gpgme"
+	ewarn "smime -> smime_classic"
+	ewarn "The old USE flags still work but their use is deprecated and will"
+	ewarn "be removed in a future release."
+}