From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B68FB1382C5 for ; Mon, 25 Jan 2021 17:38:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EDF00E09E6; Mon, 25 Jan 2021 17:38:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5487E09E6 for ; Mon, 25 Jan 2021 17:38:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D403B340E68 for ; Mon, 25 Jan 2021 17:38:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 74B6832B for ; Mon, 25 Jan 2021 17:38:29 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1611596219.a8c788901c88ecb6b88c57bdba7f519ed84e8dec.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_security/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apache/mod_security/mod_security-2.9.3.ebuild X-VCS-Directories: www-apache/mod_security/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: a8c788901c88ecb6b88c57bdba7f519ed84e8dec X-VCS-Branch: master Date: Mon, 25 Jan 2021 17:38:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 43dce403-c5c8-4d4c-9bb7-5ccd85afa2dc X-Archives-Hash: 195cfaa33a5d7c56502ec168a15a907e commit: a8c788901c88ecb6b88c57bdba7f519ed84e8dec Author: Marek Szuba gentoo org> AuthorDate: Mon Jan 25 13:57:17 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Mon Jan 25 17:36:59 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8c78890 www-apache/mod_security: remove old Signed-off-by: Marek Szuba gentoo.org> www-apache/mod_security/mod_security-2.9.3.ebuild | 110 ---------------------- 1 file changed, 110 deletions(-) diff --git a/www-apache/mod_security/mod_security-2.9.3.ebuild b/www-apache/mod_security/mod_security-2.9.3.ebuild deleted file mode 100644 index c7a7974d2d0..00000000000 --- a/www-apache/mod_security/mod_security-2.9.3.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit apache-module - -MY_PN=modsecurity -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Application firewall and intrusion detection for Apache" -HOMEPAGE="https://www.modsecurity.org/" -SRC_URI="https://www.modsecurity.org/tarball/${PV}/${MY_P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc fuzzyhash geoip jit json lua mlogc" - -COMMON_DEPEND="dev-libs/apr - dev-libs/apr-util[openssl] - dev-libs/libxml2 - dev-libs/libpcre[jit?] - fuzzyhash? ( app-crypt/ssdeep ) - json? ( dev-libs/yajl ) - lua? ( dev-lang/lua:0 ) - mlogc? ( net-misc/curl ) - www-servers/apache[apache2_modules_unique_id]" -DEPEND="${COMMON_DEPEND} - doc? ( app-doc/doxygen )" -RDEPEND="${COMMON_DEPEND} - geoip? ( dev-libs/geoip ) - mlogc? ( dev-lang/perl )" -PDEPEND=">=www-apache/modsecurity-crs-2.2.6-r1" - -S="${WORKDIR}/${MY_P}" - -APACHE2_MOD_FILE="apache2/.libs/${PN}2.so" -APACHE2_MOD_CONF="79_${PN}" -APACHE2_MOD_DEFINE="SECURITY" - -# Tests require symbols only defined within the Apache binary. -RESTRICT=test - -need_apache2 - -pkg_setup() { - _init_apache2 - _init_apache2_late -} - -src_configure() { - local myconf=( - --disable-static - --enable-request-early - --with-apxs="${APXS}" - --with-pic - $(use_with fuzzyhash ssdeep) - $(use_with json yajl) - $(use_enable mlogc) - $(use_with lua) - $(use_enable lua lua-cache) - $(use_enable jit pcre-jit) - $(use_enable doc docs) ) - - econf ${myconf[@]} -} - -src_compile() { - default -} - -src_install() { - apache-module_src_install - - dodoc CHANGES README.md modsecurity.conf-recommended - - if use doc; then - dodoc -r doc/apache/html - fi - - if use mlogc; then - insinto /etc/ - newins mlogc/mlogc-default.conf mlogc.conf - dobin mlogc/mlogc - dobin mlogc/mlogc-batch-load.pl - newdoc mlogc/INSTALL INSTALL-mlogc - fi - - # Use /var/lib instead of /var/cache. This stuff is "persistent," - # and isn't a cached copy of something that we can recreate. - # Bug 605496. - keepdir /var/lib/modsecurity - fowners apache:apache /var/lib/modsecurity - fperms 0750 /var/lib/modsecurity - for dir in data tmp upload; do - keepdir "/var/lib/modsecurity/${dir}" - fowners apache:apache "/var/lib/modsecurity/${dir}" - fperms 0750 "/var/lib/modsecurity/${dir}" - done -} - -pkg_postinst() { - elog "The base configuration file has been renamed ${APACHE2_MOD_CONF}" - elog "so that you can put your own configuration in (for example)" - elog "90_modsecurity_local.conf." - elog "" - elog "That would be the correct place for site-global security rules." - elog "Note: 80_modsecurity_crs.conf is used by www-apache/modsecurity-crs" -}