diff options
author | Tomas Mozes <hydrapolic@gmail.com> | 2019-02-23 12:01:50 +0000 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-03-04 01:56:23 +0100 |
commit | b07b6b08c5ef9fa6f2458f8f2710628c744440c7 (patch) | |
tree | e67cebdb29f4929143e07f3e1e7144c80f4fddde /www-apache | |
parent | www-apache/mod_security: bump to 2.9.3 (diff) | |
download | gentoo-b07b6b08c5ef9fa6f2458f8f2710628c744440c7.tar.gz gentoo-b07b6b08c5ef9fa6f2458f8f2710628c744440c7.tar.bz2 gentoo-b07b6b08c5ef9fa6f2458f8f2710628c744440c7.zip |
www-apache/modsecurity-crs: bump to 3.1.0
Signed-off-by: Tomas Mozes <hydrapolic@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11143
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/modsecurity-crs/Manifest | 1 | ||||
-rw-r--r-- | www-apache/modsecurity-crs/modsecurity-crs-3.1.0.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/www-apache/modsecurity-crs/Manifest b/www-apache/modsecurity-crs/Manifest index 0b221bc99695..869ccd079b48 100644 --- a/www-apache/modsecurity-crs/Manifest +++ b/www-apache/modsecurity-crs/Manifest @@ -1 +1,2 @@ DIST modsecurity-crs-3.0.2.tar.gz 156751 BLAKE2B 111a330b6081d476899be321e15d74379b3c3db23f429a4a4ef1900c87e4b29229638acf3bb367745446ef97ccba4679db91b0d84bae93f2c127bbb6e8031851 SHA512 ae8fe9a0f00a57708c8680cb76882214e4f5ff647e13087aaf1bfc7382cefb38d2f3a88eb1f210031b553f56d3e44c12dbdc68f8b0d09fb4a9e2f15a70d885aa +DIST modsecurity-crs-3.1.0.tar.gz 250617 BLAKE2B 6081d09e90f3c18435e046264ff8c0b700fd0c8c2b6377f44517fce3ad74dcf1d6a8cf7eaf055b85040b21196b603bcb762f5a7ed237d14b6a05f1febd623cda SHA512 d613d2af8248424ac5d4d006a9f221b07c714fb47f84e6ec237b1389379b50dce984f51121cc22b69d148910169b5257b11558656640bc8349d0b09d9e70bb11 diff --git a/www-apache/modsecurity-crs/modsecurity-crs-3.1.0.ebuild b/www-apache/modsecurity-crs/modsecurity-crs-3.1.0.ebuild new file mode 100644 index 000000000000..c0b847fe6364 --- /dev/null +++ b/www-apache/modsecurity-crs/modsecurity-crs-3.1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Core Rule Set for ModSecurity" +HOMEPAGE=" + https://www.owasp.org/index.php/Category:OWASP_ModSecurity_Core_Rule_Set_Project + https://modsecurity.org/crs/ + https://coreruleset.org/" +SRC_URI="https://github.com/SpiderLabs/owasp-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=">=www-apache/mod_security-2.9.1" + +S="${WORKDIR}/owasp-${P}" + +src_install() { + insinto "/usr/share/${PN}" + doins -r rules + + dodoc CHANGES CONTRIBUTORS.md KNOWN_BUGS README.md crs-setup.conf.example + + # I don't think it's worth pulling in apache-module.eclass just for + # this path... + insinto /etc/apache2/modules.d + doins "${FILESDIR}/80_mod_security-crs.conf" +} + +pkg_postinst() { + einfo "The CRS configuration file has been installed to:" + einfo " ${ROOT}/etc/apache2/modules.d/80_mod_security-crs.conf" +} |