summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Żołnowski <aidecoe@gentoo.org>2016-05-31 22:29:22 +0100
committerAmadeusz Żołnowski <aidecoe@gentoo.org>2016-05-31 23:10:38 +0100
commit9cdfbeb940dabdd1d2088752b761e12c605e6efa (patch)
tree82824edf734e262fea58091367f0879a81879b71 /net-mail
parentnet-firewall/firewalld: version bump to 0.42, multiple fixes (diff)
downloadgentoo-9cdfbeb940dabdd1d2088752b761e12c605e6efa.tar.gz
gentoo-9cdfbeb940dabdd1d2088752b761e12c605e6efa.tar.bz2
gentoo-9cdfbeb940dabdd1d2088752b761e12c605e6efa.zip
net-mail/notmuch: Correct dependencies related to S/MIME support
gnupg must be installed only if crypt flag is enabled, because crypt related tests are run when this gnupg commands can be found. The same applies to smime flag of gmime which pulls gnupg. Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/notmuch/metadata.xml3
-rw-r--r--net-mail/notmuch/notmuch-0.22.ebuild8
2 files changed, 8 insertions, 3 deletions
diff --git a/net-mail/notmuch/metadata.xml b/net-mail/notmuch/metadata.xml
index 564970f5df0f..d476d7235ac2 100644
--- a/net-mail/notmuch/metadata.xml
+++ b/net-mail/notmuch/metadata.xml
@@ -8,7 +8,8 @@
<use>
<flag name="doc">Install API documentation for enabled bindings</flag>
<flag name="crypt">Support decryption and verification of PGP/MIME
- messages and in Emacs UI - encryption</flag>
+ messages and in Emacs UI - encryption; support also S/MIME
+ signature verification since version 0.22</flag>
<flag name="emacs">Install Emacs UI (the main one)</flag>
<flag name="mutt">Install helper script for Mutt</flag>
<flag name="nmbug">Install experimental tag sharing /
diff --git a/net-mail/notmuch/notmuch-0.22.ebuild b/net-mail/notmuch/notmuch-0.22.ebuild
index 1cf92ced966a..9357a32bed7c 100644
--- a/net-mail/notmuch/notmuch-0.22.ebuild
+++ b/net-mail/notmuch/notmuch-0.22.ebuild
@@ -29,11 +29,13 @@ IUSE="crypt debug doc emacs mutt nmbug python test"
CDEPEND="
>=app-shells/bash-completion-1.9
>=dev-libs/glib-2.22:2
- >=dev-libs/gmime-2.6.20:2.6
+ >=dev-libs/gmime-2.6.20-r2:2.6
>=dev-libs/xapian-1.2.7-r2:=
dev-python/sphinx[${PYTHON_USEDEP}]
>=sys-libs/zlib-1.2.5.2
sys-libs/talloc
+ crypt? ( >=dev-libs/gmime-2.6.20-r2:2.6[smime] )
+ !crypt? ( >=dev-libs/gmime-2.6.20-r2:2.6[-smime] )
debug? ( dev-util/valgrind )
emacs? ( >=virtual/emacs-23 )
python? ( ${PYTHON_DEPS} )
@@ -42,10 +44,12 @@ DEPEND="${CDEPEND}
virtual/pkgconfig
doc? ( app-doc/doxygen )
test? ( app-misc/dtach || ( >=app-editors/emacs-23[libxml2]
- >=app-editors/emacs-vcs-23[libxml2] ) sys-devel/gdb )
+ >=app-editors/emacs-vcs-23[libxml2] ) sys-devel/gdb
+ crypt? ( dev-libs/openssl ) )
"
RDEPEND="${CDEPEND}
crypt? ( app-crypt/gnupg )
+ !crypt? ( !app-crypt/gnupg )
nmbug? ( dev-vcs/git )
mutt? ( dev-perl/File-Which dev-perl/Mail-Box dev-perl/MailTools
dev-perl/String-ShellQuote dev-perl/Term-ReadLine-Gnu