aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-12-23 01:10:31 +0800
committerijliao <ijliao@FreeBSD.org>2002-12-23 01:10:31 +0800
commitdaa69de825133d0dcedf52467823f187df81bd08 (patch)
tree9c4d83a10a8ed4f4fe48e6e37078c0909afab031 /security
parent54f2c4799b7d29ea7e7cace771f65320c516a367 (diff)
downloadfreebsd-ports-gnome-daa69de825133d0dcedf52467823f187df81bd08.tar.gz
freebsd-ports-gnome-daa69de825133d0dcedf52467823f187df81bd08.tar.zst
freebsd-ports-gnome-daa69de825133d0dcedf52467823f187df81bd08.zip
- Fix MASTER_SITES
- Support LOCALBASE properly PR: 45862 Submitted by: Ports Fury
Diffstat (limited to 'security')
-rw-r--r--security/firewalk/Makefile9
-rw-r--r--security/firewalk/files/patch-aa10
2 files changed, 10 insertions, 9 deletions
diff --git a/security/firewalk/Makefile b/security/firewalk/Makefile
index a5543a6511f5..ea11eb7ceda9 100644
--- a/security/firewalk/Makefile
+++ b/security/firewalk/Makefile
@@ -8,19 +8,20 @@
PORTNAME= firewalk
PORTVERSION= 1.0
CATEGORIES= security
-MASTER_SITES= http://www.packetfactory.net/firewalk/
+MASTER_SITES= http://www.packetfactory.net/firewalk/dist/
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
-MAN1= firewalk.1
+WRKSRC= ${WRKDIR}/Firewalk-${PORTVERSION}
GNU_CONFIGURE= yes
-CONFIGURE_ENV+= LDFLAGS="-L${PREFIX}/lib"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-gtk=no
-WRKSRC= ${WRKDIR}/Firewalk-${PORTVERSION}
+MAN1= firewalk.1
.include <bsd.port.pre.mk>
diff --git a/security/firewalk/files/patch-aa b/security/firewalk/files/patch-aa
index 84ed11b2eead..ec72ada12dc4 100644
--- a/security/firewalk/files/patch-aa
+++ b/security/firewalk/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.in.orig Fri Nov 19 06:20:56 1999
-+++ Makefile.in Wed Sep 27 02:00:42 2000
+--- 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@
@@ -12,9 +12,9 @@
+LIBNET_CONFIG= $(PREFIX)/bin/libnet-config
+DEFINES += @DEFS@ `$(LIBNET_CONFIG) --defines`
CFLAGS = @CFLAGS@
--CPPFLAGS = @CPPFLAGS@
+ CPPFLAGS = @CPPFLAGS@
-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
++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@
+