Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2003 17:00:42 +0000 (GMT)
From:      Yonatan@xpert.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/54473: port update: security/firewalk 1.0 -> 5.0
Message-ID:  <20030714170042.3CB69CB6@110.xpert.com>
Resent-Message-ID: <200307141400.h6EE0als039229@freefall.freebsd.org>

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

>Number:         54473
>Category:       ports
>Synopsis:       port update: security/firewalk 1.0 -> 5.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 14 07:00:31 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Yonatan@xpert.com
>Release:        FreeBSD 4.8-RC i386
>Organization:
>Environment:
System: FreeBSD Temujin 4.8-RC FreeBSD 4.8-RC #1: Sat Apr 12 03:02:22 GMT 2003 root@Temujin:/usr/obj/usr/src/sys/TEMUJIN-G i386
>Description:
	I'll be happy to take maintainership over this one. I removed the 
BROKEN notice on versions older than 3, as this was completely rewritten and
I feel somewhat optimistic today. Please tell me if this is proves wrong.
The patch to change the Makefile is also not required anymore, I hope the
configure is doing the right magic, as I haven't tested it when 
PREFIX!=/usr/local

>How-To-Repeat:
	N/A
>Fix:

--- firewalk.diff begins here ---
diff -urN firewalk.orig/Makefile firewalk/Makefile
--- firewalk.orig/Makefile	Sun Feb 23 11:38:25 2003
+++ firewalk/Makefile	Mon Jul 14 16:46:30 2003
@@ -1,4 +1,4 @@
-# New ports collection makefile for:  slush
+# New ports collection makefile for:  firewalk
 # Date created:		Sun May 3, 1999
 # Whom:			shipley@dis.org
 #
@@ -6,28 +6,34 @@
 #
 
 PORTNAME=	firewalk
-PORTVERSION=	1.0
+PORTVERSION=	5.0
 CATEGORIES=	security
 MASTER_SITES=	http://www.packetfactory.net/firewalk/dist/
+EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A network auditing tool
+MAINTAINER=	Yonatan@xpert.com
+COMMENT=	A remote firewall auditing tool
 
-BUILD_DEPENDS=	${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
+#BUILD_DEPENDS=	${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel \
+#		${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet
 
-WRKSRC=		${WRKDIR}/Firewalk-${PORTVERSION}
+WRKSRC=		${WRKDIR}/Firewalk
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS=	--with-gtk=no
+MAN8=		firewalk.8
 
-MAN1=		firewalk.1
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/src/firewalk ${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/man/firewalk.8 ${MANPREFIX}/man/man8/
+.	if !defined(NOPORTDOCS)
+		${MKDIR} ${DOCSDIR}
+.		for i in README BUGS TODO CHANGES LICENSE
+			${INSTALL_DATA} ${WRKSRC}/BUGS ${DOCSDIR}
+			${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
+			${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.		endfor
+.	endif
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} <= 300000
-BROKEN=		may not build
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN firewalk.orig/distinfo firewalk/distinfo
--- firewalk.orig/distinfo	Fri Jan  4 23:01:38 2002
+++ firewalk/distinfo	Thu Jul 10 16:36:17 2003
@@ -1 +1 @@
-MD5 (firewalk-1.0.tar.gz) = dd1d75fe27fcc87f2dc921c4b72ab687
+MD5 (firewalk-5.0.tgz) = 02412f13218ea052427bbf038a88a026
diff -urN firewalk.orig/files/patch-aa firewalk/files/patch-aa
--- firewalk.orig/files/patch-aa	Mon Dec 23 15:39:04 2002
+++ firewalk/files/patch-aa	Thu Jan  1 00:00:00 1970
@@ -1,20 +0,0 @@
---- Makefile.in.orig	Sun Feb  4 05:24:09 2001
-+++ Makefile.in	Sat Nov 30 03:20:58 2002
-@@ -7,13 +7,14 @@
- #   @configure_input@
- 
- FIREWALK    =   firewalk
--FIREWALK_LOC=   /usr/local
-+FIREWALK_LOC=   $(PREFIX)
- FIREWALK_MAN=   $(FIREWALK).1
- INSTALL     =   ./install-sh
--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@ `libnet-config --libs`
-+LIBS        =   @FW_GTK_CONFIG@ `$(LIBNET_CONFIG) --libs` -lpcap @LDFLAGS@
- 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 firewalk.orig/pkg-plist firewalk/pkg-plist
--- firewalk.orig/pkg-plist	Wed Jun  9 01:25:02 1999
+++ firewalk/pkg-plist	Mon Jul 14 16:10:18 2003
@@ -1 +1,5 @@
 bin/firewalk
+%%PORTDOCS%%share/doc/firewalk/README
+%%PORTDOCS%%share/doc/firewalk/BUGS
+%%PORTDOCS%%share/doc/firewalk/TODO
+%%PORTDOCS%%@dirrm share/doc/firewalk
--- firewalk.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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