aboutsummaryrefslogtreecommitdiffstats
path: root/security/labrea/files
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-12-19 16:22:45 +0800
committerwill <will@FreeBSD.org>2001-12-19 16:22:45 +0800
commit17c9f294ea2b2aee23ed073d8bd87af4676f9024 (patch)
treedfc37c025d0b02eb8fcc2d07167041df017e8010 /security/labrea/files
parent48e590443755c39e7c3ca243d91407291a954c14 (diff)
downloadfreebsd-ports-graphics-17c9f294ea2b2aee23ed073d8bd87af4676f9024.tar.gz
freebsd-ports-graphics-17c9f294ea2b2aee23ed073d8bd87af4676f9024.tar.zst
freebsd-ports-graphics-17c9f294ea2b2aee23ed073d8bd87af4676f9024.zip
Add labrea 2.3, a defense mechanism against CodeRed.
PR: 31082 Submitted by: nick@rogness.net
Diffstat (limited to 'security/labrea/files')
-rw-r--r--security/labrea/files/patch-Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/security/labrea/files/patch-Makefile b/security/labrea/files/patch-Makefile
new file mode 100644
index 00000000000..33a18e42653
--- /dev/null
+++ b/security/labrea/files/patch-Makefile
@@ -0,0 +1,24 @@
+--- Makefile Tue Oct 2 12:00:00 2001
++++ Makefile.new Wed Dec 19 03:03:27 2001
+@@ -5,12 +5,17 @@
+ #OPTFLAGS = -g
+ CC = gcc
+ CFLAGS = -Wall `libnet-config --defines` $(OPTFLAGS) $(INCLUDES)
+-LDLIBS = `libnet-config --libs` -lpcap
+-INCLUDES = -I/usr/include/pcap
++LOCALBASE=/usr/local
++PREFIX=/usr/local
++LDLIBS = `libnet-config --libs` -L$(LOCALBASE)/lib -lpcap
++INCLUDES = -I$(LOCALBASE)/include
+
+-LaBrea: LaBrea.o
++LaBrea: LaBrea.c
+
+-LaBrea.o: LaBrea.c
++#LaBrea.o: LaBrea.c
+
+ clean:
+ rm -f *.o core LaBrea
++
++install:
++ @install -c -g wheel -o root -m 755 LaBrea $(PREFIX)/bin