pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/snort-contrib - Add snort-contrib 2.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed2ba3d50a97
branches:  trunk
changeset: 480953:ed2ba3d50a97
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Wed Sep 22 15:01:35 2004 +0000

description:
- Add snort-contrib 2.2.0
- Package contains the files from the contrib directory of the snort tarball
- ok'ed wiz@
- Suggested by Dave Burgess in PR 18996, thanks Dave !

diffstat:

 net/snort-contrib/DESCR    |  13 +++++++++++
 net/snort-contrib/Makefile |  54 ++++++++++++++++++++++++++++++++++++++++++++++
 net/snort-contrib/PLIST    |  21 +++++++++++++++++
 net/snort-contrib/distinfo |   4 +++
 4 files changed, 92 insertions(+), 0 deletions(-)

diffs (108 lines):

diff -r d4d9c76b32ca -r ed2ba3d50a97 net/snort-contrib/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/snort-contrib/DESCR   Wed Sep 22 15:01:35 2004 +0000
@@ -0,0 +1,13 @@
+  Snort is a libpcap-based packet sniffer/logger which can be used
+as a lightweight network intrusion detection system.  It features
+rules based logging and can perform protocol analysis, content
+searching/matching and can be used to detect a variety of attacks
+and probes, such as buffer overflows, stealth port scans, CGI
+attacks, SMB probes, OS fingerprinting attempts, and much more.
+
+  Snort has a real-time alerting capability, with alerts being sent
+to syslog or a separate "alert" file.   As of version 1.1 it can
+also send WinPopup messages via Samba.
+
+This package contains the files from the contrib directory of the snort
+tarball.
diff -r d4d9c76b32ca -r ed2ba3d50a97 net/snort-contrib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/snort-contrib/Makefile        Wed Sep 22 15:01:35 2004 +0000
@@ -0,0 +1,54 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/09/22 15:01:35 adrianp Exp $
+
+DISTNAME=      snort-2.2.0
+PKGNAME=       ${DISTNAME:S/-/-contrib-/}
+CATEGORIES=    net security
+MASTER_SITES=  http://www.snort.org/dl/ \
+               ftp://the.wiretapped.net/pub/security/network-intrusion-detection/snort/ \
+               ftp://gd.tuwien.ac.at/infosys/security/snort/dl/
+
+MAINTAINER=    adrianp%NetBSD.org@localhost
+HOMEPAGE=      http://www.snort.org/
+COMMENT=       Network Intrusion Detection System (contrib files)
+
+USE_BUILDLINK3=        NO
+NO_CONFIGURE=  YES
+NO_BUILD=      YES
+USE_PERL5=     YES
+
+SNORTDIR=      ${PREFIX}/share/snort
+CONTRIBDIR=    ${WRKSRC}/contrib
+REPLACE_PERL=  contrib/regen-sidmap contrib/snort-sort.pl \
+               contrib/snort2html.pl contrib/snort_stat.pl snortlog
+
+SUBST_CLASSES=         paths
+SUBST_STAGE.paths=     post-patch
+SUBST_FILES.paths=     contrib/address_config.sh contrib/S99snort
+SUBST_SED.paths=       -e "s|/bin/sh|${SH}|g" \
+                       -e "s|/usr/local/bin|${PREFIX}/bin|g" \
+                       -e "s|/bin/bash|${SH}|g" \
+                       -e "s|/usr/local/share/snort/snort.conf|${PKG_SYSCONFDIR}|g" \
+
+do-install:
+       ${INSTALL_DATA_DIR} ${SNORTDIR}
+       ${INSTALL_SCRIPT} ${CONTRIBDIR}/S99snort ${SNORTDIR}
+       ${INSTALL_SCRIPT} ${CONTRIBDIR}/address_config.sh ${SNORTDIR}
+       ${INSTALL_DATA} ${CONTRIBDIR}/ms_unicode_generator.c ${SNORTDIR}
+       ${INSTALL_DATA} ${CONTRIBDIR}/mysql.php3 ${SNORTDIR}
+       ${INSTALL_DATA} ${CONTRIBDIR}/Spade-092200.1.tar.gz ${SNORTDIR}
+       ${INSTALL_DATA} ${CONTRIBDIR}/Guardian.tar.gz ${SNORTDIR}
+       ${INSTALL_DATA} ${CONTRIBDIR}/Net-SnortLog-0.1.tar.gz ${SNORTDIR}
+       ${INSTALL_DATA} ${CONTRIBDIR}/passiveOS.tar.gz ${SNORTDIR}
+       ${INSTALL_DATA} ${CONTRIBDIR}/perfstats.c ${SNORTDIR}
+       ${INSTALL_DATA} ${CONTRIBDIR}/pgsql.php3 ${SNORTDIR}
+       ${INSTALL_SCRIPT} ${CONTRIBDIR}/regen-sidmap ${SNORTDIR}
+       ${INSTALL_SCRIPT} ${CONTRIBDIR}/snort-sort.pl ${SNORTDIR}
+       ${INSTALL_SCRIPT} ${CONTRIBDIR}/snort2html.pl ${SNORTDIR}
+       ${INSTALL_SCRIPT} ${CONTRIBDIR}/snort_stat.pl ${SNORTDIR}
+       ${INSTALL_SCRIPT} ${CONTRIBDIR}/snortlog ${SNORTDIR}
+       ${INSTALL_DATA} ${CONTRIBDIR}/snortdb-extra.gz ${SNORTDIR}
+       ${INSTALL_DATA} ${CONTRIBDIR}/snortnet.tar.gz ${SNORTDIR}
+       ${INSTALL_DATA} ${CONTRIBDIR}/snortpp.c ${SNORTDIR}
+       ${INSTALL_DATA} ${CONTRIBDIR}/snortwatch-0.7.tar.gz ${SNORTDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff -r d4d9c76b32ca -r ed2ba3d50a97 net/snort-contrib/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/snort-contrib/PLIST   Wed Sep 22 15:01:35 2004 +0000
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/09/22 15:01:36 adrianp Exp $
+share/snort/Guardian.tar.gz
+share/snort/Net-SnortLog-0.1.tar.gz
+share/snort/S99snort
+share/snort/Spade-092200.1.tar.gz
+share/snort/address_config.sh
+share/snort/ms_unicode_generator.c
+share/snort/mysql.php3
+share/snort/passiveOS.tar.gz
+share/snort/perfstats.c
+share/snort/pgsql.php3
+share/snort/regen-sidmap
+share/snort/snort-sort.pl
+share/snort/snort2html.pl
+share/snort/snort_stat.pl
+share/snort/snortdb-extra.gz
+share/snort/snortlog
+share/snort/snortnet.tar.gz
+share/snort/snortpp.c
+share/snort/snortwatch-0.7.tar.gz
+@unexec ${RMDIR} %D/share/snort 2>/dev/null || ${TRUE}
diff -r d4d9c76b32ca -r ed2ba3d50a97 net/snort-contrib/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/snort-contrib/distinfo        Wed Sep 22 15:01:35 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/09/22 15:01:36 adrianp Exp $
+
+SHA1 (snort-2.2.0.tar.gz) = 80975f71ac2e6d123b881b60b49e97b96264045d
+Size (snort-2.2.0.tar.gz) = 2498466 bytes



Home | Main Index | Thread Index | Old Index