Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2001 18:12:53 +1100 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33162: [patch] fix sniffit to work for FreeBSD
Message-ID:  <20011225071253.001CC36F@k7.mavetju.org>

next in thread | raw e-mail | index | archive | help

>Number:         33162
>Category:       ports
>Synopsis:       [patch] fix sniffit to work for FreeBSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 24 23:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju.org 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC i386

$FreeBSD: ports/net/sniffit/Makefile,v 1.16 2001/12/03 15:06:28 petef Exp $

>Description:

This port is written for Linux, and all the ethernet interfaces
there are called "ed". For FreeBSD, this is a little bit different.
Also added other interfaces like ppp, tun and lo.

>How-To-Repeat:

n/a

>Fix:

After this patch is commited, please close PR ports/31920

--- Makefile.orig	Tue Dec 25 18:11:29 2001
+++ Makefile	Tue Dec 25 18:06:55 2001
@@ -8,6 +8,7 @@
 
 PORTNAME=	sniffit
 PORTVERSION=	0.3.7b
+PORTREVISION=	1
 CATEGORIES=	net security
 MASTER_SITES=	http://reptile.rug.ac.be/~coder/sniffit/files/  \
 		${MASTER_SITE_LOCAL}
--- files/patch-03.orig	Mon Dec 24 08:11:39 2001
+++ files/patch-03	Tue Dec 25 18:05:56 2001
@@ -1,13 +1,15 @@
---- sn_data.h.orig	Sun Aug 16 23:29:35 1998
-+++ sn_data.h	Sun Aug 16 23:30:48 1998
-@@ -38,8 +38,8 @@
+--- sn_data.h.orig	Tue Dec  4 10:16:59 2001
++++ sn_data.h	Tue Dec  4 10:20:02 2001
+@@ -38,9 +38,9 @@
  char *NETDEV[]={"ppp","ed"};		
  int HEADSIZE[]={4    ,14}; 
  */
 -#define NETDEV_NR      1
 -char *NETDEV[]={"ed"};		
+-int HEADSIZE[]={14}; 
 +#define NETDEV_NR      6
-+char *NETDEV[]={"fxp","de","ed","ppp","tun","lo"};		
- int HEADSIZE[]={14}; 
++char *NETDEV[]={"fxp","de","ed","ppp","tun","lo"};
++int HEADSIZE[]={14   ,14  ,14  ,4    ,4    ,4   }; 
  #endif
  
+ #ifdef BSDI				/* ppp: 4 or 0 ? */
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011225071253.001CC36F>