From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 6 07:00:31 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B234E16A41F for ; Thu, 6 Oct 2005 07:00:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7266343D45 for ; Thu, 6 Oct 2005 07:00:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9670Tv9017482 for ; Thu, 6 Oct 2005 07:00:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9670TlE017473; Thu, 6 Oct 2005 07:00:29 GMT (envelope-from gnats) Resent-Date: Thu, 6 Oct 2005 07:00:29 GMT Resent-Message-Id: <200510060700.j9670TlE017473@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Alex Samorukov" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C221C16A41F for ; Thu, 6 Oct 2005 06:54:28 +0000 (GMT) (envelope-from samm@os2.kiev.ua) Received: from el.volia.net (el.volia.net [82.144.192.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6021B43D58 for ; Thu, 6 Oct 2005 06:54:28 +0000 (GMT) (envelope-from samm@os2.kiev.ua) Received: from ip.85.202.165.207.dyn.pool-3.broadband.voliacable.com ([85.202.165.207] helo=samm.voliacable.com) by el.volia.net with esmtp (Exim 4.43 (FreeBSD)) id 1ENPe6-0004ru-Md; Thu, 06 Oct 2005 09:54:26 +0300 Message-Id: <1128581678.0@samm.voliacable.com> Date: Thu, 6 Oct 2005 09:54:38 +0300 From: "Alex Samorukov" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.6 Cc: samm@os2.kiev.ua Subject: ports/86972: net-mgmt/nagios-plugins - add option to disable IPV6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 07:00:31 -0000 >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 @@ -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: