1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/security/pktsuckers/files/patch-aa
Michael Haro 06f90cb3cb Log the contents of unwanted tcp and udp connections.
PR:		11973
Submitted by:	Warren Toomey
1999-06-01 20:29:14 +00:00

27 lines
631 B
Plaintext

--- Makefile.orig Mon May 31 20:32:49 1999
+++ Makefile Tue Jun 1 13:17:49 1999
@@ -3,8 +3,8 @@
# $Date: 1999/06/01 03:32:48 $
#
-DESTDIR= /usr/local/libexec
-CFLAGS= -Wall
+DESTDIR= ${PREFIX}/libexec
+CFLAGS?= -Wall
LDFLAGS= -static
all: tcpsuck udpsuck
@@ -16,10 +16,10 @@
@echo ''
tcpsuck: tcpsuck.o dump_pkt.o
- cc -o tcpsuck $(LDFLAGS) tcpsuck.o dump_pkt.o
+ ${CC} ${CFLAGS} -o tcpsuck $(LDFLAGS) tcpsuck.o dump_pkt.o
udpsuck: udpsuck.o dump_pkt.o
- cc -o udpsuck $(LDFLAGS) udpsuck.o dump_pkt.o
+ ${CC} ${CFLAGS} -o udpsuck $(LDFLAGS) udpsuck.o dump_pkt.o
clean:
rm -f *.o *.BAK *.core tcpsuck udpsuck