From 605eb6cd753ab91e58e7561ebad2e75a44bcccc4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 14 Jul 2023 04:36:18 +0100 Subject: gentoo auto-resync : 14:07:2023 - 04:36:18 --- net-libs/libhtp/libhtp-0.5.45.ebuild | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 net-libs/libhtp/libhtp-0.5.45.ebuild (limited to 'net-libs/libhtp/libhtp-0.5.45.ebuild') diff --git a/net-libs/libhtp/libhtp-0.5.45.ebuild b/net-libs/libhtp/libhtp-0.5.45.ebuild new file mode 100644 index 000000000000..7f787459dab5 --- /dev/null +++ b/net-libs/libhtp/libhtp-0.5.45.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 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" +} -- cgit v1.2.3