diff options
author | agc <agc> | 2001-10-11 14:49:31 +0000 |
---|---|---|
committer | agc <agc> | 2001-10-11 14:49:31 +0000 |
commit | 87bc488743705b68302ed39591799bf79bf96518 (patch) | |
tree | 6d03297d41e600fb14ebdf1c815930ff28c68c05 /net/LaBrea | |
parent | 21776ea943c01c0aefabc7967dc9e2f993eb0eda (diff) | |
download | pkgsrc-87bc488743705b68302ed39591799bf79bf96518.tar.gz |
Initial import of LaBrea-2.0 into the NetBSD Packages Collection.
LaBrea is a program that creates a tarpit or, as some have called it,
a "sticky honeypot". LaBrea takes over unused IP addresses on a
network and creates "virtual machines" that answer to connection
attempts. LaBrea answers those connection attempts in a way that
causes the machine at the other end to get "stuck", sometimes for a
very long time.
Diffstat (limited to 'net/LaBrea')
-rw-r--r-- | net/LaBrea/Makefile | 24 | ||||
-rw-r--r-- | net/LaBrea/distinfo | 5 | ||||
-rw-r--r-- | net/LaBrea/patches/patch-aa | 20 | ||||
-rw-r--r-- | net/LaBrea/pkg/DESCR | 6 | ||||
-rw-r--r-- | net/LaBrea/pkg/PLIST | 2 |
5 files changed, 57 insertions, 0 deletions
diff --git a/net/LaBrea/Makefile b/net/LaBrea/Makefile new file mode 100644 index 00000000000..582e176cc80 --- /dev/null +++ b/net/LaBrea/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/10/11 14:49:31 agc Exp $ +# + +DISTNAME= LaBrea +PKGNAME= LaBrea-2.0 +CATEGORIES= net security +MASTER_SITES= http://hts.dshield.org/LaBrea/ +EXTRACT_SUFX= .tgz + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://hts.dshield.org/LaBrea/ +COMMENT= builds tarpits/honeypots for scanners + +post-extract: + cd ${WRKSRC}; \ + ${MV} LaBrea.c LaBrea.c.in && \ + ${SED} -e 's/.$$//' -e 's|LaBrea.README|${PREFIX}/doc/LaBrea|g' LaBrea.c.in > LaBrea.c + +do-install: + ${BSD_INSTALL_PROGRAM} ${WRKSRC}/LaBrea ${PREFIX}/sbin + ${BSD_INSTALL_DATA} ${WRKSRC}/LaBrea.README ${PREFIX}/doc/LaBrea + +.include "../../devel/libnet/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/LaBrea/distinfo b/net/LaBrea/distinfo new file mode 100644 index 00000000000..3d80577cf9c --- /dev/null +++ b/net/LaBrea/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/10/11 14:49:31 agc Exp $ + +SHA1 (LaBrea.tgz) = 988f183e7623300179c01bbf617d407fc0aa4807 +Size (LaBrea.tgz) = 23860 bytes +SHA1 (patch-aa) = aeb62428e0105d092c4c26cf9af21d171d310bd8 diff --git a/net/LaBrea/patches/patch-aa b/net/LaBrea/patches/patch-aa new file mode 100644 index 00000000000..9ed8a36d8fe --- /dev/null +++ b/net/LaBrea/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/10/11 14:49:31 agc Exp $ + +--- Makefile.orig Thu Sep 13 18:00:00 2001 ++++ Makefile Thu Oct 11 15:28:45 2001 +@@ -1,12 +1,8 @@ + all: LaBrea + +-OPTFLAGS = -g -O6 -funroll-loops -frerun-cse-after-loop -finline-functions \ +--mcpu=i686 -fexpensive-optimizations +-#OPTFLAGS = -g +-CC = gcc +-CFLAGS = -Wall `libnet-config --defines` $(OPTFLAGS) $(INCLUDES) +-LDLIBS = `libnet-config --libs` -lpcap +-INCLUDES = -I/usr/include/pcap ++CFLAGS= -Wall `libnet-config --defines` $(OPTFLAGS) $(INCLUDES) ++LDLIBS= `libnet-config --libs` -lpcap ++INCLUDES= -I${PREFIX}/include + + LaBrea: LaBrea.o + diff --git a/net/LaBrea/pkg/DESCR b/net/LaBrea/pkg/DESCR new file mode 100644 index 00000000000..7bbc4b2e720 --- /dev/null +++ b/net/LaBrea/pkg/DESCR @@ -0,0 +1,6 @@ +LaBrea is a program that creates a tarpit or, as some have called it, +a "sticky honeypot". LaBrea takes over unused IP addresses on a +network and creates "virtual machines" that answer to connection +attempts. LaBrea answers those connection attempts in a way that +causes the machine at the other end to get "stuck", sometimes for a +very long time. diff --git a/net/LaBrea/pkg/PLIST b/net/LaBrea/pkg/PLIST new file mode 100644 index 00000000000..69b7632015a --- /dev/null +++ b/net/LaBrea/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/11 14:49:31 agc Exp $ +sbin/LaBrea |