summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2019-12-17 12:23:57 +0000
committerMarek Szuba <marecki@gentoo.org>2019-12-17 12:48:19 +0000
commit7a081c93a920c51a0a1481dec1bc75ed65aada2d (patch)
tree0b6b386b53baebbd8c34f940205315969ecc8e7d /net-libs/libhtp
parentmedia-gfx/plantuml: 1.2019.13 bump (diff)
downloadgentoo-7a081c93a920c51a0a1481dec1bc75ed65aada2d.tar.gz
gentoo-7a081c93a920c51a0a1481dec1bc75ed65aada2d.tar.bz2
gentoo-7a081c93a920c51a0a1481dec1bc75ed65aada2d.zip
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@gentoo.org>
Diffstat (limited to 'net-libs/libhtp')
-rw-r--r--net-libs/libhtp/Manifest1
-rw-r--r--net-libs/libhtp/libhtp-0.5.32.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/net-libs/libhtp/Manifest b/net-libs/libhtp/Manifest
index d95ffc2744b2..6309b387b8eb 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 000000000000..d737b3ef282d
--- /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
+}