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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DE62C158021 for ; Thu, 10 Nov 2022 16:15:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97016E09EA; Thu, 10 Nov 2022 16:15:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 75C1BE09EA for ; Thu, 10 Nov 2022 16:15:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7BB0F340815 for ; Thu, 10 Nov 2022 16:15:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1280872C for ; Thu, 10 Nov 2022 16:15:38 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1668096932.446dba5d542636982c487688af743cd0bf29fada.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/modsecurity/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/modsecurity/Manifest dev-libs/modsecurity/modsecurity-3.0.8.ebuild X-VCS-Directories: dev-libs/modsecurity/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 446dba5d542636982c487688af743cd0bf29fada X-VCS-Branch: master Date: Thu, 10 Nov 2022 16:15:38 +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: 36508986-d56e-4755-b856-06d21e099efe X-Archives-Hash: 24696c9a8c80ad32a40ea213e728324c commit: 446dba5d542636982c487688af743cd0bf29fada Author: Tomáš Mózes gmail com> AuthorDate: Sat Oct 22 03:16:37 2022 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Nov 10 16:15:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=446dba5d dev-libs/modsecurity: add 3.0.8 Signed-off-by: Tomáš Mózes gmail.com> Closes: https://github.com/gentoo/gentoo/pull/27884 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/modsecurity/Manifest | 1 + dev-libs/modsecurity/modsecurity-3.0.8.ebuild | 69 +++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/dev-libs/modsecurity/Manifest b/dev-libs/modsecurity/Manifest index 30ec689bf75f..5c5c37a727c2 100644 --- a/dev-libs/modsecurity/Manifest +++ b/dev-libs/modsecurity/Manifest @@ -1 +1,2 @@ DIST modsecurity-v3.0.7.tar.gz 3333372 BLAKE2B f391e2057b95a26a16efaa5f9d86acdd030b2f32d3da3ebac4e5eccdae7c9c6453bdb6b4e2d7f49ce189760d5c5de7d656aa5796fe2723e2e6f5493c93420913 SHA512 d8caf5946b598b16c4481938f22c1116595286811cfdb01d95db95ab061f7045751f2aa98e515df239bceb3f1a6dce2ecd5b24c954bddc27997fa64e9e429730 +DIST modsecurity-v3.0.8.tar.gz 3336288 BLAKE2B de15124362f23c86a6dcee15dd847fcf703a378a57ebd4826a6304fed33b34f4791c7aa80abd42cbe5932063c1ca59f755345e3810dcbc296e2b6a758e0c580b SHA512 8113358548aea19a18de183922e979fd7ce9daad289c6894bda458176f17da63fb45160a2a86d97730c90191c881b232b1c9c6ab9209c3988b4390e49e086117 diff --git a/dev-libs/modsecurity/modsecurity-3.0.8.ebuild b/dev-libs/modsecurity/modsecurity-3.0.8.ebuild new file mode 100644 index 000000000000..b7405d95da91 --- /dev/null +++ b/dev-libs/modsecurity/modsecurity-3.0.8.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} ) + +inherit lua-single + +MY_P=${PN}-v${PV} + +DESCRIPTION="Application firewall and intrusion detection" +HOMEPAGE="https://github.com/SpiderLabs/ModSecurity" +SRC_URI="https://github.com/SpiderLabs/ModSecurity/releases/download/v${PV}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="doc fuzzyhash geoip geoip2 json lmdb lua pcre2" + +REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" +RDEPEND="dev-libs/libpcre:= + dev-libs/libxml2 + net-misc/curl + fuzzyhash? ( app-crypt/ssdeep ) + geoip? ( dev-libs/geoip ) + geoip2? ( dev-libs/libmaxminddb ) + json? ( dev-libs/yajl ) + lmdb? ( dev-db/lmdb ) + lua? ( ${LUA_DEPS} ) + pcre2? ( dev-libs/libpcre2:= )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + doc? ( app-doc/doxygen[dot] )" + +DOCS=( AUTHORS CHANGES README.md modsecurity.conf-recommended unicode.mapping ) + +pkg_setup() { + use lua && lua-single_pkg_setup +} + +src_configure() { + local myconf=( + $(use_with fuzzyhash ssdeep) + $(use_with geoip ) + $(use_with geoip2 maxmind) + $(use_with json yajl) + $(use_with lmdb) + $(use_with lua) + $(use_with pcre2) + ) + + econf "${myconf[@]}" +} + +src_compile() { + default + + if use doc; then + cd doc && doxygen doxygen.cfg || die + fi +} + +src_install() { + default + use doc && dodoc -r doc/html + find "${ED}" -name '*.la' -delete || die +}