Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2019 18:55:20 +0000 (UTC)
From:      Jochen Neumeister <joneum@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500924 - in head/security: . modsecurity3-apache
Message-ID:  <201905061855.x46ItKeG093472@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
+@postexec %D/sbin/apxs -e -a -n security3 %f
+@preunexec %D/sbin/apxs -e -A -n security3 %f
+%%PORTDOCS%%%%DOCSDIR%%/README.md



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905061855.x46ItKeG093472>