summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoradrianp <adrianp>2004-09-22 15:01:35 +0000
committeradrianp <adrianp>2004-09-22 15:01:35 +0000
commit5b03ba9492f2ed420c7989425853850a0c92edd9 (patch)
tree459a13498f9ef52c45ea13732d240760e646764e /net
parentb14736bdbd554a7b44167506355370739508686c (diff)
downloadpkgsrc-5b03ba9492f2ed420c7989425853850a0c92edd9.tar.gz
- 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 (limited to 'net')
-rw-r--r--net/snort-contrib/DESCR13
-rw-r--r--net/snort-contrib/Makefile54
-rw-r--r--net/snort-contrib/PLIST21
-rw-r--r--net/snort-contrib/distinfo4
4 files changed, 92 insertions, 0 deletions
diff --git a/net/snort-contrib/DESCR b/net/snort-contrib/DESCR
new file mode 100644
index 00000000000..fcbc7ba35e4
--- /dev/null
+++ b/net/snort-contrib/DESCR
@@ -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 --git a/net/snort-contrib/Makefile b/net/snort-contrib/Makefile
new file mode 100644
index 00000000000..2be8f49f5ce
--- /dev/null
+++ b/net/snort-contrib/Makefile
@@ -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
+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 --git a/net/snort-contrib/PLIST b/net/snort-contrib/PLIST
new file mode 100644
index 00000000000..7a8f00f129b
--- /dev/null
+++ b/net/snort-contrib/PLIST
@@ -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 --git a/net/snort-contrib/distinfo b/net/snort-contrib/distinfo
new file mode 100644
index 00000000000..c359d07f65c
--- /dev/null
+++ b/net/snort-contrib/distinfo
@@ -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