summaryrefslogtreecommitdiff
path: root/net/snort/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'net/snort/options.mk')
-rw-r--r--net/snort/options.mk54
1 files changed, 52 insertions, 2 deletions
diff --git a/net/snort/options.mk b/net/snort/options.mk
index af9725dde46..a2a44d3f8eb 100644
--- a/net/snort/options.mk
+++ b/net/snort/options.mk
@@ -1,8 +1,10 @@
-# $NetBSD: options.mk,v 1.3 2007/09/09 19:57:23 adrianp Exp $
+# $NetBSD: options.mk,v 1.4 2007/10/21 00:22:53 adrianp Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.snort
-PKG_SUPPORTED_OPTIONS= debug snort-prelude
+PKG_SUPPORTED_OPTIONS= debug snort-prelude ssl snmp snort-gre
+PKG_SUPPORTED_OPTIONS+= snort-dynamicplugin snort-timestats
+PKG_SUPPORTED_OPTIONS+= snort-rulestate
PKG_SUGGESTED_OPTIONS=
PKG_OPTIONS_OPTIONAL_GROUPS= flex
@@ -14,6 +16,33 @@ PKG_OPTIONS_GROUP.database= mysql pgsql
.include "../../mk/bsd.options.mk"
###
+### Please note that a large number of these options remain un-tested
+### for this package.
+###
+
+###
+### Enable dynamically loadable preprocessors, detection engine
+### and rules libraries.
+###
+.if !empty(PKG_OPTIONS:Msnort-dynamicplugin)
+CONFIGURE_ARGS+= --enable-dynamicplugin
+.endif
+
+###
+### Enable rule state configuration feature
+###
+.if !empty(PKG_OPTIONS:Msnort-rulestate)
+CONFIGURE_ARGS+= --enable-rulestate
+.endif
+
+###
+### Enable real-time performance statistics
+###
+.if !empty(PKG_OPTIONS:Msnort-timestats)
+CONFIGURE_ARGS+= --enable-timestats
+.endif
+
+###
### Enable debug support
###
.if !empty(PKG_OPTIONS:Mdebug)
@@ -21,6 +50,27 @@ CONFIGURE_ARGS+= --enable-debug
.endif
###
+### Support for openssl (used by the XML output plugin)
+###
+.if !empty(PKG_OPTIONS:Mssl)
+CONFIGURE_ARGS+= --with-openssl
+.endif
+
+###
+### Enable GRE decoder
+###
+.if !empty(PKG_OPTIONS:Msnort-gre)
+CONFIGURE_ARGS+= --enable-gre
+.endif
+
+###
+### Enable SNMP alerting code
+###
+.if !empty(PKG_OPTIONS:Msnmp)
+CONFIGURE_ARGS+= --with-snmp
+.endif
+
+###
### Support MySQL for snort logging
###
.if !empty(PKG_OPTIONS:Mmysql)