diff options
Diffstat (limited to 'net/ipaudit/files')
-rw-r--r-- | net/ipaudit/files/patch-Makefile | 15 | ||||
-rw-r--r-- | net/ipaudit/files/patch-src::Makefile | 50 | ||||
-rw-r--r-- | net/ipaudit/files/patch-src::hash.h | 11 |
3 files changed, 76 insertions, 0 deletions
diff --git a/net/ipaudit/files/patch-Makefile b/net/ipaudit/files/patch-Makefile new file mode 100644 index 000000000000..3e4aa81735ce --- /dev/null +++ b/net/ipaudit/files/patch-Makefile @@ -0,0 +1,15 @@ +--- Makefile.orig Wed Oct 18 01:38:27 2000 ++++ Makefile Tue Jul 15 18:20:49 2003 +@@ -8,10 +8,10 @@ + BIN=ipaudit ipstrings total pdate + + MAKE=make +-CIDIR=-I/usr/include/pcap ++#CIDIR=-I/usr/include/pcap + + all: +- $(MAKE) -C src all ++ cd src && $(MAKE) all + + clean: + $(MAKE) -C src clean diff --git a/net/ipaudit/files/patch-src::Makefile b/net/ipaudit/files/patch-src::Makefile new file mode 100644 index 000000000000..7024a9dec573 --- /dev/null +++ b/net/ipaudit/files/patch-src::Makefile @@ -0,0 +1,50 @@ +--- src/Makefile.orig Mon Jan 8 05:56:59 2001 ++++ src/Makefile Tue Jul 15 18:19:58 2003 +@@ -1,36 +1,36 @@ +-CIDIR=-I/usr/include/pcap ++#CIDIR=-I/usr/include/pcap + + #LIB=../../libpcap-0.5/libpcap.a + LIB=-lpcap + +-all: ipaudit total ipstrings beta-dir ++all: ipaudit total ipstrings + + ipaudit: ipaudit.o hash.o +- $(CC) -o ipaudit ipaudit.o hash.o $(LIB) ++ $(CC) $(CFLAGS) -o ipaudit ipaudit.o hash.o $(LIB) + + total: total.o hash.o +- $(CC) -o total total.o hash.o -lm ++ $(CC) $(CFLAGS) -o total total.o hash.o -lm + + ipstrings: ipstrings.o +- $(CC) -o ipstrings ipstrings.o $(LIB) ++ $(CC) $(CFLAGS) -o ipstrings ipstrings.o $(LIB) + + ipaudit.o: ipaudit.c hash.h +- $(CC) -c ipaudit.c $(CIDIR) $(DFLAGS) ++ $(CC) $(CFLAGS) -c ipaudit.c $(CIDIR) $(DFLAGS) + + hash.o: hash.c hash.h +- $(CC) -c hash.c ++ $(CC) $(CFLAGS) -c hash.c + + total.o: total.c hash.c hash.h +- $(CC) -c total.c ++ $(CC) $(CFLAGS) -c total.c + + ipstrings.o: ipstrings.c +- $(CC) -c ipstrings.c $(CIDIR) $(DFLAGS) ++ $(CC) $(CFLAGS) -c ipstrings.c $(CIDIR) $(DFLAGS) + + iprange: iprange.c + $(CC) -g -o iprange iprange.c + +-beta-dir: +- $(MAKE) -C beta ++#beta-dir: ++# $(MAKE) -C beta + + clean: + rm -f *.o diff --git a/net/ipaudit/files/patch-src::hash.h b/net/ipaudit/files/patch-src::hash.h new file mode 100644 index 000000000000..ed2cf54dd670 --- /dev/null +++ b/net/ipaudit/files/patch-src::hash.h @@ -0,0 +1,11 @@ +--- src/hash.h.orig Tue Jul 15 16:53:16 2003 ++++ src/hash.h Tue Jul 15 16:53:49 2003 +@@ -1,6 +1,8 @@ + #ifndef _HASH_H + #define _HASH_H + ++#include <sys/types.h> ++ + /* + ------------------------------------------------------------------------ + Type Definitions |