net-libs/libhtp: add 0.5.44

Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
Marek Szuba
2023-06-27 22:56:21 +01:00
parent 2bf32183a2
commit 7d7ca23e47
2 changed files with 42 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST libhtp-0.5.43.tar.gz 500631 BLAKE2B 071cadc254b7af55bf410db5689429ca7588005b2f74fbd8468f2d6eeaf00c55ae99e8dd78552a5bf11ace5c8047b28a844db343937827a428b6d8b8d9036d29 SHA512 6d24f4510b0a444895b6dcc601b9e4560fba0da5db591efa58874d2fc8f7c5d6598b6caddc908824ce294e69cdd8ff8bf0d9147f22d395810844cad48f23557d
DIST libhtp-0.5.44.tar.gz 500798 BLAKE2B 6b4c8d617e6a649997e9375677baed99315be83e598317ce4951883482e6099cb5fd28e27ae25ab68ecc765931b0955289d144a710ce2e1b11edf92848b1b613 SHA512 e538d022110eef808a7ab040ca58004f1a8759d315ad954455d6da9a088cf80d53489529234fbfdd9fd20b8424d49b4a9635673cd25612c63ef9cc90220a4e82
+41
View File
@@ -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"
}