View | Details | Raw Unified | Return to bug 54473
Collapse All | Expand All

(-)firewalk/Makefile (-15 / +21 lines)
Lines 1-4 Link Here
1
# New ports collection makefile for:  slush
1
# New ports collection makefile for:  firewalk
2
# Date created:		Sun May 3, 1999
2
# Date created:		Sun May 3, 1999
3
# Whom:			shipley@dis.org
3
# Whom:			shipley@dis.org
4
#
4
#
Lines 6-33 Link Here
6
#
6
#
7
7
8
PORTNAME=	firewalk
8
PORTNAME=	firewalk
9
PORTVERSION=	1.0
9
PORTVERSION=	5.0
10
CATEGORIES=	security
10
CATEGORIES=	security
11
MASTER_SITES=	http://www.packetfactory.net/firewalk/dist/
11
MASTER_SITES=	http://www.packetfactory.net/firewalk/dist/
12
EXTRACT_SUFX=	.tgz
12
13
13
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	Yonatan@xpert.com
14
COMMENT=	A network auditing tool
15
COMMENT=	A remote firewall auditing tool
15
16
16
BUILD_DEPENDS=	${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
17
#BUILD_DEPENDS=	${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel \
18
#		${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet
17
19
18
WRKSRC=		${WRKDIR}/Firewalk-${PORTVERSION}
20
WRKSRC=		${WRKDIR}/Firewalk
19
21
20
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
21
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
23
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
22
		LDFLAGS="-L${LOCALBASE}/lib"
24
		LDFLAGS="-L${LOCALBASE}/lib"
23
CONFIGURE_ARGS=	--with-gtk=no
25
MAN8=		firewalk.8
24
26
25
MAN1=		firewalk.1
27
do-install:
28
	${INSTALL_PROGRAM} ${WRKSRC}/src/firewalk ${PREFIX}/bin/
29
	${INSTALL_MAN} ${WRKSRC}/man/firewalk.8 ${MANPREFIX}/man/man8/
30
.	if !defined(NOPORTDOCS)
31
		${MKDIR} ${DOCSDIR}
32
.		for i in README BUGS TODO CHANGES LICENSE
33
			${INSTALL_DATA} ${WRKSRC}/BUGS ${DOCSDIR}
34
			${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
35
			${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
36
.		endfor
37
.	endif
26
38
27
.include <bsd.port.pre.mk>
39
.include <bsd.port.mk>
28
29
.if ${OSVERSION} <= 300000
30
BROKEN=		may not build
31
.endif
32
33
.include <bsd.port.post.mk>
(-)firewalk/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (firewalk-1.0.tar.gz) = dd1d75fe27fcc87f2dc921c4b72ab687
1
MD5 (firewalk-5.0.tgz) = 02412f13218ea052427bbf038a88a026
(-)firewalk/files/patch-aa (-20 lines)
Lines 1-20 Link Here
1
--- Makefile.in.orig	Sun Feb  4 05:24:09 2001
2
+++ Makefile.in	Sat Nov 30 03:20:58 2002
3
@@ -7,13 +7,14 @@
4
 #   @configure_input@
5
 
6
 FIREWALK    =   firewalk
7
-FIREWALK_LOC=   /usr/local
8
+FIREWALK_LOC=   $(PREFIX)
9
 FIREWALK_MAN=   $(FIREWALK).1
10
 INSTALL     =   ./install-sh
11
-DEFINES     +=  @DEFS@ `libnet-config --defines`
12
+LIBNET_CONFIG=	$(PREFIX)/bin/libnet-config
13
+DEFINES     +=  @DEFS@ `$(LIBNET_CONFIG) --defines`
14
 CFLAGS      =   @CFLAGS@
15
 CPPFLAGS    =   @CPPFLAGS@
16
-LIBS        =   -lnet -lpcap @FW_GTK_CONFIG@ `libnet-config --libs`
17
+LIBS        =   @FW_GTK_CONFIG@ `$(LIBNET_CONFIG) --libs` -lpcap @LDFLAGS@
18
 OBJECTS     =   main.o firewalk.o watcher.o p_cap.o signal.o \
19
 		packet.o udptcpwalk.o port_list.o util.o @FW_GTK_OBJS@
20
 
(-)firewalk/pkg-plist (+4 lines)
Line 1 Link Here
1
bin/firewalk
1
bin/firewalk
2
%%PORTDOCS%%share/doc/firewalk/README
3
%%PORTDOCS%%share/doc/firewalk/BUGS
4
%%PORTDOCS%%share/doc/firewalk/TODO
5
%%PORTDOCS%%@dirrm share/doc/firewalk

Return to bug 54473