app-misc/mosquitto: LibreSSL support.
authorStijn Tintel <stijn@linux-ipv6.be>
Wed, 27 Mar 2019 17:54:31 +0000 (19:54 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Thu, 28 Mar 2019 23:12:35 +0000 (00:12 +0100)
Mosquitto supports LibreSSL since version 1.5.5.

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

index 2a915dd90e43303cb04056d5f0bf4ae9a16a2be8..7b6a16c2daf8aa20216c51e3aa0657f6bd07dc28 100644 (file)
@@ -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 )"