Subject: pkg/25792: ngrep and FreeBSD 5.2
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <pancake@phreaker.net>
List: pkgsrc-bugs
Date: 06/02/2004 21:51:58
>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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 02 20:17:00 UTC 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: