net-analyzer/nrpe: add LibreSSL support
authorAaron Bauman <bman@gentoo.org>
Mon, 23 Apr 2018 21:22:23 +0000 (17:22 -0400)
committerAaron Bauman <bman@gentoo.org>
Mon, 23 Apr 2018 21:22:23 +0000 (17:22 -0400)
Closes: https://bugs.gentoo.org/581592
Package-Manager: Portage-2.3.31, Repoman-2.3.9

net-analyzer/nrpe/nrpe-2.15-r3.ebuild
net-analyzer/nrpe/nrpe-3.2.1.ebuild

index 90481423d1fe2eefd26a2ec9955d01497816359e..afdbdc893c417ab79a8ce818d711d9eca971371a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -11,9 +11,13 @@ SRC_URI="mirror://sourceforge/nagios/${P}.tar.gz"
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
-IUSE="command-args minimal selinux ssl tcpd"
+IUSE="command-args libressl minimal selinux ssl tcpd"
 
-DEPEND="ssl? ( dev-libs/openssl:0 )
+DEPEND="
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )
        !minimal? ( tcpd? ( sys-apps/tcp-wrappers ) )"
 RDEPEND="${DEPEND}
        !minimal? (
index fabe5f984cae0ee01996c3f6ed85689a3ef1c98e..3a4f9d8d2513972e3a0b93e00db55707d70c9b7b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,10 +11,13 @@ SRC_URI="${HOMEPAGE}/releases/download/${P}/${P}.tar.gz"
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="command-args selinux ssl"
+IUSE="command-args libressl selinux ssl"
 
 DEPEND="sys-apps/tcp-wrappers
-       ssl? ( dev-libs/openssl:0 )"
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )"
 RDEPEND="${DEPEND}
        || ( net-analyzer/nagios-plugins net-analyzer/monitoring-plugins )
        selinux? ( sec-policy/selinux-nagios )"