freebsd-ports/net/sniffit/files/patch-01
David E. O'Brien 5bb2f84b01 Use Debian patch which contains some security tweaks (as discussed on
Bugtraq), and updates the GNU autoconf bits to newer versions.
2000-08-27 05:09:38 +00:00

18 lines
629 B
Plaintext

--- Makefile.in.orig Thu Jul 16 09:17:10 1998
+++ Makefile.in Sun Aug 16 23:20:29 1998
@@ -10,10 +10,10 @@
LIBS = @LIBS@
DEFS = @DEFS@
OS_OPT = @OS_OPT@
-OBJ_FLAG = -w -O2 -c
-OBJ_OPT = -I./libpcap -L./libpcap
-EXE_FLAG = -w -O2 -o sniffit
-EXE_OPT = -I./libpcap -L./libpcap -lpcap
+OBJ_FLAG = $(CFLAGS) -w -c
+#OBJ_OPT = -I./libpcap -L./libpcap
+EXE_FLAG = $(CFLAGS) -w -o sniffit
+EXE_OPT = -lpcap
EXE_OBJ = sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o \
sn_logfile.o sn_resolv.o
DEP_FILES = sn_config.h ./libpcap/pcap.h sn_data.h sn_defines.h sn_plugins.h \