summaryrefslogtreecommitdiff
path: root/net/snort-rules/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/snort-rules/Makefile')
-rw-r--r--net/snort-rules/Makefile26
1 files changed, 26 insertions, 0 deletions
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"