From owner-svn-ports-all@freebsd.org Mon May 6 18:55:21 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E54B1592C44; Mon, 6 May 2019 18:55:21 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4601F84D7E; Mon, 6 May 2019 18:55:21 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1DFADAEB6; Mon, 6 May 2019 18:55:21 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x46ItKKX093479; Mon, 6 May 2019 18:55:20 GMT (envelope-from joneum@FreeBSD.org) Received: (from joneum@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x46ItKeG093472; Mon, 6 May 2019 18:55:20 GMT (envelope-from joneum@FreeBSD.org) Message-Id: <201905061855.x46ItKeG093472@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: joneum set sender to joneum@FreeBSD.org using -f From: Jochen Neumeister Date: Mon, 6 May 2019 18:55:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r500924 - in head/security: . modsecurity3-apache X-SVN-Group: ports-head X-SVN-Commit-Author: joneum X-SVN-Commit-Paths: in head/security: . modsecurity3-apache X-SVN-Commit-Revision: 500924 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4601F84D7E X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.956,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2019 18:55:21 -0000 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 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