diff --git a/security/sentinel/Makefile b/security/sentinel/Makefile new file mode 100644 index 00000000000..8c3cc19cc47 --- /dev/null +++ b/security/sentinel/Makefile @@ -0,0 +1,30 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2001/06/11 14:43:57 lebel Exp $ + +COMMENT= "remote promiscous mode detection tool" + +DISTNAME= sentinel-0.8 +CATEGORIES= security net +NEED_VERSION= 1.414 + +HOMEPAGE= http://www.packetfactory.net/Projects/sentinel/ + +MAINTAINER= Jason Peel + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://www.packetfactory.net/Projects/sentinel/ \ + http://packetstorm.securify.com/UNIX/IDS/sentinel/ + +LIB_DEPENDS= net::net/libnet + +CONFIGURE_STYLE= gnu + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sentinel + ${INSTALL_DATA} ${WRKSRC}/Changelog ${PREFIX}/share/doc/sentinel + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sentinel + +.include diff --git a/security/sentinel/files/md5 b/security/sentinel/files/md5 new file mode 100644 index 00000000000..1f3e5b1fc9d --- /dev/null +++ b/security/sentinel/files/md5 @@ -0,0 +1,3 @@ +MD5 (sentinel-0.8.tar.gz) = a924a702a1c2ee4378ddd8ccfa9bb211 +RMD160 (sentinel-0.8.tar.gz) = 6830c4fbc6a859c332219170217ac640f7ba79e9 +SHA1 (sentinel-0.8.tar.gz) = 501a65ad6dfb557e54e811193acb0eadfbbbff5c diff --git a/security/sentinel/patches/patch-Makefile_in b/security/sentinel/patches/patch-Makefile_in new file mode 100644 index 00000000000..13750a3533b --- /dev/null +++ b/security/sentinel/patches/patch-Makefile_in @@ -0,0 +1,29 @@ +$OpenBSD: patch-Makefile_in,v 1.1.1.1 2001/06/11 14:43:57 lebel Exp $ +--- Makefile.in.orig Sat Apr 22 03:12:30 2000 ++++ Makefile.in Mon Jun 11 10:57:57 2001 +@@ -1,7 +1,6 @@ + # $Id: patch-Makefile_in,v 1.1.1.1 2001/06/11 14:43:57 lebel Exp $ + + srcdir= . +-prefix= /usr/local + + CC=@CC@ + CFLAGS=@CFLAGS@ +@@ -11,7 +10,7 @@ INCLUDE= -I/usr/local/include + DEFINES += `libnet-config --defines` #-DDEBUG + INSTALL=./install-sh + +-prefix=/usr/local ++prefix=@prefix@ + + .c.o: + $(CC) $(CFLAGS) $(INCLUDE) $(DEFINES) -c $< -o $@ +@@ -23,7 +22,7 @@ sentinel: $(OBJS) + strip sentinel + + install: +- $(INSTALL) -c -m 0755 sentinel $(prefix)/sbin ++ $(INSTALL) -c -m 0755 sentinel $(DESTDIR)$(prefix)/sbin + + clean: + rm -f core *.core *.o $(OBJS) sentinel diff --git a/security/sentinel/pkg/DESCR b/security/sentinel/pkg/DESCR new file mode 100644 index 00000000000..ee2c296ba70 --- /dev/null +++ b/security/sentinel/pkg/DESCR @@ -0,0 +1,8 @@ +The Sentinel project is designed to be a portable, accurate +implementation of all publicly known promiscuous detection +techniques. + +These include: + DNS Test - Etherping Test - ARP Test - ICMP Ping Latency Test + +WWW: ${HOMEPAGE} diff --git a/security/sentinel/pkg/PLIST b/security/sentinel/pkg/PLIST new file mode 100644 index 00000000000..01bd20ee004 --- /dev/null +++ b/security/sentinel/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2001/06/11 14:43:57 lebel Exp $ +sbin/sentinel +share/doc/sentinel/Changelog +share/doc/sentinel/README +@dirrm share/doc/sentinel