Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2000 19:05:19 +0200 (IST)
From:      roman@xpert.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23714: [patch] fix security/firewalk port
Message-ID:  <200012211705.eBLH5JB73858@manowar.xpert.com>
Resent-Message-ID: <200012211710.eBLHA3P78870@freefall.freebsd.org>

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

>Number:         23714
>Category:       ports
>Synopsis:       firewalk ports is broken, attached is the fix.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 21 09:10:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Roman Shterenzon
>Release:        FreeBSD 4.2-MDillon-06 i386
>Organization:
>Environment:


>Description:

Firewalk ports is broken, maintainer doesn't care about it.
I think maintainer should be freebsd-ports instead, since I mailed him many
times and got no reply.

>How-To-Repeat:

cd /usr/ports/security/firewalk ; make build

>Fix:

diff -urN /usr/ports/security/firewalk/Makefile firewalk/Makefile
--- /usr/ports/security/firewalk/Makefile	Fri Jun  2 23:05:10 2000
+++ firewalk/Makefile	Wed Sep 27 02:06:00 2000
@@ -2,14 +2,13 @@
 # Date created:		Sun May 3, 1999
 # Whom:			shipley@dis.org
 #
-# $FreeBSD: ports/security/firewalk/Makefile,v 1.6 2000/06/02 03:18:38 will Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	firewalk
-PORTVERSION=	0.9.9b
+PORTVERSION=	0.99.1
 CATEGORIES=	security
 MASTER_SITES=	http://www.packetfactory.net/firewalk/
-DISTNAME=	firewalk-0.99beta
 
 MAINTAINER=	shipley@dis.org
 
@@ -21,12 +20,12 @@
 CONFIGURE_ENV+=	LDFLAGS="-L${PREFIX}/lib"
 CONFIGURE_ARGS=	--with-gtk=no
 
+WRKSRC=         ${WRKDIR}/Firewalk-${PORTVERSION}
+
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} <= 300000
 BROKEN=		may not build
 .endif
-
-WRKSRC=		${WRKDIR}/Firewalk-0.99b-beta3
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/security/firewalk/files/md5 firewalk/files/md5
--- /usr/ports/security/firewalk/distinfo	Wed Jun  9 04:25:01 1999
+++ firewalk/distinfo	Wed Sep 27 01:49:46 2000
@@ -1 +1 @@
-MD5 (firewalk-0.99beta.tar.gz) = bd2b1cdbbcd6ef78604062c1d10e614b
+MD5 (firewalk-0.99.1.tar.gz) = e222016631ddfd01cba80cab5cd33fc3
diff -urN /usr/ports/security/firewalk/patches/patch-aa firewalk/patches/patch-aa
--- /usr/ports/security/firewalk/files/patch-aa	Sat Feb  5 23:26:56 2000
+++ firewalk/files/patch-aa	Wed Sep 27 02:00:51 2000
@@ -1,5 +1,5 @@
---- Makefile.in.orig	Thu Apr 29 01:16:53 1999
-+++ Makefile.in	Thu Dec 23 20:27:01 1999
+--- Makefile.in.orig	Fri Nov 19 06:20:56 1999
++++ Makefile.in	Wed Sep 27 02:00:42 2000
 @@ -7,13 +7,14 @@
  #   @configure_input@
  
@@ -8,13 +8,14 @@
 +FIREWALK_LOC=   $(PREFIX)
  FIREWALK_MAN=   $(FIREWALK).1
  INSTALL     =   ./install-sh
-+LIBNET_CONFIG = $(PREFIX)/bin/libnet-config
- DEFINES     +=  @DEFS@
+-DEFINES     +=  @DEFS@ `libnet-config --defines`
++LIBNET_CONFIG=	$(PREFIX)/bin/libnet-config
++DEFINES     +=  @DEFS@ `$(LIBNET_CONFIG) --defines`
  CFLAGS      =   @CFLAGS@
 -CPPFLAGS    =   @CPPFLAGS@
--LIBS        =   -lnet -lpcap @FW_GTK_CONFIG@
-+CPPFLAGS    =   `$(LIBNET_CONFIG) --defines` -I$(PREFIX)/include @CPPFLAGS@
-+LIBS        =   -L$(PREFIX)/lib `$(LIBNET_CONFIG) --libs` -lpcap @FW_GTK_CONFIG@
+-LIBS        =   -lnet -lpcap @FW_GTK_CONFIG@ `libnet-config --libs`
++CPPFLAGS    =   -I$(PREFIX)/include @CPPFLAGS@
++LIBS        =   -L$(PREFIX)/lib @FW_GTK_CONFIG@ `$(LIBNET_CONFIG) --libs` -lpcap
  OBJECTS     =   main.o firewalk.o watcher.o p_cap.o signal.o \
  		packet.o udptcpwalk.o port_list.o util.o @FW_GTK_OBJS@
  
diff -urN /usr/ports/security/firewalk/patches/patch-ab firewalk/patches/patch-ab
--- /usr/ports/security/firewalk/files/patch-ab	Thu Jan  1 02:00:00 1970
+++ firewalk/files/patch-ab	Wed Sep 27 02:02:36 2000
@@ -0,0 +1,11 @@
+--- firewalk.h.orig	Wed Sep 27 02:01:59 2000
++++ firewalk.h	Wed Sep 27 02:02:22 2000
+@@ -48,7 +48,7 @@
+ #define RED_CNT_MIN         1
+ #define PCAP_TIMEOUT_MAX    1000
+ #define PCAP_TIMEOUT_MIN    1
+-#define IP_HOP_MAX          25
++#define IP_HOP_MAX          100
+ #define IP_HOP_MIN          1
+ #define XV_MAX              8
+ #define XV_MIN              1

>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?200012211705.eBLH5JB73858>