freebsd-ports/security/modsecurity3/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

44 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= modsecurity
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.3
PORTREVISION= 3
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 \
libmaxminddb.so:net/libmaxminddb
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
CONFIGURE_ARGS= --without-lmdb --without-ssdeep --without-lua
PLIST_SUB= SHLIBVER=${DISTVERSION}
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 \
${STAGEDIR}${ETCDIR}/modsecurity.conf.sample
.include <bsd.port.mk>