commit:     61ed2944f8c0f58ea84a9441f02a6f676a945007
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 10 16:30:58 2017 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Dec 10 16:31:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61ed2944

mail-client/mutt: add rdeps for crypt/smime flags to finish #637178

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 mail-client/mutt/mutt-1.9.1-r3.ebuild | 28 ++++++++++------------------
 1 file changed, 10 insertions(+), 18 deletions(-)

diff --git a/mail-client/mutt/mutt-1.9.1-r3.ebuild 
b/mail-client/mutt/mutt-1.9.1-r3.ebuild
index fab20c02df2..1cd2ae74c65 100644
--- a/mail-client/mutt/mutt-1.9.1-r3.ebuild
+++ b/mail-client/mutt/mutt-1.9.1-r3.ebuild
@@ -65,6 +65,10 @@ DEPEND="${CDEPEND}
        )"
 RDEPEND="${CDEPEND}
        selinux? ( sec-policy/selinux-mutt )
+       smime? ( || ( dev-libs/libressl >=dev-libs/openssl-0.9.6:0 ) )
+       smime_classic? ( || ( dev-libs/libressl >=dev-libs/openssl-0.9.6:0 ) )
+       crypt? ( app-crypt/gnupg )
+       pgp_classic? ( app-crypt/gnupg )
 "
 
 src_prepare() {
@@ -240,25 +244,13 @@ pkg_postinst() {
                elog "the Gentoo QuickStart Guide to Mutt E-Mail:"
                elog "   https://wiki.gentoo.org/wiki/Mutt";
                echo
-       else
-               local ver
-               local preconddate=
-               for ver in ${REPLACING_VERSIONS} ; do
-                       [[ ${ver} == "1.5"* || ${ver} == "1.6"* ]] && 
preconddate=true
-               done
-               if [[ -n ${preconddate} ]] ; then
-                       echo
-                       elog "The SmartTime functionality has been replaced 
with"
-                       elog "CondDate feature.  To mimic SmartTime, use this 
CondDate formatter:"
-                       elog "%<[12m?%<[7d?%<[12H?%[%H:%M 
]&%[%a-%d]>&%[%d-%b]>&%[%b-%y]>"
-                       echo
-               fi
        fi
-       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 "Please note that the crypto related USE-flags of mutt have 
changed."
+       ewarn "To remove some unclarity, the following USE-flags are renamed:"
+       ewarn "(see 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."
 }

Reply via email to