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 7758613835A for ; Mon, 21 Sep 2020 20:09:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57AB3E0809; Mon, 21 Sep 2020 20:09:32 +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 3BF2CE0809 for ; Mon, 21 Sep 2020 20:09:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 1B4C0340DF4 for ; Mon, 21 Sep 2020 20:09:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 913D0360 for ; Mon, 21 Sep 2020 20:09: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: <1600718951.2080a4c05f9ab374d8f2303ecdff293ac666f1ab.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.34.ebuild X-VCS-Directories: net-libs/libhtp/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 2080a4c05f9ab374d8f2303ecdff293ac666f1ab X-VCS-Branch: master Date: Mon, 21 Sep 2020 20:09: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: 8cb9adfd-fc32-464c-98a4-d516d704ef9a X-Archives-Hash: 715ef6a8c3d354bea4234562659a9780 commit: 2080a4c05f9ab374d8f2303ecdff293ac666f1ab Author: Marek Szuba gentoo org> AuthorDate: Mon Sep 21 19:00:37 2020 +0000 Commit: Marek Szuba gentoo org> CommitDate: Mon Sep 21 20:09:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2080a4c0 net-libs/libhtp: bump to 0.5.34 Signed-off-by: Marek Szuba gentoo.org> net-libs/libhtp/Manifest | 1 + net-libs/libhtp/libhtp-0.5.34.ebuild | 37 ++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/net-libs/libhtp/Manifest b/net-libs/libhtp/Manifest index dc1cec7db0f..0d99c9aa51b 100644 --- a/net-libs/libhtp/Manifest +++ b/net-libs/libhtp/Manifest @@ -1 +1,2 @@ DIST libhtp-0.5.33.tar.gz 496010 BLAKE2B 9648632e9f37c20a3efa5edf9b5ee5ed97b5ba767faf6b276c4d38760422b601f9443cfaf30e60c6e6dd555d259a3b5613f0370040753d7336f6ef5e94b32d55 SHA512 52bbb72710fd0f5fc917d62f5a2b659092669eda0553586e75c17c558e3f6559dcf8eb7707db931045af532592cbad691461af2dd5362f95e2a4884e7475bf94 +DIST libhtp-0.5.34.tar.gz 496765 BLAKE2B 8f4eb6b074d9a84fa872ff963f20b4a52f86d171a03fe2347affa9b9383d0d4ba4633b03ec5ca2a9a923c28d16e3f2304f0b4e32c8c4385c0333ba2f280ad21a SHA512 dc86c6b3a90439e9e2d5375b64119d80771e2dc076670f49b9d5f252d7b16fe5b643a16577ce50189c289e7baf16fcb84d86254d965a11ab1d148ad59455c20f diff --git a/net-libs/libhtp/libhtp-0.5.34.ebuild b/net-libs/libhtp/libhtp-0.5.34.ebuild new file mode 100644 index 00000000000..4c0e8229142 --- /dev/null +++ b/net-libs/libhtp/libhtp-0.5.34.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal + +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 ~x86" +IUSE="debug static-libs" + +RDEPEND="sys-libs/zlib[static-libs?]" +DEPEND="${RDEPEND}" + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + # The debug configure logic is broken. + ECONF_SOURCE=${S} \ + econf \ + $(usex debug '--enable-debug' '') \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die "Failed to remove .la files" + fi +}