freebsd-ports/security/modsecurity3-apache/Makefile
Jochen Neumeister ea4ad8cdb0 New Port: security/modsecurity3-apache
The ModSecurity-apache connector is the connection point between Apache and libmodsecurity (ModSecurity v3).
Said another way, this project provides a communication channel between Apache and libmodsecurity.
This connector is required to use LibModSecurity with Apache.

The ModSecurity-apache connector takes the form of an Apache module.
The module simply serves as a layer of communication between Apache and ModSecurity.

https://github.com/SpiderLabs/ModSecurity-apache

Sponsored by:	Netzkommune GmbH
2019-05-06 18:55:19 +00:00

38 lines
870 B
Makefile

# $FreeBSD$
PORTNAME= modsecurity3-apache
DISTVERSIONPREFIX= v
DISTVERSION= 0.0.9-beta1-19
DISTVERSIONSUFFIX= -gf76aaae
CATEGORIES= security www
MAINTAINER= joneum@FreeBSD.org
COMMENT= Intrusion detection and prevention engine / Apache Wrapper
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libmodsecurity.so:security/modsecurity3
USES= apache:2.4+ autoreconf
USE_GCC= yes
USE_GITHUB= yes
GH_ACCOUNT= SpiderLabs
GH_PROJECT= ModSecurity-apache
GNU_CONFIGURE= yes
CONFIGURE_ENV= V3LIB=${LOCALBASE}/lib V3INCLUDE=${LOCALBASE}/include
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
${INSTALL_LIB} ${WRKSRC}/src/.libs/mod_security3.so \
${STAGEDIR}${PREFIX}/${APACHEMODDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>