summaryrefslogtreecommitdiff
path: root/net-libs/libhtp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /net-libs/libhtp
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'net-libs/libhtp')
-rw-r--r--net-libs/libhtp/Manifest4
-rw-r--r--net-libs/libhtp/libhtp-0.5.31.ebuild37
-rw-r--r--net-libs/libhtp/metadata.xml5
3 files changed, 44 insertions, 2 deletions
diff --git a/net-libs/libhtp/Manifest b/net-libs/libhtp/Manifest
index beb8d4e46a61..0dfc3bce897c 100644
--- a/net-libs/libhtp/Manifest
+++ b/net-libs/libhtp/Manifest
@@ -1,3 +1,5 @@
DIST libhtp-0.5.22.tar.gz 5773159 BLAKE2B ae3b759624ce7c6063013810142fbc12544d60cfaa482ad82114b65374923871bb732c86051822fe78a539efbe5e139f480117a28fd4ba2fac9201a46b8eb99f SHA512 3daf7241e8abca34bf348e0fc805c755472ebba01a869d5523637a81dfd6b9b3019941dff2e75d6e0978ebfbd60d917191e355aa43a2391500ecaaddab487ebc
+DIST libhtp-0.5.31.tar.gz 495621 BLAKE2B 7c6c552dbecfc8e4314207c1b944dabee1172ebad608848a80549b1726b9b0d576c01b7ba1f79beb3912e5e79384d5c261cf7a548d8c8f49b20f77b2c9d71823 SHA512 8069afe87548a9cb29a883ebeb9fad05a79297fc567de22e9c1c030f5239d4373478bc3ed5ecb284e84401f1086f6a18a58e288f28381b96dbb5b71d60afa03a
EBUILD libhtp-0.5.22.ebuild 802 BLAKE2B 952ed01b70409f28eabb0297cdfc9b0c3ee18616172a71a9d3a94d70da005b98fdc06cf3a944646ab90d8b7f95f78f426e5eb24facc27108f33d0716ef972e8d SHA512 16e21e57bf13a605e40900f81406b378f5c05332bdd537c5279968975b80ba78d76f0129b8c083d7c234c5520589f2eecad0e1328fee3a11af4ce90c4b072f67
-MISC metadata.xml 239 BLAKE2B 5663c5db91a61423afef9ca57ba09e86a7510a559e5cc1c1eb31040d52992f0ff9ddda7d8da8ff0d1659f840a9945cf445d240467f3e4f3dcbeafdd88110ec08 SHA512 28e6cc728967776bcab01a267db4306577f203c0dd2daff89fb99af56f3414ba8675fe7015da268c246916d4d454382aae093f5ccbd233aa12ad605e85a5333d
+EBUILD libhtp-0.5.31.ebuild 856 BLAKE2B 662ab3523934bb8e16e01312f5c919d654cab285c063b59bc958a30c6c7ec140d6ad51fb89b4490a1167aeca1ea8675e46bea8ea56bed9c527db696abbe9312e SHA512 af7d56ce1d18b5248583d57698914b34c013c0a0a30ebd583272475337fa9206b59e501fcdc9d361e8fce7468e3b36829e05fbd0ca0fbc1c9f46ff3cdd56d1d7
+MISC metadata.xml 314 BLAKE2B e5d844caabcf76837a2fdd5d27d3aeefa56773856d21a49187139a38a0ca445a7647fa72928a239df94f88137e213ef7560020baf4c250ec5257b892bc2f7d24 SHA512 c8738803840e411351a88683e51e1c89b7f4ca635d3c2bf6062abee768ee0571fd4d3ea9cde45698c7427391a2b7e2603114e6455647cb88e40be151d9aff714
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
+}
diff --git a/net-libs/libhtp/metadata.xml b/net-libs/libhtp/metadata.xml
index 3b1b37df5a69..b2acb4cf4cfc 100644
--- a/net-libs/libhtp/metadata.xml
+++ b/net-libs/libhtp/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
+<maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+</maintainer>
<upstream>
<remote-id type="github">OISF/libhtp</remote-id>
</upstream>