Skip to content

Commit

Permalink
security/suricata: bump to 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Aug 1, 2017
1 parent 328c71d commit 67e8ed6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
14 changes: 4 additions & 10 deletions security/suricata/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= suricata
PORTVERSION= 3.2.3
PORTVERSION= 4.0.0
CATEGORIES= security
MASTER_SITES= http://www.openinfosecfoundation.org/download/

Expand Down Expand Up @@ -112,8 +112,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

Expand All @@ -138,28 +137,23 @@ 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

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>
6 changes: 3 additions & 3 deletions security/suricata/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 67e8ed6

Please sign in to comment.