NetBSD Problem Report #33105

From lingman@bastion.lucid.net.au  Mon Mar 20 11:11:32 2006
Return-Path: <lingman@bastion.lucid.net.au>
Received: from bastion.lucid.net.au (fxp0-fw-ext.mel.lucid.net.au [203.56.123.249])
	by narn.netbsd.org (Postfix) with ESMTP id 27A8063B8F3
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 20 Mar 2006 11:11:31 +0000 (UTC)
Message-Id: <200603201106.k2KB68ZC025247@bastion.lucid.net.au>
Date: Mon, 20 Mar 2006 22:06:08 +1100 (EST)
From: jason@lucid.net.au
Reply-To: jason@lucid.net.au
To: gnats-bugs@netbsd.org
Subject: Patch suggestion for net/iftop
X-Send-Pr-Version: 3.95

>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:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 20 11:15:00 +0000 2006
>Closed-Date:    Tue Mar 26 21:35:14 +0000 2013
>Last-Modified:  Tue Mar 26 21:35:14 +0000 2013
>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"

>Release-Note:

>Audit-Trail:
From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/33105 CVS commit: pkgsrc/net/iftop
Date: Tue, 26 Mar 2013 20:22:50 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Tue Mar 26 20:22:50 UTC 2013

 Modified Files:
 	pkgsrc/net/iftop: Makefile

 Log Message:
 Use the netdb_1thread resolver, fixes PR pkg/33105.


 To generate a diff of this commit:
 cvs rdiff -u -r1.13 -r1.14 pkgsrc/net/iftop/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Tue, 26 Mar 2013 21:35:14 +0000
State-Changed-Why:
Fixed in HEAD.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.