Fri May 10 19:46:54 2024 UTC (37d)
snort: Remove snort-prelude option.

This cannot have worked for nearly 2 years since prelude was deleted.


(jperkin)
diff -r1.10 -r1.11 pkgsrc/net/snort/options.mk

cvs diff -r1.10 -r1.11 pkgsrc/net/snort/options.mk (switch to unified diff)

--- pkgsrc/net/snort/options.mk 2020/10/01 19:45:02 1.10
+++ pkgsrc/net/snort/options.mk 2024/05/10 19:46:53 1.11
@@ -1,106 +1,98 @@ @@ -1,106 +1,98 @@
1# $NetBSD: options.mk,v 1.10 2020/10/01 19:45:02 nils Exp $ 1# $NetBSD: options.mk,v 1.11 2024/05/10 19:46:53 jperkin Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.snort 3PKG_OPTIONS_VAR= PKG_OPTIONS.snort
4 4
5PKG_SUPPORTED_OPTIONS= debug snort-prelude ssl snmp snort-gre 5PKG_SUPPORTED_OPTIONS= debug ssl snmp snort-gre
6PKG_SUPPORTED_OPTIONS+= snort-dynamicplugin snort-timestats 6PKG_SUPPORTED_OPTIONS+= snort-dynamicplugin snort-timestats
7PKG_SUPPORTED_OPTIONS+= snort-rulestate 7PKG_SUPPORTED_OPTIONS+= snort-rulestate
8 8
9 9
10PKG_OPTIONS_OPTIONAL_GROUPS= flex 10PKG_OPTIONS_OPTIONAL_GROUPS= flex
11PKG_OPTIONS_GROUP.flex= snort-flexresp snort-flexresp2 11PKG_OPTIONS_GROUP.flex= snort-flexresp snort-flexresp2
12 12
13.include "../../mk/bsd.options.mk" 13.include "../../mk/bsd.options.mk"
14 14
15### 15###
16### Please note that a large number of these options remain un-tested 16### Please note that a large number of these options remain un-tested
17### for this package. 17### for this package.
18### 18###
19 19
20### 20###
21### Enable dynamically loadable preprocessors, detection engine 21### Enable dynamically loadable preprocessors, detection engine
22### and rules libraries. 22### and rules libraries.
23### 23###
24.if !empty(PKG_OPTIONS:Msnort-dynamicplugin) 24.if !empty(PKG_OPTIONS:Msnort-dynamicplugin)
25CONFIGURE_ARGS+= --enable-dynamicplugin 25CONFIGURE_ARGS+= --enable-dynamicplugin
26.endif 26.endif
27 27
28### 28###
29### Enable rule state configuration feature 29### Enable rule state configuration feature
30### 30###
31.if !empty(PKG_OPTIONS:Msnort-rulestate) 31.if !empty(PKG_OPTIONS:Msnort-rulestate)
32CONFIGURE_ARGS+= --enable-rulestate 32CONFIGURE_ARGS+= --enable-rulestate
33.endif 33.endif
34 34
35### 35###
36### Enable real-time performance statistics 36### Enable real-time performance statistics
37### 37###
38.if !empty(PKG_OPTIONS:Msnort-timestats) 38.if !empty(PKG_OPTIONS:Msnort-timestats)
39CONFIGURE_ARGS+= --enable-timestats 39CONFIGURE_ARGS+= --enable-timestats
40.endif 40.endif
41 41
42### 42###
43### Enable debug support 43### Enable debug support
44### 44###
45.if !empty(PKG_OPTIONS:Mdebug) 45.if !empty(PKG_OPTIONS:Mdebug)
46CONFIGURE_ARGS+= --enable-debug 46CONFIGURE_ARGS+= --enable-debug
47.endif 47.endif
48 48
49### 49###
50### Support for openssl (used by the XML output plugin) 50### Support for openssl (used by the XML output plugin)
51### 51###
52.if !empty(PKG_OPTIONS:Mssl) 52.if !empty(PKG_OPTIONS:Mssl)
53CONFIGURE_ARGS+= --with-openssl 53CONFIGURE_ARGS+= --with-openssl
54.endif 54.endif
55 55
56### 56###
57### Enable GRE decoder 57### Enable GRE decoder
58### 58###
59.if !empty(PKG_OPTIONS:Msnort-gre) 59.if !empty(PKG_OPTIONS:Msnort-gre)
60CONFIGURE_ARGS+= --enable-gre 60CONFIGURE_ARGS+= --enable-gre
61.endif 61.endif
62 62
63### 63###
64### Enable SNMP alerting code 64### Enable SNMP alerting code
65### 65###
66.if !empty(PKG_OPTIONS:Msnmp) 66.if !empty(PKG_OPTIONS:Msnmp)
67CONFIGURE_ARGS+= --with-snmp 67CONFIGURE_ARGS+= --with-snmp
68.endif 68.endif
69 69
70### 70###
71### Enable Prelude support (untested) 
72### 
73.if !empty(PKG_OPTIONS:Msnort-prelude) 
74.include "../../security/libprelude/buildlink3.mk" 
75CONFIGURE_ARGS+= --enable-prelude 
76.endif 
77 
78### 
79### Flexible Responses on hostile connection attempts (untested) 71### Flexible Responses on hostile connection attempts (untested)
80### 72###
81.if !empty(PKG_OPTIONS:Msnort-flexresp) 73.if !empty(PKG_OPTIONS:Msnort-flexresp)
82.include "../../devel/libnet10/buildlink3.mk" 74.include "../../devel/libnet10/buildlink3.mk"
83CONFIGURE_ARGS+= --enable-flexresp 75CONFIGURE_ARGS+= --enable-flexresp
84CONFIGURE_ARGS+= --with-libnet-includes=${BUILDLINK_PREFIX.libnet10}/include/libnet10 76CONFIGURE_ARGS+= --with-libnet-includes=${BUILDLINK_PREFIX.libnet10}/include/libnet10
85CONFIGURE_ARGS+= --with-libnet-libraries=${BUILDLINK_PREFIX.libnet10}/lib/libnet10 77CONFIGURE_ARGS+= --with-libnet-libraries=${BUILDLINK_PREFIX.libnet10}/lib/libnet10
86SUBST_CLASSES+= conf 78SUBST_CLASSES+= conf
87SUBST_STAGE.conf= pre-configure 79SUBST_STAGE.conf= pre-configure
88SUBST_FILES.conf= configure 80SUBST_FILES.conf= configure
89SUBST_SED.conf= -e "s|libnet-config|libnet10-config|g" 81SUBST_SED.conf= -e "s|libnet-config|libnet10-config|g"
90SUBST_MESSAGE.conf= Fixing configuration script. 82SUBST_MESSAGE.conf= Fixing configuration script.
91.endif 83.endif
92 84
93### 85###
94### NEW Flexible Responses on hostile connection attempts (untested) 86### NEW Flexible Responses on hostile connection attempts (untested)
95### 87###
96.if !empty(PKG_OPTIONS:Msnort-flexresp2) 88.if !empty(PKG_OPTIONS:Msnort-flexresp2)
97.include "../../devel/libnet11/buildlink3.mk" 89.include "../../devel/libnet11/buildlink3.mk"
98CONFIGURE_ARGS+= --with-libnet-includes=${BUILDLINK_PREFIX.libnet11}/include/libnet11 90CONFIGURE_ARGS+= --with-libnet-includes=${BUILDLINK_PREFIX.libnet11}/include/libnet11
99CONFIGURE_ARGS+= --with-libnet-libraries=${BUILDLINK_PREFIX.libnet11}/lib/libnet11 91CONFIGURE_ARGS+= --with-libnet-libraries=${BUILDLINK_PREFIX.libnet11}/lib/libnet11
100CONFIGURE_ARGS+= --enable-flexresp2 92CONFIGURE_ARGS+= --enable-flexresp2
101SUBST_CLASSES+= conf 93SUBST_CLASSES+= conf
102SUBST_STAGE.conf= pre-configure 94SUBST_STAGE.conf= pre-configure
103SUBST_FILES.conf= configure 95SUBST_FILES.conf= configure
104SUBST_SED.conf= -e "s|libnet-config|libnet11-config|g" 96SUBST_SED.conf= -e "s|libnet-config|libnet11-config|g"
105SUBST_MESSAGE.conf= Fixing configuration script. 97SUBST_MESSAGE.conf= Fixing configuration script.
106.endif 98.endif