ports/86972: net-mgmt/nagios-plugins - add option to disable IPV6

Alex Samorukov samm at os2.kiev.ua
Thu Oct 6 07:00:31 UTC 2005

>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
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 06 07:00:28 GMT 2005
>Originator:     Alex Samorukov
>Release:        FreeBSD 6.0-BETA4 i386

System: FreeBSD 6.0-BETA4 #0: Sat Sep 10 13:40:46 EEST 2005
    root at samm.voliacable.com:/usr/obj/usr/src/sys/SAMMKRNL


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


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


--- 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="@comment "
+.if defined(WITH_IPV6)


More information about the freebsd-ports-bugs mailing list