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
This commit is contained in:
parent
d8cd9f8991
commit
ea4ad8cdb0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500924
@ -417,6 +417,7 @@ PORTREVISION= 1
|
||||
SUBDIR += minisign
|
||||
SUBDIR += mkp224o
|
||||
SUBDIR += modsecurity3
|
||||
SUBDIR += modsecurity3-apache
|
||||
SUBDIR += monkeysphere
|
||||
SUBDIR += morphis
|
||||
SUBDIR += munge
|
||||
|
38
security/modsecurity3-apache/Makefile
Normal file
38
security/modsecurity3-apache/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# $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>
|
3
security/modsecurity3-apache/distinfo
Normal file
3
security/modsecurity3-apache/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1556729006
|
||||
SHA256 (SpiderLabs-ModSecurity-apache-v0.0.9-beta1-19-gf76aaae_GH0.tar.gz) = 38bcdb44c971940f54693e89d19608df421372d464e9d02d28f29b2e36027977
|
||||
SIZE (SpiderLabs-ModSecurity-apache-v0.0.9-beta1-19-gf76aaae_GH0.tar.gz) = 64553
|
10
security/modsecurity3-apache/pkg-descr
Normal file
10
security/modsecurity3-apache/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
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.
|
||||
|
||||
Notice that this project depends on libmodsecurity rather than ModSecurity (version 2.9 or less).
|
||||
|
||||
WWW: https://github.com/SpiderLabs/ModSecurity-apache
|
4
security/modsecurity3-apache/pkg-plist
Normal file
4
security/modsecurity3-apache/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
%%APACHEMODDIR%%/mod_security3.so
|
||||
@postexec %D/sbin/apxs -e -a -n security3 %f
|
||||
@preunexec %D/sbin/apxs -e -A -n security3 %f
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.md
|
Loading…
Reference in New Issue
Block a user