aboutsummaryrefslogtreecommitdiff
path: root/security/snort
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2019-01-07 19:40:53 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2019-01-07 19:40:53 +0000
commit8b8ed1280fd0f67a28315ef6868ea74d951179ee (patch)
tree3691ebdabbe3b4570f7f4110493f78afc16715f3 /security/snort
parent050bb8464b8c1553069522f3bd2c7a929992e5b0 (diff)
downloadports-8b8ed1280fd0f67a28315ef6868ea74d951179ee.tar.gz
ports-8b8ed1280fd0f67a28315ef6868ea74d951179ee.zip
- Add CONFLICTS for security/snort3
- Pet portlint PR: 234699 Requested by: Vinícius Zavam <egypcio@FreeBSD.org>
Notes
Notes: svn path=/head/; revision=489611
Diffstat (limited to 'security/snort')
-rw-r--r--security/snort/Makefile32
-rw-r--r--security/snort/files/patch-etc__snort.conf4
2 files changed, 19 insertions, 17 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile
index 684e393a8ed3..dfeb95129df9 100644
--- a/security/snort/Makefile
+++ b/security/snort/Makefile
@@ -3,6 +3,7 @@
PORTNAME= snort
PORTVERSION= 2.9.12
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://snort.org/downloads/snort/ \
ZI
@@ -15,13 +16,27 @@ COMMENT= Lightweight network intrusion detection system
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= daq>=2.0.0:net/daq
LIB_DEPENDS= libpcre.so:devel/pcre \
libdnet.so:net/libdnet \
libpcap.so:net/libpcap
-
-BUILD_DEPENDS= daq>=2.0.0:net/daq
RUN_DEPENDS= daq>=2.0.0:net/daq
+USES= cpe libtool pathfix shebangfix ssl
+USE_RC_SUBR= snort
+USE_LDCONFIG= yes
+
+SUB_FILES= pkg-message
+SHEBANG_FILES= tools/appid_detector_builder.sh
+GNU_CONFIGURE= yes
+MAKE_JOBS_UNSAFE= yes
+
+RULES_DIR= ${ETCDIR}/rules
+PREPROC_RULE_DIR= ${ETCDIR}/preproc_rules
+LOGS_DIR= /var/log/snort
+
+CONFLICTS_INSTALL= snort3-3.*
+
OPTIONS_DEFINE= IPV6 GRE HA NORMALIZER DOCS APPID \
PERFPROFILE LRGPCAP SOURCEFIRE NONETHER \
FILEINSPECT
@@ -70,19 +85,6 @@ APPID_CONFIGURE_ENV+= luajit_CFLAGS="-I${LOCALBASE}/include/luajit-2.0" \
.include <bsd.port.options.mk>
-USE_RC_SUBR= snort
-SUB_FILES= pkg-message
-
-USES= cpe libtool pathfix shebangfix ssl
-SHEBANG_FILES= tools/appid_detector_builder.sh
-GNU_CONFIGURE= yes
-USE_LDCONFIG= yes
-MAKE_JOBS_UNSAFE= yes
-
-RULES_DIR= ${ETCDIR}/rules
-PREPROC_RULE_DIR= ${ETCDIR}/preproc_rules
-LOGS_DIR= /var/log/snort
-
CONFIG_FILES= classification.config gen-msg.map reference.config \
snort.conf threshold.conf unicode.map file_magic.conf
diff --git a/security/snort/files/patch-etc__snort.conf b/security/snort/files/patch-etc__snort.conf
index 66a94a5dc7aa..c52fd07b8151 100644
--- a/security/snort/files/patch-etc__snort.conf
+++ b/security/snort/files/patch-etc__snort.conf
@@ -1,5 +1,5 @@
---- ./etc/snort.conf.orig 2010-03-19 20:41:00.000000000 +0100
-+++ ./etc/snort.conf 2010-04-27 22:26:53.000000000 +0200
+--- ./etc/snort.conf.orig 2010-03-19 21:41:00 UTC
++++ ./etc/snort.conf
@@ -57,9 +57,9 @@
# Path to your rules files (this can be a relative path)
# Note for Windows users: You are advised to make this an absolute path,