From owner-svn-ports-head@freebsd.org Thu Jul 13 16:46:25 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5853DA8687; Thu, 13 Jul 2017 16:46:25 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A2E497F402; Thu, 13 Jul 2017 16:46:25 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6DGkOeO065630; Thu, 13 Jul 2017 16:46:24 GMT (envelope-from garga@FreeBSD.org) Received: (from garga@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6DGkOtv065629; Thu, 13 Jul 2017 16:46:24 GMT (envelope-from garga@FreeBSD.org) Message-Id: <201707131646.v6DGkOtv065629@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: garga set sender to garga@FreeBSD.org using -f From: Renato Botelho Date: Thu, 13 Jul 2017 16:46:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r445663 - head/security/suricata X-SVN-Group: ports-head X-SVN-Commit-Author: garga X-SVN-Commit-Paths: head/security/suricata X-SVN-Commit-Revision: 445663 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2017 16:46:25 -0000 Author: garga Date: Thu Jul 13 16:46:24 2017 New Revision: 445663 URL: https://svnweb.freebsd.org/changeset/ports/445663 Log: Add new REDIS option (off by default) to security/suricata Approved by: Franco Fichtner (maintainer) Obtained from: https://github.com/pfsense/FreeBSD-ports/pull/363 Sponsored by: Rubicon Communications, LLC (Netgate) Differential Revision: https://reviews.freebsd.org/D11139 Modified: head/security/suricata/Makefile Modified: head/security/suricata/Makefile ============================================================================== --- head/security/suricata/Makefile Thu Jul 13 16:45:57 2017 (r445662) +++ head/security/suricata/Makefile Thu Jul 13 16:46:24 2017 (r445663) @@ -27,7 +27,8 @@ CPE_VENDOR= openinfosecfoundation INSTALL_TARGET= install-strip TEST_TARGET= check -OPTIONS_DEFINE= GEOIP HTP_PORT IPFW JSON NETMAP NSS PORTS_PCAP PRELUDE SC TESTS +OPTIONS_DEFINE= GEOIP HTP_PORT IPFW JSON NETMAP NSS PORTS_PCAP PRELUDE \ + REDIS SC TESTS OPTIONS_DEFINE_amd64= HYPERSCAN OPTIONS_DEFAULT= HTP_PORT IPFW JSON NETMAP PRELUDE OPTIONS_SUB= yes @@ -48,6 +49,7 @@ NETMAP_DESC= Netmap support for inline IDP NSS_DESC= File checksums and SSL/TLS fingerprinting PORTS_PCAP_DESC= Use libpcap from ports PRELUDE_DESC= Prelude support for NIDS alerts +REDIS_DESC= Redis output support SC_DESC= Suricata socket client (suricatasc) TESTS_DESC= Unit tests in suricata binary @@ -101,6 +103,11 @@ PRELUDE_LIB_DEPENDS= libprelude.so:security/libprelud libltdl.so:devel/libltdl PRELUDE_CONFIGURE_ENABLE= prelude PRELUDE_CONFIGURE_ON= --with-libprelude-prefix=${LOCALBASE} + +REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis +REDIS_CONFIGURE_ON= --enable-hiredis \ + --with-libhiredis-includes=${LOCALBASE}/include \ + --with-libhiredis-libraries=${LOCALBASE}/lib SC_USES= python SC_CONFIGURE_ENV= ac_cv_path_HAVE_PYTHON_CONFIG=yes