mail-mta/msmtp: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Sun, 3 Apr 2016 10:17:13 +0000 (06:17 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Sun, 3 Apr 2016 10:21:48 +0000 (06:21 -0400)
Package-Manager: portage-2.2.26

mail-mta/msmtp/msmtp-1.6.2.ebuild
mail-mta/msmtp/msmtp-1.6.3.ebuild

index 1171d3895c64f79c2bc51019992ede6b8113bbc1..4369c54a8a9311d9529160b14e0ad156537d75a7 100644 (file)
@@ -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= )
+               )
        )
 "
 
index 044e6e29aabf12ed8200e6519640ad8238e03a0e..4369c54a8a9311d9529160b14e0ad156537d75a7 100644 (file)
@@ -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= )
+               )
        )
 "