NetBSD Problem Report #25792

Received: (qmail 5574 invoked by uid 605); 2 Jun 2004 20:16:35 -0000
Message-Id: <200406021951.i52Jpw7X065436@porticoluna.org>
Date: Wed, 2 Jun 2004 21:51:58 +0200 (CEST)
From: pancake@phreaker.net
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: pancake@phreaker.net
To: gnats-bugs@gnats.NetBSD.org
Subject: ngrep and FreeBSD 5.2
X-Send-Pr-Version: 3.95

>Number:         25792
>Category:       pkg
>Synopsis:       net/ngrep doesn't builds on FreeBSD-5.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 02 20:17:00 +0000 2004
>Closed-Date:    Wed Jun 02 22:08:33 +0000 2004
>Last-Modified:  Wed Jun 02 22:09:00 +0000 2004
>Originator:     User Foo
>Release:        FreeBSD 5.2-RC2
>Organization:

>Environment:


System: FreeBSD porticoluna 5.2-RC2 FreeBSD 5.2-RC2 #11: Fri Jan 9 17:10:40 CET 2004 foo@porticoluna:/usr/src/sys/i386/compile/KERN_PLUNA i386
Architecture: i386
Machine: i386
>Description:
	ngrep doesn't builds on fbsd5.2

>How-To-Repeat:
	$ bmake build
	(...)
	configure: WARNING: Your OS (freebsd5) may have an old libpcap installation.
	If the Resulting ngrep binary segfaults when a BPF filter is specified
	without an ngrep match string then you should reconfigure ngrep with
	the option ``--disable-pcap-restart''.
	(...)


>Fix:
	.if ${OPSYS} = "FreeBSD"
	CONFIGURE_ARGS+= --disable-pcap-restart
	.endif

	tested and working :)

>Release-Note:
>Audit-Trail:

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: pancake@phreaker.net
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/25792: ngrep and FreeBSD 5.2
Date: Wed, 2 Jun 2004 13:26:10 -0700 (PDT)

 On Wed, 2 Jun 2004 pancake@phreaker.net wrote:

 > 	.if ${OPSYS} = "FreeBSD"
 > 	CONFIGURE_ARGS+= --disable-pcap-restart
 > 	.endif

 When I have time, I'll give this a try.

 How does this differ from the PR 24283?
  http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=24283

  Jeremy C. Reed

  	  	 	 BSD News, BSD tutorials, BSD links
 	  	 	 http://www.bsdnewsletter.com/

State-Changed-From-To: open->closed 
State-Changed-By: recht 
State-Changed-When: Wed Jun 2 22:07:57 UTC 2004 
State-Changed-Why:  
Patch commited. 
Thanks for the PR! 

From: Marc Recht <recht@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/25792 CVS commit: pkgsrc/net/ngrep
Date: Wed,  2 Jun 2004 22:06:01 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	recht
 Date:		Wed Jun  2 22:06:01 UTC 2004

 Modified Files:
 	pkgsrc/net/ngrep: Makefile

 Log Message:
 Add --disable-pcap-restart to CONFIGURE_ARGS in case of FreeBSD to
 avoid crashes because of the old pcap library.
 Patch provided by pancake at phreaker dot net in PR 25792.

 Bump PKGREVISION to 1.


 To generate a diff of this commit:
 cvs rdiff -r1.15 -r1.16 pkgsrc/net/ngrep/Makefile

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

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.