Date: Thu, 6 Oct 2005 09:54:38 +0300 From: "Alex Samorukov" <samm@os2.kiev.ua> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Cc: samm@os2.kiev.ua Subject: ports/86972: net-mgmt/nagios-plugins - add option to disable IPV6 Message-ID: <1128581678.0@samm.voliacable.com> Resent-Message-ID: <200510060700.j9670TlE017473@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 86972 >Category: ports >Synopsis: net-mgmt/nagios-plugins - add option to disable IPV6 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 06 07:00:28 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alex Samorukov >Release: FreeBSD 6.0-BETA4 i386 >Organization: Home >Environment: System: FreeBSD 6.0-BETA4 #0: Sat Sep 10 13:40:46 EEST 2005 root@samm.voliacable.com:/usr/obj/usr/src/sys/SAMMKRNL >Description: This patch allow to build nagios-plugins w/o IPV6 support. I have problems with check_ping and check_icmp on ipv4 system when nagios-plugins are built with ipv6 support >How-To-Repeat: check_icmp can work incorrectly when it built on a system with ipv6 suppport but without real ipv6 address. After building without ipv6 support all start to work correctly >Fix: --- Makefile Thu Oct 6 09:44:34 2005 +++ Makefile.orig Thu Oct 6 09:49:59 2005 @@ -21,7 +21,8 @@ RADIUS "Radius support" off \ MYSQL "MySQL support" off \ PGSQL "PostgreSQL support" off \ - LDAP "OpenLDAP support" off + LDAP "OpenLDAP support" off \ + IPV6 "IPV6 support" off .include <bsd.port.pre.mk> @@ -94,6 +95,12 @@ PLIST_SUB+= SUB_LDAP="" .else PLIST_SUB+= SUB_LDAP="@comment " +.endif + +.if defined(WITH_IPV6) +CONFIGURE_ARGS+=--with-ipv6 +.else +CONFIGURE_ARGS+=--without-ipv6 .endif CONFIGURE_ENV= LOCALBASE=${LOCALBASE} LDFLAGS="-L${LOCALBASE}/lib" \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1128581678.0>