summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoneum <joneum@FreeBSD.org>2017-08-09 08:15:21 +0000
committerRenato Botelho <garga@FreeBSD.org>2017-08-16 14:18:24 -0300
commite4ed24dfc6ec05068831388b64be12125027481f (patch)
tree1c8d7cac7a23408d57a54d54a864bee72af39e71
parent38669b85d278d78449bad799965f8d7759d3ed0a (diff)
downloadFreeBSD-ports-e4ed24dfc6ec05068831388b64be12125027481f.zip
FreeBSD-ports-e4ed24dfc6ec05068831388b64be12125027481f.tar.gz
- security/suricata: Update from 3.2.3 to 4.0.0
- Changelog: https://suricata-ids.org/2017/07/27/suricata-4-0-released/ PR: 221286 Submitted by: Franco Fichtner <franco@opnsense.org> (maintainer) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D11908 (cherry picked from commit 8b309d8d887149207e531dba02c88375e4025695)
-rw-r--r--security/suricata/Makefile14
-rw-r--r--security/suricata/distinfo6
2 files changed, 7 insertions, 13 deletions
diff --git a/security/suricata/Makefile b/security/suricata/Makefile
index aa4010b..bf7a3cb 100644
--- a/security/suricata/Makefile
+++ b/security/suricata/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= suricata
-PORTVERSION= 3.2.3
+PORTVERSION= 4.0.0
CATEGORIES= security
MASTER_SITES= http://www.openinfosecfoundation.org/download/
@@ -110,8 +110,7 @@ REDIS_CONFIGURE_ON= --enable-hiredis \
--with-libhiredis-libraries=${LOCALBASE}/lib
SC_USES= python
-SC_CONFIGURE_ENV= ac_cv_path_HAVE_PYTHON_CONFIG=yes
-SC_CONFIGURE_ENV_OFF= ac_cv_path_HAVE_PYTHON_CONFIG=no
+SC_CONFIGURE_ENABLE= python
TESTS_CONFIGURE_ENABLE= unittests
@@ -136,8 +135,6 @@ RULES_FILES= app-layer-events.rules decoder-events.rules dns-events.rules files.
tls-events.rules
LOGS_DIR?= /var/log/${PORTNAME}
-.include <bsd.port.pre.mk>
-
pre-patch:
${CP} ${FILESDIR}/ax_check_compile_flag.m4 ${WRKSRC}/m4
@@ -145,19 +142,16 @@ post-install:
${MKDIR} ${STAGEDIR}${CONFIG_DIR}
${MKDIR} ${STAGEDIR}${RULES_DIR}
${MKDIR} ${STAGEDIR}${LOGS_DIR}
-
.for f in ${CONFIG_FILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${CONFIG_DIR}/${f}.sample
.endfor
-
.for f in ${RULES_FILES}
${INSTALL_DATA} ${WRKSRC}/rules/${f} ${STAGEDIR}${RULES_DIR}/${f}
.endfor
-.if ${PORT_OPTIONS:MSC}
+post-install-SC-on:
(cd ${STAGEDIR}${PREFIX} \
&& ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/suricata/distinfo b/security/suricata/distinfo
index 6eff77a..ace9ae8 100644
--- a/security/suricata/distinfo
+++ b/security/suricata/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1499981095
-SHA256 (suricata-3.2.3.tar.gz) = ad800e313ece9b4e4ef11b2bdfe15bd73d3c8e51833bc4466525b8f0d8ac86aa
-SIZE (suricata-3.2.3.tar.gz) = 11760480
+TIMESTAMP = 1501558442
+SHA256 (suricata-4.0.0.tar.gz) = 6b8b183a8409829ca92c71854cc1abed45f04ccfb7f14c08211f4edf571fa577
+SIZE (suricata-4.0.0.tar.gz) = 12252693
OpenPOWER on IntegriCloud