From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id C1CCE1582EF for ; Mon, 10 Mar 2025 02:54:46 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id AFFFB343167 for ; Mon, 10 Mar 2025 02:54:46 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 98D741103E1; Mon, 10 Mar 2025 02:54:32 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id 921911103E1 for ; Mon, 10 Mar 2025 02:54:32 +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 35E323430AE for ; Mon, 10 Mar 2025 02:54:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1B63328C1 for ; Mon, 10 Mar 2025 02:54:28 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1741575132.5395be39a988ef7025a53be759b79c45609cd938.sam@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.14.ebuild X-VCS-Directories: dev-libs/modsecurity/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5395be39a988ef7025a53be759b79c45609cd938 X-VCS-Branch: master Date: Mon, 10 Mar 2025 02:54:28 +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: 9d89f836-80cc-41f4-825d-2218ca15bde3 X-Archives-Hash: 5641c1f6c60e210316642cdaddb7e719 commit: 5395be39a988ef7025a53be759b79c45609cd938 Author: Tomáš Mózes gmail com> AuthorDate: Fri Feb 28 14:49:52 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Mar 10 02:52:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5395be39 dev-libs/modsecurity: add 3.0.14 Signed-off-by: Tomáš Mózes gmail.com> Signed-off-by: Sam James gentoo.org> dev-libs/modsecurity/Manifest | 1 + dev-libs/modsecurity/modsecurity-3.0.14.ebuild | 71 ++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/dev-libs/modsecurity/Manifest b/dev-libs/modsecurity/Manifest index c1f018ea3c9e..6d83ab6a6158 100644 --- a/dev-libs/modsecurity/Manifest +++ b/dev-libs/modsecurity/Manifest @@ -1,3 +1,4 @@ DIST modsecurity-slibtool.patch 6915 BLAKE2B 9d067a4285cf56cbe9c824601724ee9caaf43e1bce653e51c6f66165a96e034125d93c4c998ee27df4d753c5e176b21d1c524dd72710428aaff1e528bddf48dc SHA512 a4c413f376c19bd028f2824f837cfdd5dffa51fcfeb1bcd911ca36a2876372d47f5e225b22cf9416d45cfc65e9e476501917a2b5c6d785f650c918f81164a8be DIST modsecurity-v3.0.12.tar.gz 3504045 BLAKE2B 6ee7f56384452bef090b26b567cc229f690fafbff4cb704b87bc241f1ec827eafc5de8b236936c4e7d58ed2e5c3ed30472ff24b8d18744d3f1bdc346c41c5940 SHA512 34c87bd12e76d102e95b626113c4b0c9e971be196932e76f0703c9c4416925baf99ccf5f46b88e317dc284f12e00ec099d6842574cb785086fa43950487919b3 DIST modsecurity-v3.0.13.tar.gz 9677566 BLAKE2B 303bae03241192987d7376c978181bbfd85816c0dd4daade86fee42721e38b99e681c36b1ecbd685e21d7a0bf83bdd5000787df115189194212782d330c67312 SHA512 1e683f7be2454126dcbd689d990259114a12fa56dd82b5283809282b6a12001550b7527e8bde7a0864ea19600094c06be09497ad7be7977fa419efcf9359885a +DIST modsecurity-v3.0.14.tar.gz 9755566 BLAKE2B 6562ea68ec5901d0ae166a2cc97294e39bc97a44426b9b184b2d07b9d1efadf9dd56e7fc1cdb02a7358627f29c79716aa56da4a69891e8c3aa770f97bb034d6b SHA512 67d27d96be196d61eb75b039fbbbd5dc7ffdd29722cf8ff595123674e74a593b2e437ee6d3f00cd029d0c292989fcec1be8eae72f05c0dec055d7ca4bf758c1b diff --git a/dev-libs/modsecurity/modsecurity-3.0.14.ebuild b/dev-libs/modsecurity/modsecurity-3.0.14.ebuild new file mode 100644 index 000000000000..b658ad52c279 --- /dev/null +++ b/dev-libs/modsecurity/modsecurity-3.0.14.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2025 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/owasp-modsecurity/ModSecurity" +SRC_URI=" + https://github.com/owasp-modsecurity/ModSecurity/releases/download/v${PV}/${MY_P}.tar.gz +" +S="${WORKDIR}/${MY_P}" + +LICENSE="Apache-2.0" +SLOT="0/3" +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-text/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 +}