aboutsummaryrefslogtreecommitdiff
path: root/security/modsecurity3
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2018-12-14 00:37:36 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2018-12-14 00:37:36 +0000
commitfd9773f1da2f5d8ba02560b7d3c6082d5c8fa063 (patch)
treeb9c877bc70223bdc5571aff533049927d7639515 /security/modsecurity3
parent92375dd403ea0d284ff3f5349c34520daa81eae7 (diff)
downloadports-fd9773f1da2f5d8ba02560b7d3c6082d5c8fa063.tar.gz
ports-fd9773f1da2f5d8ba02560b7d3c6082d5c8fa063.zip
Avoid to change the pkg-plist entry with every new release.
While I'm here pet portlint(1). Bump PORTREVISION. Approved by: Marius Halden <marius.halden@modirum.com> (maintainer)
Notes
Notes: svn path=/head/; revision=487396
Diffstat (limited to 'security/modsecurity3')
-rw-r--r--security/modsecurity3/Makefile6
-rw-r--r--security/modsecurity3/pkg-plist2
2 files changed, 5 insertions, 3 deletions
diff --git a/security/modsecurity3/Makefile b/security/modsecurity3/Makefile
index 0941c8aa2c59..2a6006e07e5b 100644
--- a/security/modsecurity3/Makefile
+++ b/security/modsecurity3/Makefile
@@ -3,7 +3,7 @@
PORTNAME= modsecurity
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.3
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= security www
MASTER_SITES= https://github.com/SpiderLabs/ModSecurity/releases/download/v${PORTVERSION}/
PKGNAMESUFFIX= 3
@@ -24,10 +24,12 @@ USE_GNOME= libxml2
# GCC because of https://github.com/SpiderLabs/ModSecurity/issues/1411
USE_GCC= yes
USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-lmdb --without-ssdeep --without-lua
+PLIST_SUB= SHLIBVER=${DISTVERSION}
+
ETCDIR= ${PREFIX}/etc/modsecurity
CONFLICTS_INSTALL= ap??-mod_security mod_security3
diff --git a/security/modsecurity3/pkg-plist b/security/modsecurity3/pkg-plist
index d823e6cbbe1d..7d4031d85ea3 100644
--- a/security/modsecurity3/pkg-plist
+++ b/security/modsecurity3/pkg-plist
@@ -20,6 +20,6 @@ include/modsecurity/variable_value.h
lib/libmodsecurity.a
lib/libmodsecurity.so
lib/libmodsecurity.so.3
-lib/libmodsecurity.so.3.0.3
+lib/libmodsecurity.so.%%SHLIBVER%%
libdata/pkgconfig/modsecurity.pc
@sample %%ETCDIR%%/modsecurity.conf.sample