commit:     b544f1de171519fa30bb99f5a5d266f123307ac9
Author:     Stijn Tintel <stijn <AT> linux-ipv6 <DOT> be>
AuthorDate: Wed Mar 27 17:54:31 2019 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Mar 28 23:12:35 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b544f1de

app-misc/mosquitto: LibreSSL support.

Mosquitto supports LibreSSL since version 1.5.5.

Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Stijn Tintel <stijn <AT> linux-ipv6.be>
Closes: https://github.com/gentoo/gentoo/pull/11519
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 app-misc/mosquitto/mosquitto-1.5.6.ebuild | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/app-misc/mosquitto/mosquitto-1.5.6.ebuild 
b/app-misc/mosquitto/mosquitto-1.5.6.ebuild
index 2a915dd90e4..7b6a16c2daf 100644
--- a/app-misc/mosquitto/mosquitto-1.5.6.ebuild
+++ b/app-misc/mosquitto/mosquitto-1.5.6.ebuild
@@ -13,13 +13,19 @@ SRC_URI="https://mosquitto.org/files/source/${P}.tar.gz";
 LICENSE="EPL-1.0"
 SLOT="0"
 KEYWORDS="amd64 arm x86"
-IUSE="bridge examples +persistence +srv ssl tcpd test websockets"
+IUSE="bridge examples libressl +persistence +srv ssl tcpd test websockets"
 
-REQUIRED_USE="test? ( bridge )"
+REQUIRED_USE="
+       libressl? ( ssl )
+       test? ( bridge )
+"
 
 RDEPEND="tcpd? ( sys-apps/tcp-wrappers )
        srv? ( net-dns/c-ares )
-       ssl? ( dev-libs/openssl:0= )"
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )"
 DEPEND="${RDEPEND}
        ${PYTHON_DEPS}
        websockets? ( net-libs/libwebsockets )"

Reply via email to