From owner-freebsd-pkg@freebsd.org Thu Sep 7 19:48:46 2017 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 611BEE0B8DD for ; Thu, 7 Sep 2017 19:48:46 +0000 (UTC) (envelope-from mail@rubenvos.com) Received: from transip.osfux.nl (transip.osfux.nl [149.210.184.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8C62884F32 for ; Thu, 7 Sep 2017 19:48:44 +0000 (UTC) (envelope-from mail@rubenvos.com) Received: from transip.osfux.nl (localhost [127.0.0.1]) by transip.osfux.nl (Postfix) with ESMTP id 5CA963ADE4 for ; Thu, 7 Sep 2017 21:48:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rubenvos.com; s=default; t=1504813716; bh=Qwlv0I0CU8XOR/ELX9u3QDmPOG8Mq01ar70LKCa1xQM=; h=Subject:From:To:References:Date:In-Reply-To; b=idyNl9oYbvpNcB177zPwAHN2yBxgccA+k1HAuMTQHm1LMf+XYFoZVXJwBWwEvW15y c9G9C/D+Xm6XoAWNHx9R1CNtqJIv5XhElfCVdFzPbVCfrdPgPxsa2wm1sJWqdStVDd JK7UsSgEgi8tPo9Dc6QBcrCZ1u3FfnItpxBIBnzyVf5q839rCOdrt5o3A5x37mvVKr krENoU0v5MnpYLiaRUuK/eWiEKd/B1yfJjD7rAGr7uNPeVLZF8C0COqhvMuGSswcZX 61Tvn1fmCS3Nt6tNYxSZVQp+euhI70V3+MevDEgYOiHuv1fgMpavodEw7i3RD1gtrL /Ab6fqr/apXLt6Iu0QFSVYh3x4XNYHK+ilo9zeX+/bJBePwAml69lwCfASv1vKu5Sr BGG/xalSvYeMffktAGNV92oF9yNxWgowWv1iXTmY22DAhIdpQsuYk2nft5UzyMlpoC auulLZ0hv/n89aRG4psN4/OQqwwYJnxVRVkRxZa+JJZB9Uysji+zC7KZ3NeVlLsSCl S9VC9rLXimiAIouGXaoxFBY5noJKR8WrfPEFzsX6xJ36G2T7xFxebmHddNeFx345B7 15PRY2X06I44oRKhO9rleZ4HffV3j0+umm5T6A6qfSZqWmBcpGIR1K0dPUNfL3ue0r pa8nf8M5ou+aOMndEjkNRqm0= Received: from transip.osfux.nl (localhost [127.0.0.1]) by transip.osfux.nl (Postfix) with ESMTP id 479BA3ADD9 for ; Thu, 7 Sep 2017 21:48:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rubenvos.com; s=default; t=1504813716; bh=Qwlv0I0CU8XOR/ELX9u3QDmPOG8Mq01ar70LKCa1xQM=; h=Subject:From:To:References:Date:In-Reply-To; b=idyNl9oYbvpNcB177zPwAHN2yBxgccA+k1HAuMTQHm1LMf+XYFoZVXJwBWwEvW15y c9G9C/D+Xm6XoAWNHx9R1CNtqJIv5XhElfCVdFzPbVCfrdPgPxsa2wm1sJWqdStVDd JK7UsSgEgi8tPo9Dc6QBcrCZ1u3FfnItpxBIBnzyVf5q839rCOdrt5o3A5x37mvVKr krENoU0v5MnpYLiaRUuK/eWiEKd/B1yfJjD7rAGr7uNPeVLZF8C0COqhvMuGSswcZX 61Tvn1fmCS3Nt6tNYxSZVQp+euhI70V3+MevDEgYOiHuv1fgMpavodEw7i3RD1gtrL /Ab6fqr/apXLt6Iu0QFSVYh3x4XNYHK+ilo9zeX+/bJBePwAml69lwCfASv1vKu5Sr BGG/xalSvYeMffktAGNV92oF9yNxWgowWv1iXTmY22DAhIdpQsuYk2nft5UzyMlpoC auulLZ0hv/n89aRG4psN4/OQqwwYJnxVRVkRxZa+JJZB9Uysji+zC7KZ3NeVlLsSCl S9VC9rLXimiAIouGXaoxFBY5noJKR8WrfPEFzsX6xJ36G2T7xFxebmHddNeFx345B7 15PRY2X06I44oRKhO9rleZ4HffV3j0+umm5T6A6qfSZqWmBcpGIR1K0dPUNfL3ue0r pa8nf8M5ou+aOMndEjkNRqm0= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on transip.osfux.nl X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=failed autolearn_force=no version=3.4.1 Received: from rubens-MacBook-Air.local (ip4da7bddc.direct-adsl.nl [77.167.189.220]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by transip.osfux.nl (Postfix) with ESMTPSA for ; Thu, 7 Sep 2017 21:48:34 +0200 (CEST) Subject: Re: net-mgmt/nrpe-ssl : installing on an icinga2 host results in conflict From: Ruben To: freebsd-pkg@freebsd.org References: <2b0992e2-cf3a-25d6-29b5-99fc5d1f3885@rubenvos.com> <9bed9720-b21d-fae0-3d45-ddc8ae4e6205@rubenvos.com> Message-ID: <7b767946-1505-b99d-50c0-51de7a8217c5@rubenvos.com> Date: Thu, 7 Sep 2017 21:48:34 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <9bed9720-b21d-fae0-3d45-ddc8ae4e6205@rubenvos.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 19:48:46 -0000 Hi, Just to follow up: the suggested workaround of building the package myself solved my particular problem. Did not even need to manually set an option, the already installed plugins were selected automatically. Regards, Ruben On 06/09/17 10:08, Ruben wrote: > Hi Matthew, > > > Interesting. > > > Thank you very much for shedding some light/history on this situation. > Ill switch to compiling the nrpe port manually for this particular server. > > > Kind regards, > > > Ruben > > > > > > On 06/09/17 08:42, Matthew Seaman wrote: >> On 06/09/2017 00:55, Ruben wrote: >>> I'm running an icinga2 installation on a 11.1 system, it works well. >>> >>> >>> Trying to install the check_nrpe binary (so the icinga installation can >>> query nrpe checks defined on "clients") using pkg turns out to be a >>> little troublesome though. When I try to install the nrpe-ssl package, >>> pkg complains that there is a conflict between nrpe-ssl dependency >>> 'nagios-plugins' and the installed package 'monitoring-plugins' : >>> >>> >>>   - monitoring-plugins-2.2_2 conflicts with nagios-plugins-2.2.1_4,1 on >>> /usr/local/libexec/nagios/check_apt >>> >>> >>> the suggested solution of removing the icinga server package is >>> unacceptable in my situation. Since net-mgmt/icinga2 explicitly lists >>> monitoring-plugins as a requirement, it seems a little strange as well. >>> >>> >>> Does somebody have any advice? Am I trying to install the wrong package? >>> Or should I perhaps file a bug report? >>> >>> >>> Any feedback appreciated :) >> This is a result of a systemic problem with the ports where there is a >> lack of support for alternate dependencies. (It's not pkg going wrong >> per se: pkg has to work with what the ports gives it, and the ports >> doesn't give it any way of dealing with this problem. Yet.) >> >> The trouble here results originally from the fork between nagios and >> icinga. nagios has the nagios-plugins port, and icinga has the >> monitoring-plugins port where the essential difference between >> nagios-plugins and monitoring-plugins is what each depends on. >> Unfortunately for many monitoring plugins, there aren't similar >> duplicate ports -- one for nagios and the other for icinga -- in the >> same way. So despite the fact that the nagios plugins could work >> perfectly well with icinga, you're going to run into this sort of >> incompatibility. >> >> This really only affects the pre-compiled packages. You can build the >> net-mgmt/nrpe port yourself with the dependency switched to >> monitoring-plugins by setting OPTIONS for the port. Which is merely one >> instance of a problem with the whole pre-compiled package setup in >> FreeBSD at the moment. There are a number of fairly important changes >> to the ports in development that will largely solve this sort of >> problem, but progress is slow and I can't say when those will actually >> be implemented. >> >> At the moment, I'm afraid your best answer is to build your own ports >> with the options settings you require. >> >> Cheers, >> >> Matthew >>