Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2018 00:37:37 +0000 (UTC)
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487396 - head/security/modsecurity3
Message-ID:  <201812140037.wBE0bb9s042187@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: osa
Date: Fri Dec 14 00:37:36 2018
New Revision: 487396
URL: https://svnweb.freebsd.org/changeset/ports/487396

Log:
  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)

Modified:
  head/security/modsecurity3/Makefile
  head/security/modsecurity3/pkg-plist

Modified: head/security/modsecurity3/Makefile
==============================================================================
--- head/security/modsecurity3/Makefile	Fri Dec 14 00:36:18 2018	(r487395)
+++ head/security/modsecurity3/Makefile	Fri Dec 14 00:37:36 2018	(r487396)
@@ -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,9 +24,11 @@ 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
 

Modified: head/security/modsecurity3/pkg-plist
==============================================================================
--- head/security/modsecurity3/pkg-plist	Fri Dec 14 00:36:18 2018	(r487395)
+++ head/security/modsecurity3/pkg-plist	Fri Dec 14 00:37:36 2018	(r487396)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812140037.wBE0bb9s042187>