Subject: pkg/33105: Patch suggestion for net/iftop
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jason@lucid.net.au>
List: pkgsrc-bugs
Date: 03/20/2006 11:15:00
>Number:         33105
>Category:       pkg
>Synopsis:       Supplying a configure option to not use buggy fork resolver
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 20 11:15:00 +0000 2006
>Originator:     jason@lucid.net.au
>Release:        NetBSD 3.0
>Organization:
	
>Environment:
	
	
System: NetBSD bastion 3.0 NetBSD 3.0 (BASTION) #0: Tue Dec 27 18:48:19 EST 2005 lingman@beastie:/data1/tmp/jason/netbsd3-build/obj/sys/arch/i386/compile/BASTION i386
Architecture: i386
Machine: i386
>Description:
Force iftop to use its netdb_1thread resolver as otherwise, one or more
iftop processes stay running after exiting the application (patch taken
from FreeBSD PR ports/81830).
>How-To-Repeat:
N/A
>Fix:
Apply this patch to the pkg Makefile:

Index: Makefile
===================================================================
RCS file: /netbsd/cvsroot/pkgsrc/net/iftop/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	4 Mar 2006 21:30:19 -0000	1.8
+++ Makefile	20 Mar 2006 09:19:57 -0000
@@ -12,6 +12,7 @@
 
 USE_NCURSES=		# mvchgat()
 GNU_CONFIGURE=		yes
+CONFIGURE_ARGS+=		--with-resolver=netdb_1thread
 
 .include "../../devel/ncurses/buildlink3.mk"
 .include "../../net/libpcap/buildlink3.mk"

>Unformatted: