34b9292a02
https://github.com/SpiderLabs/ModSecurity-apache/commit/0488c77f69669584324b70460614a382224b4883 https://github.com/SpiderLabs/ModSecurity-apache/issues/80 NOTE: This project is not production ready This project should be considered under development and not production ready. The functionality is not complete and so should not be used. With Apache HTTP Server, the recommended version of ModSecurity is v2.9.x. Sponsored by: Netzkommune GmbH
40 lines
937 B
Makefile
40 lines
937 B
Makefile
PORTNAME= modsecurity3-apache
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.0.9-beta1-20
|
|
DISTVERSIONSUFFIX= -gf692ea99
|
|
CATEGORIES= security www
|
|
|
|
MAINTAINER= joneum@FreeBSD.org
|
|
COMMENT= Intrusion detection and prevention engine / Apache Wrapper
|
|
|
|
DEPRECATED= The project was not developed further
|
|
EXPIRATION_DATE= 2022-06-27
|
|
|
|
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>
|