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 43F6515808B for ; Sun, 18 Feb 2024 11:02:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69B99E2C56; Sun, 18 Feb 2024 11:02:33 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4BDE5E2C56 for ; Sun, 18 Feb 2024 11:02:33 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54EAF3430DF for ; Sun, 18 Feb 2024 11:02:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 949CC1065 for ; Sun, 18 Feb 2024 11:02:30 +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: <1708254100.6c7d6517015a8cd1a0c23ae2cbebb10df3eda38c.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libhtp/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libhtp/Manifest net-libs/libhtp/libhtp-0.5.46.ebuild X-VCS-Directories: net-libs/libhtp/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 6c7d6517015a8cd1a0c23ae2cbebb10df3eda38c X-VCS-Branch: master Date: Sun, 18 Feb 2024 11:02:30 +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: 793e5a7c-c30e-4118-9bce-275facfeb324 X-Archives-Hash: 7ccaa809edfb851d13fac8a74e998cde commit: 6c7d6517015a8cd1a0c23ae2cbebb10df3eda38c Author: Marek Szuba gentoo org> AuthorDate: Sun Feb 18 11:01:40 2024 +0000 Commit: Marek Szuba gentoo org> CommitDate: Sun Feb 18 11:01:40 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c7d6517 net-libs/libhtp: add 0.5.46 Signed-off-by: Marek Szuba gentoo.org> net-libs/libhtp/Manifest | 1 + net-libs/libhtp/libhtp-0.5.46.ebuild | 41 ++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/net-libs/libhtp/Manifest b/net-libs/libhtp/Manifest index f72d301dc853..2ce38167969a 100644 --- a/net-libs/libhtp/Manifest +++ b/net-libs/libhtp/Manifest @@ -1 +1,2 @@ DIST libhtp-0.5.45.tar.gz 501108 BLAKE2B faa5a05844a959b00b1f53c26d8c9167d91998c2b4d71b9ce85f1822f431d40d46513a596d804dee3290bdfad5a27d93755bb6e39fb5c36fc90472637cc3caad SHA512 b4bc6cc209d8d8833082ade7d4257da3a449344ed29a3fd20b5100f3c983163cd3e537d154748a116ff22b9a79b245ba2e6d0f5960c37b4ca9867506b8ed13ed +DIST libhtp-0.5.46.tar.gz 503286 BLAKE2B 326246433b3d8525cd211fec73bc0fdd9fb61a65001fc55d1fed4e966c53b16a1052ef0597990681d805c2c560e670b8b2d2558851971df6c31910dea571d0cc SHA512 8dac8ea13b550046d9f4463087b72ea1de019329bc94468b73923146271275a04b0dd971e5949913503e04247a19e145fb900e2f709c0f552efae177ebe10e78 diff --git a/net-libs/libhtp/libhtp-0.5.46.ebuild b/net-libs/libhtp/libhtp-0.5.46.ebuild new file mode 100644 index 000000000000..59943c90f246 --- /dev/null +++ b/net-libs/libhtp/libhtp-0.5.46.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="security-aware parser for the HTTP protocol and the related bits and pieces" +HOMEPAGE="https://github.com/OISF/libhtp" +SRC_URI="https://github.com/OISF/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~riscv ~x86" +IUSE="debug" + +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.5.43-configure_fortify_source.patch +) + +# false positive -- function specific to dev-libs/libiconv, which is only used +# in Windows-based Prefix installations +QA_CONFIG_IMPL_DECL_SKIP=( iconvctl ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # The debug configure logic is broken. + econf $(usev debug '--enable-debug') +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die "Failed to remove .la files" +}