MFH: r553441

security/modsecurity3: include unicode.mapping in package

This is included in the distribution and referenced in the default
configuration that's installed, but hasn't been included in the package. Do
so now.

PR:		250669
Submitted by:	Marius Halden <marius halden modirum com> (maintainer)

Approved by:	ports-secteam (implicit, packaging fix)
This commit is contained in:
Kyle Evans 2020-10-27 14:34:37 +00:00
parent 42ed4f14a5
commit a096530b8a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=553447
2 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= modsecurity
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= security www
MASTER_SITES= https://github.com/SpiderLabs/ModSecurity/releases/download/v${PORTVERSION}/
PKGNAMESUFFIX= 3
@ -40,5 +40,7 @@ post-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/modsecurity.conf-recommended \
${STAGEDIR}${ETCDIR}/modsecurity.conf.sample
${INSTALL_DATA} ${WRKSRC}/unicode.mapping \
${STAGEDIR}${ETCDIR}/unicode.mapping
.include <bsd.port.mk>

View File

@ -22,4 +22,5 @@ lib/libmodsecurity.so
lib/libmodsecurity.so.3
lib/libmodsecurity.so.%%SHLIBVER%%
libdata/pkgconfig/modsecurity.pc
%%ETCDIR%%/unicode.mapping
@sample %%ETCDIR%%/modsecurity.conf.sample