From afarsec@012.net.il  Sun Dec  4 23:24:40 2005
Return-Path: <afarsec@012.net.il>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2969416A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Dec 2005 23:24:40 +0000 (GMT)
	(envelope-from afarsec@012.net.il)
Received: from mtaout1.012.net.il (mtaout1.012.net.il [84.95.2.1])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B366343D45
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Dec 2005 23:24:39 +0000 (GMT)
	(envelope-from afarsec@012.net.il)
Received: from afarsec.com ([80.178.148.201])
 by i_mtaout1.012.net.il (HyperSendmail v2004.12)
 with SMTP id <0IQZ00LJYYEDPIL0@i_mtaout1.012.net.il> for
 FreeBSD-gnats-submit@freebsd.org; Mon, 05 Dec 2005 01:25:35 +0200 (IST)
Received: by afarsec.com (sSMTP sendmail emulation); Mon,
 05 Dec 2005 01:15:00 +0200
Message-Id: <0IQZ00LK9YEGPIL0@i_mtaout1.012.net.il>
Date: Mon, 05 Dec 2005 01:15:00 +0200
From: Jonathan <afarsec@012.net.il>
Reply-To: onatan@gmail.com
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Fix breakage in security/fragroute
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         89951
>Category:       ports
>Synopsis:       Fix breakage in security/fragroute
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ehaupt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 04 23:30:02 GMT 2005
>Closed-Date:    Mon Dec 05 13:36:24 CET 2005
>Last-Modified:  Mon Dec 05 13:36:24 CET 2005
>Originator:     Jonathan
>Release:        FreeBSD 6.0 i386
>Organization:
yah
>Environment:
System: FreeBSD you.ve.been.messin 6.0-BETA4 FreeBSD 6.0 #4: Fri Sep 9 00:07:43 IDT 2005 where@you.shouldnt.been.messin:/usr/obj/usr/src/sys/GENERIC i386

>Description:
Build failed today with this:

cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include    -O -pipe -march=pentium4m -Wall -c pcaputil.c
pcaputil.c: In function `pcap_open':
pcaputil.c:46: error: `BIOCIMMEDIATE' undeclared (first use in this function)
pcaputil.c:46: error: (Each undeclared identifier is reported only once
pcaputil.c:46: error: for each function it appears in.)

It's the same issue as I had in security/firewalk, so it's the same fix.
>How-To-Repeat:
cd /usr/ports/security/fragroute && make
>Fix:


--- fragroute-build.err begins here ---

diff -urN fragroute.orig/files/patch-pcaputil.h fragroute/files/patch-pcaputil.h
--- fragroute.orig/files/patch-pcaputil.h	Thu Jan  1 02:00:00 1970
+++ fragroute/files/patch-pcaputil.h	Mon Dec  5 01:15:22 2005
@@ -0,0 +1,13 @@
+--- pcaputil.h.orig	Thu Jan 17 23:33:55 2002
++++ pcaputil.h	Mon Dec  5 01:13:29 2005
+@@ -9,6 +9,10 @@
+ #ifndef PCAPUTIL_H
+ #define PCAPUTIL_H
+ 
++#ifndef BIOCIMMEDIATE
++#define BIOCIMMEDIATE _IOW('B',112,u_int)
++#endif
++
+ pcap_t *pcap_open(char *device);
+ int	pcap_dloff(pcap_t *pcap);
+ int	pcap_filter(pcap_t *pcap, const char *fmt, ...);
--- fragroute-build.err ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ehaupt 
Responsible-Changed-By: ehaupt 
Responsible-Changed-When: Mon Dec 5 10:10:47 CET 2005 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89951 
State-Changed-From-To: open->feedback 
State-Changed-By: ehaupt 
State-Changed-When: Mon Dec 5 10:26:39 CET 2005 
State-Changed-Why:  
Ask for maintainer feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89951 

From: Emanuel Haupt <ehaupt@FreeBSD.org>
To: bug-followup@FreeBSD.org, onatan@gmail.com
Cc:  
Subject: Re: ports/89951: Fix breakage in security/fragroute
Date: Mon, 5 Dec 2005 10:24:36 +0100

 I couldn't reproduce the buildlog on a current 6.0-STABLE machine. There
 is also no indication from pointyhat.freebsd.org that the port is
 broken. I saw you're using 6.0-BETA4 and you're using
 '-march=pentium4m'. Does the port break without '-march=pentium4m'?
 
 Regards,
 Emanuel
 
 -- 
 GnuPG key id: 0x55E67774         Download: http://pgp.mit.edu:11371
 Key fingerprint: 17B3 FD8F BA68 4AB4 10FD  A9D1 AD52 6588 55E6 7774

From: Jonatan B <onatan@gmail.com>
To: bug-followup@freebsd.org
Cc: Emanuel Haupt <ehaupt@freebsd.org>
Subject: Re: ports/89951: Fix breakage in security/fragroute
Date: Mon, 5 Dec 2005 12:44:54 +0200

 On 12/5/05, Emanuel Haupt <ehaupt@freebsd.org> wrote:
 > I couldn't reproduce the buildlog on a current 6.0-STABLE machine. There
 > is also no indication from pointyhat.freebsd.org that the port is
 > broken. I saw you're using 6.0-BETA4 and you're using
 > '-march=3Dpentium4m'. Does the port break without '-march=3Dpentium4m'?
 
 It was reproduced on my laptop, with 6.0-STABLE (the BETA4 is just the
 server I send-pr
 from).
 It's the same issue that was reported in ports/86132.
 I'm seeing it in security/dsniff too, so it's probably relevant to the
 recent libnet changes.

From: Emanuel Haupt <ehaupt@FreeBSD.org>
To: Jonatan B <onatan@gmail.com>
Cc: bug-followup@FreeBSD.org, ehaupt@FreeBSD.org
Subject: Re: ports/89951: Fix breakage in security/fragroute
Date: Mon, 5 Dec 2005 13:05:13 +0100

 > It was reproduced on my laptop, with 6.0-STABLE (the BETA4 is just the
 > server I send-pr
 > from).
 > It's the same issue that was reported in ports/86132.
 > I'm seeing it in security/dsniff too, so it's probably relevant to the
 > recent libnet changes.
 
 Thanks for clarifying. Would you like to take maintainership of this
 port?
 
 -- 
 GnuPG key id: 0x55E67774         Download: http://pgp.mit.edu:11371
 Key fingerprint: 17B3 FD8F BA68 4AB4 10FD  A9D1 AD52 6588 55E6 7774

From: Jonatan B <onatan@gmail.com>
To: Emanuel Haupt <ehaupt@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/89951: Fix breakage in security/fragroute
Date: Mon, 5 Dec 2005 14:08:34 +0200

 > Thanks for clarifying. Would you like to take maintainership of this
 > port?
 
 sure.
State-Changed-From-To: feedback->closed 
State-Changed-By: ehaupt 
State-Changed-When: Mon Dec 5 13:36:23 CET 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89951 
>Unformatted:
