summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoradrianp <adrianp>2005-08-13 19:38:19 +0000
committeradrianp <adrianp>2005-08-13 19:38:19 +0000
commit5236d0a4cb812ce8667e544a3bc471061f306aab (patch)
tree05fe7dc85d04be1848f8a85b334fe949ebfb50dc /net
parent53aa8a732a755e7c902c92f7543fa67e744c25b3 (diff)
downloadpkgsrc-5236d0a4cb812ce8667e544a3bc471061f306aab.tar.gz
The Community Rulesets contain rules submitted by members of the open source
community. While these rules are available as is, the VRT performs basic tests to ensure that new rules will not break Snort. These rules are distributed under the GPL and are freely available to all open source Snort users.
Diffstat (limited to 'net')
-rw-r--r--net/snort-rules/DESCR4
-rw-r--r--net/snort-rules/Makefile26
-rw-r--r--net/snort-rules/PLIST47
-rw-r--r--net/snort-rules/distinfo5
4 files changed, 82 insertions, 0 deletions
diff --git a/net/snort-rules/DESCR b/net/snort-rules/DESCR
new file mode 100644
index 00000000000..cf8b55853cb
--- /dev/null
+++ b/net/snort-rules/DESCR
@@ -0,0 +1,4 @@
+The Community Rulesets contain rules submitted by members of the open source
+community. While these rules are available as is, the VRT performs basic tests
+to ensure that new rules will not break Snort. These rules are distributed
+under the GPL and are freely available to all open source Snort users.
diff --git a/net/snort-rules/Makefile b/net/snort-rules/Makefile
new file mode 100644
index 00000000000..c64d70d2408
--- /dev/null
+++ b/net/snort-rules/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/08/13 19:38:19 adrianp Exp $
+
+DISTNAME= Community-Rules
+PKGNAME= snort-rules-2.4.0
+CATEGORIES= net security
+MASTER_SITES= http://www.snort.org/pub-bin/downloads.cgi/Download/comm_rules/
+
+MAINTAINER= adrianp@NetBSD.org
+HOMEPAGE= http://www.snort.org/
+COMMENT= Network Intrusion Detection System (Community Rules)
+
+DEPENDS+= snort{,-mysql,-pgsql}>=2.4.0:../../net/snort
+
+NO_BUILD= YES
+NO_CONFIGURE= YES
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/snort/rules
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snort/signatures
+
+ ${INSTALL_DATA} ${WRKDIR}/rules/*.rules ${PREFIX}/share/snort/rules
+ ${INSTALL_DATA} ${WRKDIR}/rules/*.map ${PREFIX}/share/snort/rules
+ ${INSTALL_DATA} ${WRKDIR}/docs/*.txt \
+ ${PREFIX}/share/doc/snort/signatures
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/snort-rules/PLIST b/net/snort-rules/PLIST
new file mode 100644
index 00000000000..39e8d8f20c5
--- /dev/null
+++ b/net/snort-rules/PLIST
@@ -0,0 +1,47 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/08/13 19:38:19 adrianp Exp $
+share/doc/snort/signatures/100000100.txt
+share/doc/snort/signatures/100000101.txt
+share/doc/snort/signatures/100000102.txt
+share/doc/snort/signatures/100000103.txt
+share/doc/snort/signatures/100000104.txt
+share/doc/snort/signatures/100000106.txt
+share/doc/snort/signatures/100000107.txt
+share/doc/snort/signatures/100000108.txt
+share/doc/snort/signatures/100000109.txt
+share/doc/snort/signatures/100000110.txt
+share/doc/snort/signatures/100000111.txt
+share/doc/snort/signatures/100000112.txt
+share/doc/snort/signatures/100000113.txt
+share/doc/snort/signatures/100000114.txt
+share/doc/snort/signatures/100000115.txt
+share/doc/snort/signatures/100000116.txt
+share/doc/snort/signatures/100000117.txt
+share/doc/snort/signatures/100000118.txt
+share/doc/snort/signatures/100000119.txt
+share/doc/snort/signatures/100000121.txt
+share/doc/snort/signatures/100000122.txt
+share/doc/snort/signatures/100000125.txt
+share/doc/snort/signatures/100000126.txt
+share/doc/snort/signatures/100000127.txt
+share/doc/snort/signatures/100000128.txt
+share/doc/snort/signatures/100000129.txt
+share/doc/snort/signatures/100000130.txt
+share/doc/snort/signatures/100000131.txt
+share/doc/snort/signatures/100000132.txt
+share/doc/snort/signatures/100000133.txt
+share/snort/rules/community-exploit.rules
+share/snort/rules/community-ftp.rules
+share/snort/rules/community-game.rules
+share/snort/rules/community-inappropriate.rules
+share/snort/rules/community-mail-client.rules
+share/snort/rules/community-misc.rules
+share/snort/rules/community-sql-injection.rules
+share/snort/rules/community-virus.rules
+share/snort/rules/community-web-cgi.rules
+share/snort/rules/community-web-client.rules
+share/snort/rules/community-web-dos.rules
+share/snort/rules/community-web-misc.rules
+share/snort/rules/sid-msg.map
+@unexec ${RMDIR} %D/share/snort/rules 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/share/snort 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/share/doc/snort/signatures 2>/dev/null || ${TRUE}
diff --git a/net/snort-rules/distinfo b/net/snort-rules/distinfo
new file mode 100644
index 00000000000..4dfdb0b5e3d
--- /dev/null
+++ b/net/snort-rules/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/08/13 19:38:19 adrianp Exp $
+
+SHA1 (Community-Rules.tar.gz) = de02fd44c58529795e0ab59b65aa08a608cffd95
+RMD160 (Community-Rules.tar.gz) = a65b656e4dbf29f1c807622e865e945f509fe0c5
+Size (Community-Rules.tar.gz) = 11678 bytes