commit: 7a56720aaea444a2243979f8f7c1424e67949b70 Author: Aaron Bauman <bman <AT> gentoo <DOT> org> AuthorDate: Mon Apr 23 21:22:23 2018 +0000 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> CommitDate: Mon Apr 23 21:22:23 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a56720a
net-analyzer/nrpe: add LibreSSL support Closes: https://bugs.gentoo.org/581592 Package-Manager: Portage-2.3.31, Repoman-2.3.9 net-analyzer/nrpe/nrpe-2.15-r3.ebuild | 10 +++++++--- net-analyzer/nrpe/nrpe-3.2.1.ebuild | 9 ++++++--- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/net-analyzer/nrpe/nrpe-2.15-r3.ebuild b/net-analyzer/nrpe/nrpe-2.15-r3.ebuild index 90481423d1f..afdbdc893c4 100644 --- a/net-analyzer/nrpe/nrpe-2.15-r3.ebuild +++ b/net-analyzer/nrpe/nrpe-2.15-r3.ebuild @@ -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? ( diff --git a/net-analyzer/nrpe/nrpe-3.2.1.ebuild b/net-analyzer/nrpe/nrpe-3.2.1.ebuild index fabe5f984ca..3a4f9d8d251 100644 --- a/net-analyzer/nrpe/nrpe-3.2.1.ebuild +++ b/net-analyzer/nrpe/nrpe-3.2.1.ebuild @@ -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 )"