aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-03-04 21:33:25 +0800
committermat <mat@FreeBSD.org>2017-03-04 21:33:25 +0800
commitfcc4e938b3a6c0c6161436ad1105995e8be8043f (patch)
tree02a2d7cbf23b6fe000048a73882b42e3c4387a2e
parent815f9c421862d8e29bbd5b67be8af66bfc3c86d0 (diff)
downloadfreebsd-ports-gnome-fcc4e938b3a6c0c6161436ad1105995e8be8043f.tar.gz
freebsd-ports-gnome-fcc4e938b3a6c0c6161436ad1105995e8be8043f.tar.zst
freebsd-ports-gnome-fcc4e938b3a6c0c6161436ad1105995e8be8043f.zip
Update to 3.2.1.
Pass maintainership to submitter. PR: 217143 Submitted by: Franco Fichtner Approved by: maintainer timeout Sponsored by: Absolight
-rw-r--r--security/suricata/Makefile14
-rw-r--r--security/suricata/distinfo6
-rw-r--r--security/suricata/files/patch-configure.ac4
-rw-r--r--security/suricata/pkg-plist5
4 files changed, 20 insertions, 9 deletions
diff --git a/security/suricata/Makefile b/security/suricata/Makefile
index 43348eb693a9..40091520708b 100644
--- a/security/suricata/Makefile
+++ b/security/suricata/Makefile
@@ -2,11 +2,11 @@
# $FreeBSD$
PORTNAME= suricata
-PORTVERSION= 3.1.2
+PORTVERSION= 3.2.1
CATEGORIES= security
MASTER_SITES= http://www.openinfosecfoundation.org/download/
-MAINTAINER= koobs@FreeBSD.org
+MAINTAINER= franco@opnsense.org
COMMENT= High Performance Network IDS, IPS and Security Monitoring engine
LICENSE= GPLv2
@@ -14,6 +14,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpcre.so:devel/pcre \
libnet.so:net/libnet \
+ libgnutls.so:security/gnutls \
+ libgcrypt.so:security/libgcrypt \
+ libgpg-error.so:security/libgpg-error \
+ libltdl.so:devel/libltdl \
libyaml.so:textproc/libyaml
USES= autoreconf cpe gmake libtool pathfix pkgconfig
@@ -28,6 +32,7 @@ INSTALL_TARGET= install-strip
TEST_TARGET= check
OPTIONS_DEFINE= GEOIP HTP_PORT IPFW JSON NETMAP NSS PORTS_PCAP PRELUDE SC TESTS
+OPTIONS_DEFINE_amd64= HYPERSCAN
OPTIONS_DEFAULT= HTP_PORT IPFW JSON NETMAP PRELUDE
OPTIONS_SUB= yes
@@ -37,6 +42,7 @@ OPTIONS_RADIO_SCRIPTS= LUA LUAJIT
SCRIPTS_DESC= Scripting
GEOIP_DESC= GeoIP support
+HYPERSCAN_DESC= Hyperscan support
HTP_PORT_DESC= Use libhtp from ports
IPFW_DESC= IPFW and IP Divert support for inline IDP
JSON_DESC= JSON output support
@@ -59,6 +65,10 @@ HTP_PORT_CONFIGURE_OFF= --enable-bundled-htp
HTP_PORT_CONFLICTS_INSTALL_OFF= libhtp-[0-9]* libhtp-suricata
HTP_PORT_USES_OFF= iconv:translit
+HYPERSCAN_LIB_DEPENDS= libhs.so:devel/hyperscan
+HYPERSCAN_CONFIGURE_ON= --with-libhs-includes=${LOCALBASE}/include \
+ --with-libhs-libraries=${LOCALBASE}/lib
+
IPFW_CONFIGURE_ON= --enable-ipfw
JSON_LIB_DEPENDS= libjansson.so:devel/jansson
diff --git a/security/suricata/distinfo b/security/suricata/distinfo
index a1aaab9fce4b..638156e01afe 100644
--- a/security/suricata/distinfo
+++ b/security/suricata/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1474254433
-SHA256 (suricata-3.1.2.tar.gz) = f9e7742580849f202254e75d9fc245ba53f4d7490f47a6d30f02a7b10aacc512
-SIZE (suricata-3.1.2.tar.gz) = 3338099
+TIMESTAMP = 1487168316
+SHA256 (suricata-3.2.1.tar.gz) = 0e0b0cf49016804bb2fb1fc4327341617e76a67902f4e03e0ef6d16c1d7d3994
+SIZE (suricata-3.2.1.tar.gz) = 11754332
diff --git a/security/suricata/files/patch-configure.ac b/security/suricata/files/patch-configure.ac
index 287f2905f5dc..6469c5417da0 100644
--- a/security/suricata/files/patch-configure.ac
+++ b/security/suricata/files/patch-configure.ac
@@ -1,6 +1,6 @@
---- configure.ac.orig 2015-12-08 13:09:16 UTC
+--- configure.ac.orig 2017-02-15 07:54:17 UTC
+++ configure.ac
-@@ -853,8 +853,10 @@
+@@ -935,8 +935,10 @@
AS_HELP_STRING([--enable-prelude], [Enable Prelude support for alerts]),,[enable_prelude=no])
# Prelude doesn't work with -Werror
STORECFLAGS="${CFLAGS}"
diff --git a/security/suricata/pkg-plist b/security/suricata/pkg-plist
index b119dc2ef418..cc373f1f0412 100644
--- a/security/suricata/pkg-plist
+++ b/security/suricata/pkg-plist
@@ -1,4 +1,5 @@
bin/suricata
+man/man1/suricata.1.gz
%%SC%%bin/suricatasc
%%DOCSDIR%%/AUTHORS
%%DOCSDIR%%/Basic_Setup.txt
@@ -45,8 +46,8 @@ bin/suricata
%%NO_HTP_PORT%%include/htp/htp_urlencoded.h
%%NO_HTP_PORT%%include/htp/htp_utf8_decoder.h
%%NO_HTP_PORT%%include/htp/htp_version.h
-%%NO_HTP_PORT%%lib/libhtp-0.5.22.so.1
-%%NO_HTP_PORT%%lib/libhtp-0.5.22.so.1.0.0
+%%NO_HTP_PORT%%lib/libhtp-0.5.23.so.1
+%%NO_HTP_PORT%%lib/libhtp-0.5.23.so.1.0.0
%%NO_HTP_PORT%%lib/libhtp.a
%%NO_HTP_PORT%%lib/libhtp.so
%%NO_HTP_PORT%%libdata/pkgconfig/htp.pc