Skip to content

Commit

Permalink
mail-client/mutt: add rdeps for crypt/smime flags to finish #637178
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.13, Repoman-2.3.3
  • Loading branch information
grobian committed Dec 10, 2017
1 parent 5da457f commit 61ed294
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions mail-client/mutt/mutt-1.9.1-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -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."
}

0 comments on commit 61ed294

Please sign in to comment.