commit:     2080a4c05f9ab374d8f2303ecdff293ac666f1ab
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 19:00:37 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> 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 <marecki <AT> 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
+}

Reply via email to