diff options
-rw-r--r-- | net/snort/Makefile | 20 | ||||
-rw-r--r-- | net/snort/files/md5 | 4 | ||||
-rw-r--r-- | net/snort/pkg/DEINSTALL | 16 | ||||
-rw-r--r-- | net/snort/pkg/PLIST | 12 |
4 files changed, 44 insertions, 8 deletions
diff --git a/net/snort/Makefile b/net/snort/Makefile index 0578eea3b1b..4cde9f29fac 100644 --- a/net/snort/Makefile +++ b/net/snort/Makefile @@ -1,9 +1,14 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/09/10 15:48:02 rh Exp $ +# $NetBSD: Makefile,v 1.2 2000/01/15 21:58:29 wiz Exp $ # -DISTNAME= snort-1.2.1 +DISTNAME= snort-1.5 CATEGORIES= net security -MASTER_SITES= http://www.clark.net/~roesch/ +MASTER_SITES= http://www.clark.net/~roesch/ \ + ftp://the.wiretapped.net/pub/security/network-intrusion-detection/snort/ \ + http://www.centus.com/snort/ \ + http://snort.whitehats.com/ \ + http://snort.safenetworks.com/ \ + ftp://gd.tuwien.ac.at/infosys/security/snort/ MAINTAINER= rh@netbsd.org HOMEPAGE= http://www.clark.net/~roesch/security.html @@ -11,9 +16,14 @@ HOMEPAGE= http://www.clark.net/~roesch/security.html GNU_CONFIGURE= YES post-install: + ${INSTALL_DATA_DIR} -m 700 -o root -g wheel /var/log/snort + ${INSTALL_DATA_DIR} ${PREFIX}/share/snort +.for f in backdoor-lib misc-lib overflow-lib scan-lib snort-lib web-lib + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/snort +.endfor ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snort -.for file in README NEWS RULES.SAMPLE USAGE - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/snort +.for f in README README.PLUGINS NEWS RULES.SAMPLE USAGE + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/snort .endfor .include "../../mk/bsd.pkg.mk" diff --git a/net/snort/files/md5 b/net/snort/files/md5 index 804c5a3a822..09359b6c0d3 100644 --- a/net/snort/files/md5 +++ b/net/snort/files/md5 @@ -1,3 +1,3 @@ -$NetBSD: md5,v 1.1.1.1 1999/09/10 15:48:02 rh Exp $ +$NetBSD: md5,v 1.2 2000/01/15 21:58:29 wiz Exp $ -MD5 (snort-1.2.1.tar.gz) = 9cc1356c98c7c504a3045df7b6341d3b +MD5 (snort-1.5.tar.gz) = 3272654ca7edbdf195f2532a7047ce7d diff --git a/net/snort/pkg/DEINSTALL b/net/snort/pkg/DEINSTALL new file mode 100644 index 00000000000..76b0225eff0 --- /dev/null +++ b/net/snort/pkg/DEINSTALL @@ -0,0 +1,16 @@ +#! /bin/sh +# +# $NetBSD: DEINSTALL,v 1.1 2000/01/15 21:58:29 wiz Exp $ +# + +case "$2" in + DEINSTALL) cat <<EOF + +======================================================== +If you don't need the logfiles created by snort anymore, +delete the directory /var/log/snort. +======================================================== + +EOF + ;; +esac diff --git a/net/snort/pkg/PLIST b/net/snort/pkg/PLIST index 1a801f3b3a5..e28d1765d44 100644 --- a/net/snort/pkg/PLIST +++ b/net/snort/pkg/PLIST @@ -1,7 +1,17 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 1999/09/10 15:48:02 rh Exp $ +@comment $NetBSD: PLIST,v 1.2 2000/01/15 21:58:29 wiz Exp $ bin/snort +share/snort/backdoor-lib +share/snort/misc-lib +share/snort/overflow-lib +share/snort/scan-lib +share/snort/snort-lib +share/snort/web-lib +@dirrm share/snort share/doc/snort/README +share/doc/snort/README.PLUGINS share/doc/snort/NEWS share/doc/snort/RULES.SAMPLE share/doc/snort/USAGE @dirrm share/doc/snort +@exec install -d -m 700 -o root -g wheel /var/log/snort +@unexec rmdir /var/log/snort 2>/dev/null || true |