summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-12-02 09:45:44 +0000
committerMarek Szuba <marecki@gentoo.org>2022-12-02 10:00:05 +0000
commit982f972e15400fc78a67bf6e17e0f1684ba352c3 (patch)
tree4c30032e193902e7d120088c71647e35c1a539b3 /net-libs/libhtp
parentmedia-libs/sdl-ttf: Stabilize 2.0.11_p20220525 ppc64, #883979 (diff)
downloadgentoo-982f972e15400fc78a67bf6e17e0f1684ba352c3.tar.gz
gentoo-982f972e15400fc78a67bf6e17e0f1684ba352c3.tar.bz2
gentoo-982f972e15400fc78a67bf6e17e0f1684ba352c3.zip
net-libs/libhtp: add 0.5.42
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-libs/libhtp')
-rw-r--r--net-libs/libhtp/Manifest1
-rw-r--r--net-libs/libhtp/libhtp-0.5.42.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/net-libs/libhtp/Manifest b/net-libs/libhtp/Manifest
index 69c55c2a8c3a..9215484cb1fc 100644
--- a/net-libs/libhtp/Manifest
+++ b/net-libs/libhtp/Manifest
@@ -1 +1,2 @@
DIST libhtp-0.5.41.tar.gz 500083 BLAKE2B e6e790f76b8d08b89ffc483a218dd1b3a6f910ff1fe8e44d48bfaae2189d9df567c0199e9f20fde05dc4059f75a1e3c34f4f76f2c8818dc7ca4111538095e16d SHA512 3bbd14495f7abe29e3f5ec14673eb4148c6c9a90276fb2627834946b160336fa2d0ee1c9f7a855c460eb444dd9005857998c575e95fdd65b2be3625027a71c5a
+DIST libhtp-0.5.42.tar.gz 500458 BLAKE2B 8e1446992c40c2c2e9e7dd096803752245eebf3b5e48e0215430dbfe225ae029b2e01fadca61bdd994b534a0ed140b0a0149aa9a0dde64409ebf0afdd2bf6fd7 SHA512 2d8e759bf3598f91e505732ef526b9a9120472e72131972b91aa3ac896d99a21c9e07b925ba1a7fb2068e4724f8b2efd187d541cc52e45b577ba5c5a6a80419d
diff --git a/net-libs/libhtp/libhtp-0.5.42.ebuild b/net-libs/libhtp/libhtp-0.5.42.ebuild
new file mode 100644
index 000000000000..5bbe9e699afb
--- /dev/null
+++ b/net-libs/libhtp/libhtp-0.5.42.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 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}"
+
+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"
+}