From 03a378a97a895bb274f0e906abd536ee6a76dd18 Mon Sep 17 00:00:00 2001 From: dugsong Date: Fri, 17 Dec 1999 04:24:08 +0000 Subject: [PATCH] fix permissions on binary, install in /sbin, more libnet cleanup --- net/firewalk/patches/patch-aa | 11 ++++++++++- net/firewalk/patches/patch-ah | 10 ++++++++++ net/firewalk/pkg/PLIST | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 net/firewalk/patches/patch-ah diff --git a/net/firewalk/patches/patch-aa b/net/firewalk/patches/patch-aa index 49829836c8a..8a862c0223f 100644 --- a/net/firewalk/patches/patch-aa +++ b/net/firewalk/patches/patch-aa @@ -1,5 +1,5 @@ --- Makefile.in.orig Tue Dec 15 18:58:01 1998 -+++ Makefile.in Mon Oct 18 09:39:48 1999 ++++ Makefile.in Thu Dec 16 23:10:08 1999 @@ -11,14 +11,14 @@ DEFINES += #-D__DEBUG @@ -19,3 +19,12 @@ OBJECTS = main.o firewalk.o ifaddrlist.o listener.o p_cap.o signal.o \ packet.o udptcpwalk.o port_list.o .c.o: +@@ -36,7 +36,7 @@ + @(cd ..; tar cvf $(FIREWALK)-$(VER).tar Firewalk/) + + install: firewalk +- $(INSTALL) -c -m 0700 $(FIREWALK) $(FIREWALK_LOC)/bin ++ $(INSTALL) -c -m 0755 $(FIREWALK) $(FIREWALK_LOC)/sbin + $(INSTALL) -c -m 0644 $(FIREWALK_MAN) $(FIREWALK_LOC)/man/man1 + + clean: diff --git a/net/firewalk/patches/patch-ah b/net/firewalk/patches/patch-ah new file mode 100644 index 00000000000..f234999909c --- /dev/null +++ b/net/firewalk/patches/patch-ah @@ -0,0 +1,10 @@ +--- p_cap.h.orig Thu Dec 16 23:11:37 1999 ++++ p_cap.h Thu Dec 16 23:12:19 1999 +@@ -36,7 +36,6 @@ + #include "./firewalk.h" + + #define DEVICE_SIZE 0xa +-#define ETH_H 0xe + + /* + * An ethernet header, IP header, TCP header. diff --git a/net/firewalk/pkg/PLIST b/net/firewalk/pkg/PLIST index 16520d4cd08..42ff6c02e12 100644 --- a/net/firewalk/pkg/PLIST +++ b/net/firewalk/pkg/PLIST @@ -1,2 +1,2 @@ -bin/firewalk +sbin/firewalk man/man1/firewalk.1