1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/security/siphon/files/patch-ab
Kris Kennaway d678b0a73e Siphon-0.666 is a passive OS fingerprinter, which sniffs TCP connections
and uses characteristics of the TCP stream to guess the OS running on
the endpoints.
2000-05-06 22:51:31 +00:00

22 lines
562 B
Plaintext

--- Makefile.orig Thu May 4 11:10:24 2000
+++ Makefile Sat May 6 15:37:22 2000
@@ -1,6 +1,7 @@
-CC = gcc
+CC ?= gcc
CCFLAGS = -Wall -pthread -ggdb
-CFLAGS = -Wall -O2 -pthread -ggdb -I.
+CFLAGS ?= -O
+CFLAGS += -Wall -pthread -I. -DOSPRINTSCONF=\"${PREFIX}/share/siphon/osprints.conf\"
LIBS = -lpcap
OBJS = parse.o sniff.o main.o log.o
SRCS = ${OBJS:.o=.c}
@@ -9,7 +10,7 @@
all: $(TARGET)
$(TARGET): $(OBJS)
- $(CC) $(CCFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
+ $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
clean:
rm -f $(OBJS) *~ *.core core siphon