mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
mail-client/neomutt: Deprecate old crypt USE flags
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -19,9 +19,9 @@ HOMEPAGE="https://neomutt.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
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"
|
||||
IUSE="berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet libressl
|
||||
lmdb nls notmuch pgp_classic qdbm sasl selinux slang smime_classic
|
||||
ssl tokyocabinet"
|
||||
|
||||
CDEPEND="
|
||||
app-misc/mime-types
|
||||
@@ -40,7 +40,6 @@ 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 )
|
||||
@@ -74,14 +73,9 @@ src_configure() {
|
||||
"$(use_enable nls)"
|
||||
"$(use_enable notmuch)"
|
||||
|
||||
# During the transition of the crypto USE flags we need to support
|
||||
# both sets of flags. We do not want to emit a configuration setting
|
||||
# twice, since the second flag overrides the first, potentially
|
||||
# leading to unwanted settings. See https://bugs.gentoo.org/640824 for
|
||||
# details.
|
||||
"$(if use gpg || use gpgme; then echo "--enable"; else echo "--disable"; fi)-gpgme"
|
||||
"$(if use crypt || use pgp_classic; then echo "--enable"; else echo "--disable"; fi)-pgp"
|
||||
"$(if use smime || use smime_classic; then echo "--enable"; else echo "--disable"; fi)-smime"
|
||||
"$(use_enable gpgme)"
|
||||
"$(use_enable pgp_classic pgp)"
|
||||
"$(use_enable smime_classic smime)"
|
||||
|
||||
# Database backends.
|
||||
"$(use_enable berkdb bdb)"
|
||||
@@ -127,19 +121,10 @@ src_install() {
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use crypt || use gpg || use smime; then
|
||||
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."
|
||||
if use gpg && ( use crypt || use smime ); then
|
||||
ewarn " Note that gpgme (old gpg) includes both pgp and smime"
|
||||
ewarn " support. You can probably remove pgp_classic (old crypt)"
|
||||
ewarn " and smime_classic (old smime) from your USE-flags and"
|
||||
ewarn " only enable gpgme."
|
||||
fi
|
||||
if use gpgme && ( use pgp_classic || use smime_classic ); then
|
||||
ewarn " Note that gpgme (old gpg) includes both pgp and smime"
|
||||
ewarn " support. You can probably remove pgp_classic (old crypt)"
|
||||
ewarn " and smime_classic (old smime) from your USE-flags and"
|
||||
ewarn " only enable gpgme."
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user