aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2018-12-13 00:03:30 +0800
committerdes <des@FreeBSD.org>2018-12-13 00:03:30 +0800
commit996fc04ba6c649996159bda8e0fb423468b4639b (patch)
treee403053375249bf4b3c8b7e77c4e00de9e422892 /security
parentf2764b0bf7b51294921a1f2c76e8f43ed062cdd6 (diff)
downloadfreebsd-ports-gnome-996fc04ba6c649996159bda8e0fb423468b4639b.tar.gz
freebsd-ports-gnome-996fc04ba6c649996159bda8e0fb423468b4639b.tar.zst
freebsd-ports-gnome-996fc04ba6c649996159bda8e0fb423468b4639b.zip
Upgrade to 3.0.3.
PR: 233566 Submitted by: Marius Halden <marius.halden@modirum.com> (maintainer) Differential Revision: https://reviews.freebsd.org/D18357
Diffstat (limited to 'security')
-rw-r--r--security/modsecurity3/Makefile18
-rw-r--r--security/modsecurity3/distinfo12
-rw-r--r--security/modsecurity3/pkg-plist3
3 files changed, 13 insertions, 20 deletions
diff --git a/security/modsecurity3/Makefile b/security/modsecurity3/Makefile
index 0bce9c1c821e..0941c8aa2c59 100644
--- a/security/modsecurity3/Makefile
+++ b/security/modsecurity3/Makefile
@@ -2,40 +2,38 @@
PORTNAME= modsecurity
DISTVERSIONPREFIX= v
-DISTVERSION= 3.0.2
-PORTREVISION= 3
+DISTVERSION= 3.0.3
+PORTREVISION= 0
CATEGORIES= security www
+MASTER_SITES= https://github.com/SpiderLabs/ModSecurity/releases/download/v${PORTVERSION}/
PKGNAMESUFFIX= 3
MAINTAINER= marius.halden@modirum.com
COMMENT= Intrusion detection and prevention engine
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcurl.so:ftp/curl \
libpcre.so:devel/pcre \
libyajl.so:devel/yajl \
libGeoIP.so:net/GeoIP
-USES= autoreconf compiler:c++11-lang gmake gnome libtool pkgconfig:build
+USES= compiler:c++11-lang gmake gnome libtool pkgconfig:build
USE_GNOME= libxml2
# GCC because of https://github.com/SpiderLabs/ModSecurity/issues/1411
USE_GCC= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-USE_GITHUB= yes
-GH_ACCOUNT= SpiderLabs
-GH_PROJECT= ModSecurity
-
-GH_TUPLE+= SpiderLabs:secrules-language-tests:add8f63:secrules_language_tests/test/test-cases/secrules-language-tests
-GH_TUPLE+= client9:libinjection:da027ab:libinjection/others/libinjection
-GH_TUPLE+= SpiderLabs:ModSecurity-Python-bindings:bc625d5:modsecurity_python_bindings/bindings/python
+CONFIGURE_ARGS= --without-lmdb --without-ssdeep --without-lua
ETCDIR= ${PREFIX}/etc/modsecurity
CONFLICTS_INSTALL= ap??-mod_security mod_security3
+INSTALL_TARGET= install-strip
+
post-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/modsecurity.conf-recommended \
diff --git a/security/modsecurity3/distinfo b/security/modsecurity3/distinfo
index 9c9e98c7f043..76267c014918 100644
--- a/security/modsecurity3/distinfo
+++ b/security/modsecurity3/distinfo
@@ -1,9 +1,3 @@
-TIMESTAMP = 1524855265
-SHA256 (SpiderLabs-ModSecurity-v3.0.2_GH0.tar.gz) = a27c48a410870627c5d07aa8822b6459afff925b81b649905c7383bdee8fc1ce
-SIZE (SpiderLabs-ModSecurity-v3.0.2_GH0.tar.gz) = 550800
-SHA256 (SpiderLabs-secrules-language-tests-add8f63_GH0.tar.gz) = 18894cf90d6a1ade441053b2aa89fff495a50eec0c632d346cc223c692973cba
-SIZE (SpiderLabs-secrules-language-tests-add8f63_GH0.tar.gz) = 58901
-SHA256 (client9-libinjection-da027ab_GH0.tar.gz) = 7eaa6306d13427e002f976d4ce1bf3aaa3f94e7dd4ada02a69354fa482e6afca
-SIZE (client9-libinjection-da027ab_GH0.tar.gz) = 1656633
-SHA256 (SpiderLabs-ModSecurity-Python-bindings-bc625d5_GH0.tar.gz) = 7b10d90ec76985ddbdc4ca15c0675254cb6d10af6eaba620d1785d1b24b017eb
-SIZE (SpiderLabs-ModSecurity-Python-bindings-bc625d5_GH0.tar.gz) = 2647
+TIMESTAMP = 1543329304
+SHA256 (modsecurity-v3.0.3.tar.gz) = 8aa1300105d8cc23315a5e54421192bc617a66246ad004bd89e67c232208d0f4
+SIZE (modsecurity-v3.0.3.tar.gz) = 3246882
diff --git a/security/modsecurity3/pkg-plist b/security/modsecurity3/pkg-plist
index 42bfbe68ae93..d823e6cbbe1d 100644
--- a/security/modsecurity3/pkg-plist
+++ b/security/modsecurity3/pkg-plist
@@ -20,5 +20,6 @@ include/modsecurity/variable_value.h
lib/libmodsecurity.a
lib/libmodsecurity.so
lib/libmodsecurity.so.3
-lib/libmodsecurity.so.3.0.2
+lib/libmodsecurity.so.3.0.3
+libdata/pkgconfig/modsecurity.pc
@sample %%ETCDIR%%/modsecurity.conf.sample