diff options
author | Marek Szuba <marecki@gentoo.org> | 2019-12-05 09:56:52 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2019-12-05 10:09:21 +0000 |
commit | 33c9acd427d9573d04db2da23db34a41b56388c9 (patch) | |
tree | 2eb68afcab41ac2dcc2e8635492b083adff89037 /net-libs/libhtp | |
parent | media-gfx/evoluspencil: fix collision with media-gfx/pencil (diff) | |
download | gentoo-33c9acd427d9573d04db2da23db34a41b56388c9.tar.gz gentoo-33c9acd427d9573d04db2da23db34a41b56388c9.tar.bz2 gentoo-33c9acd427d9573d04db2da23db34a41b56388c9.zip |
net-libs/libhtp: bump to 0.5.31 and EAPI 7
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/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libhtp/libhtp-0.5.31.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/net-libs/libhtp/Manifest b/net-libs/libhtp/Manifest index 20226872afae..d95ffc2744b2 100644 --- a/net-libs/libhtp/Manifest +++ b/net-libs/libhtp/Manifest @@ -1 +1,2 @@ DIST libhtp-0.5.22.tar.gz 5773159 BLAKE2B ae3b759624ce7c6063013810142fbc12544d60cfaa482ad82114b65374923871bb732c86051822fe78a539efbe5e139f480117a28fd4ba2fac9201a46b8eb99f SHA512 3daf7241e8abca34bf348e0fc805c755472ebba01a869d5523637a81dfd6b9b3019941dff2e75d6e0978ebfbd60d917191e355aa43a2391500ecaaddab487ebc +DIST libhtp-0.5.31.tar.gz 495621 BLAKE2B 7c6c552dbecfc8e4314207c1b944dabee1172ebad608848a80549b1726b9b0d576c01b7ba1f79beb3912e5e79384d5c261cf7a548d8c8f49b20f77b2c9d71823 SHA512 8069afe87548a9cb29a883ebeb9fad05a79297fc567de22e9c1c030f5239d4373478bc3ed5ecb284e84401f1086f6a18a58e288f28381b96dbb5b71d60afa03a diff --git a/net-libs/libhtp/libhtp-0.5.31.ebuild b/net-libs/libhtp/libhtp-0.5.31.ebuild new file mode 100644 index 000000000000..d737b3ef282d --- /dev/null +++ b/net-libs/libhtp/libhtp-0.5.31.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 +} |