From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1131563-garchives=archives.gentoo.org@lists.gentoo.org>
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 E2978138335
	for <garchives@archives.gentoo.org>; Tue, 17 Dec 2019 12:48:36 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D749BE0826;
	Tue, 17 Dec 2019 12:48:35 +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 AF5DCE0826
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 Dec 2019 12:48:35 +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 9B31934D44A
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 Dec 2019 12:48:34 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C8F58C6
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 Dec 2019 12:48:33 +0000 (UTC)
From: "Marek Szuba" <marecki@gentoo.org>
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" <marecki@gentoo.org>
Message-ID: <1576586899.7a081c93a920c51a0a1481dec1bc75ed65aada2d.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.32.ebuild
X-VCS-Directories: net-libs/libhtp/
X-VCS-Committer: marecki
X-VCS-Committer-Name: Marek Szuba
X-VCS-Revision: 7a081c93a920c51a0a1481dec1bc75ed65aada2d
X-VCS-Branch: master
Date: Tue, 17 Dec 2019 12:48:33 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 629ee4be-b2a5-4c97-9eab-76371f831461
X-Archives-Hash: 6a3bbf727f3c2c29e23358079f06f89b

commit:     7a081c93a920c51a0a1481dec1bc75ed65aada2d
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 17 12:23:57 2019 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Dec 17 12:48:19 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a081c93

net-libs/libhtp: bump to 0.5.32

Closes: https://bugs.gentoo.org/703178
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 net-libs/libhtp/Manifest             |  1 +
 net-libs/libhtp/libhtp-0.5.32.ebuild | 37 ++++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/net-libs/libhtp/Manifest b/net-libs/libhtp/Manifest
index d95ffc2744b..6309b387b8e 100644
--- a/net-libs/libhtp/Manifest
+++ b/net-libs/libhtp/Manifest
@@ -1,2 +1,3 @@
 DIST libhtp-0.5.22.tar.gz 5773159 BLAKE2B ae3b759624ce7c6063013810142fbc12544d60cfaa482ad82114b65374923871bb732c86051822fe78a539efbe5e139f480117a28fd4ba2fac9201a46b8eb99f SHA512 3daf7241e8abca34bf348e0fc805c755472ebba01a869d5523637a81dfd6b9b3019941dff2e75d6e0978ebfbd60d917191e355aa43a2391500ecaaddab487ebc
 DIST libhtp-0.5.31.tar.gz 495621 BLAKE2B 7c6c552dbecfc8e4314207c1b944dabee1172ebad608848a80549b1726b9b0d576c01b7ba1f79beb3912e5e79384d5c261cf7a548d8c8f49b20f77b2c9d71823 SHA512 8069afe87548a9cb29a883ebeb9fad05a79297fc567de22e9c1c030f5239d4373478bc3ed5ecb284e84401f1086f6a18a58e288f28381b96dbb5b71d60afa03a
+DIST libhtp-0.5.32.tar.gz 496086 BLAKE2B 73a9a3cdfe45326a01a53597d25cf30535780de84770a47bd6ea425d5891db893bb0afa77dbaa23fb8c32c6c66c568d3fcd8df78d64fe569056f252ffc89cf04 SHA512 3df877b158b40a2c59bc66c0caf589d51b20d1d3ca27dab82f516693c22bfb9d6845305cfd42bf1a61c5df98a05fcad25850cc78cf948047600d6783ace7fc63

diff --git a/net-libs/libhtp/libhtp-0.5.32.ebuild b/net-libs/libhtp/libhtp-0.5.32.ebuild
new file mode 100644
index 00000000000..d737b3ef282
--- /dev/null
+++ b/net-libs/libhtp/libhtp-0.5.32.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 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
+}