Gentoo Archives: gentoo-commits

From: Nicolas Bock <nicolasbock@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/neomutt/
Date: Sun, 03 Dec 2017 13:41:34
Message-Id: 1512308482.c1b51a267ca87d73bb37216fe1059fa4dc6dce93.nicolasbock@gentoo
1 commit: c1b51a267ca87d73bb37216fe1059fa4dc6dce93
2 Author: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 3 13:41:06 2017 +0000
4 Commit: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 3 13:41:22 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1b51a26
7
8 mail-client/neomutt: Add warning about changed USE flags
9
10 As part of https://bugs.gentoo.org/637176 the crypto related USE flags
11 were renamed. This change adds a warning to the user that this has
12 happened. The old flags are still usable, but their use is deprecated
13 and will be removed at some point.
14
15 Package-Manager: Portage-2.3.13, Repoman-2.3.3
16
17 mail-client/neomutt/neomutt-9999.ebuild | 20 +++++++++++++++++---
18 1 file changed, 17 insertions(+), 3 deletions(-)
19
20 diff --git a/mail-client/neomutt/neomutt-9999.ebuild b/mail-client/neomutt/neomutt-9999.ebuild
21 index 3460d474743..8a0f8bb25dd 100644
22 --- a/mail-client/neomutt/neomutt-9999.ebuild
23 +++ b/mail-client/neomutt/neomutt-9999.ebuild
24 @@ -20,9 +20,9 @@ HOMEPAGE="https://www.neomutt.org/"
25
26 LICENSE="GPL-2"
27 SLOT="0"
28 -IUSE="berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet libressl lmdb nls
29 - notmuch pgp_classic qdbm sasl selinux slang smime_classic ssl
30 - tokyocabinet"
31 +IUSE="berkdb crypt doc gdbm gnutls gpg gpgme idn kerberos kyotocabinet
32 + libressl lmdb nls notmuch pgp_classic qdbm sasl selinux slang smime
33 + smime_classic ssl tokyocabinet"
34
35 CDEPEND="
36 app-misc/mime-types
37 @@ -34,6 +34,7 @@ CDEPEND="
38 qdbm? ( dev-db/qdbm )
39 tokyocabinet? ( dev-db/tokyocabinet )
40 gnutls? ( >=net-libs/gnutls-1.0.17 )
41 + gpg? ( >=app-crypt/gpgme-0.9.0 )
42 gpgme? ( >=app-crypt/gpgme-0.9.0 )
43 idn? ( net-dns/libidn )
44 kerberos? ( virtual/krb5 )
45 @@ -68,10 +69,13 @@ src_prepare() {
46 src_configure() {
47 local myconf=(
48 "$(use_enable doc)"
49 + "$(use_enable gpg gpgme)"
50 "$(use_enable gpgme)"
51 "$(use_enable nls)"
52 "$(use_enable notmuch)"
53 + "$(use_enable crypt pgp)"
54 "$(use_enable pgp_classic pgp)"
55 + "$(use_enable smime)"
56 "$(use_enable smime_classic smime)"
57 "$(use_with berkdb bdb)"
58 "$(use_with gdbm)"
59 @@ -114,3 +118,13 @@ src_install() {
60
61 dodoc COPYRIGHT LICENSE* ChangeLog* README*
62 }
63 +
64 +pkg_postinst() {
65 + ewarn "Pleae note that the crypto related USE flags of neomutt have changed."
66 + ewarn "(https://bugs.gentoo.org/637176)"
67 + ewarn "crypt -> pgp_classic"
68 + ewarn "gpg -> gpgme"
69 + ewarn "smime -> smime_classic"
70 + ewarn "The old USE flags still work but their use is deprecated and will"
71 + ewarn "be removed in a future release."
72 +}