commit:     94007561388a4a22812c797687503e47de2642a9
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  3 10:17:13 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Apr  3 10:21:48 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94007561

mail-mta/msmtp: add libressl support

Package-Manager: portage-2.2.26

 mail-mta/msmtp/msmtp-1.6.2.ebuild | 9 ++++++---
 mail-mta/msmtp/msmtp-1.6.3.ebuild | 9 ++++++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/mail-mta/msmtp/msmtp-1.6.2.ebuild 
b/mail-mta/msmtp/msmtp-1.6.2.ebuild
index 1171d38..4369c54 100644
--- a/mail-mta/msmtp/msmtp-1.6.2.ebuild
+++ b/mail-mta/msmtp/msmtp-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/msmtp/${P}.tar.xz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~arm-linux 
~x86-linux ~ppc-macos ~x86-macos"
-IUSE="doc gnutls idn libsecret +mta nls sasl ssl vim-syntax"
+IUSE="doc gnutls idn libressl libsecret +mta nls sasl ssl vim-syntax"
 
 CDEPEND="
        idn? ( net-dns/libidn )
@@ -21,7 +21,10 @@ CDEPEND="
        sasl? ( virtual/gsasl )
        ssl? (
                gnutls? ( net-libs/gnutls )
-               !gnutls? ( dev-libs/openssl )
+               !gnutls? (
+                       !libressl? ( dev-libs/openssl:0= )
+                       libressl? ( dev-libs/libressl:0= )
+               )
        )
 "
 

diff --git a/mail-mta/msmtp/msmtp-1.6.3.ebuild 
b/mail-mta/msmtp/msmtp-1.6.3.ebuild
index 044e6e2..4369c54 100644
--- a/mail-mta/msmtp/msmtp-1.6.3.ebuild
+++ b/mail-mta/msmtp/msmtp-1.6.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/msmtp/${P}.tar.xz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~arm-linux 
~x86-linux ~ppc-macos ~x86-macos"
-IUSE="doc gnutls idn libsecret +mta nls sasl ssl vim-syntax"
+IUSE="doc gnutls idn libressl libsecret +mta nls sasl ssl vim-syntax"
 
 CDEPEND="
        idn? ( net-dns/libidn )
@@ -21,7 +21,10 @@ CDEPEND="
        sasl? ( virtual/gsasl )
        ssl? (
                gnutls? ( net-libs/gnutls )
-               !gnutls? ( dev-libs/openssl:0 )
+               !gnutls? (
+                       !libressl? ( dev-libs/openssl:0= )
+                       libressl? ( dev-libs/libressl:0= )
+               )
        )
 "
 

Reply via email to