svn commit: r500924 - in head/security: . modsecurity3-apache
Jochen Neumeister
joneum at FreeBSD.org
Mon May 6 18:55:21 UTC 2019
Author: joneum
Date: Mon May 6 18:55:19 2019
New Revision: 500924
URL: https://svnweb.freebsd.org/changeset/ports/500924
Log:
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
Added:
head/security/modsecurity3-apache/
head/security/modsecurity3-apache/Makefile (contents, props changed)
head/security/modsecurity3-apache/distinfo (contents, props changed)
head/security/modsecurity3-apache/pkg-descr (contents, props changed)
head/security/modsecurity3-apache/pkg-plist (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Mon May 6 18:37:08 2019 (r500923)
+++ head/security/Makefile Mon May 6 18:55:19 2019 (r500924)
@@ -417,6 +417,7 @@ PORTREVISION= 1
SUBDIR += minisign
SUBDIR += mkp224o
SUBDIR += modsecurity3
+ SUBDIR += modsecurity3-apache
SUBDIR += monkeysphere
SUBDIR += morphis
SUBDIR += munge
Added: head/security/modsecurity3-apache/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/modsecurity3-apache/Makefile Mon May 6 18:55:19 2019 (r500924)
@@ -0,0 +1,38 @@
+# $FreeBSD$
+
+PORTNAME= modsecurity3-apache
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.0.9-beta1-19
+DISTVERSIONSUFFIX= -gf76aaae
+CATEGORIES= security www
+
+MAINTAINER= joneum at 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>
Added: head/security/modsecurity3-apache/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/modsecurity3-apache/distinfo Mon May 6 18:55:19 2019 (r500924)
@@ -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
Added: head/security/modsecurity3-apache/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/modsecurity3-apache/pkg-descr Mon May 6 18:55:19 2019 (r500924)
@@ -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
Added: head/security/modsecurity3-apache/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/modsecurity3-apache/pkg-plist Mon May 6 18:55:19 2019 (r500924)
@@ -0,0 +1,4 @@
+%%APACHEMODDIR%%/mod_security3.so
+ at postexec %D/sbin/apxs -e -a -n security3 %f
+ at preunexec %D/sbin/apxs -e -A -n security3 %f
+%%PORTDOCS%%%%DOCSDIR%%/README.md
More information about the svn-ports-all
mailing list