Skip to content

Commit

Permalink
net-libs/libhtp: version bump to libhtp-0.5.22
Browse files Browse the repository at this point in the history
As >=libhtp-0.5.20 is needed by latest net-analyzer/suricata
I had to update this library (#587786 #595524)

Package-Manager: portage-2.3.1
  • Loading branch information
Slawomir Lis committed Oct 10, 2016
1 parent c72e3ed commit 85629e4
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-libs/libhtp/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST htp-0.5.18.tar.gz 799444 SHA256 53f81a2b639edbd9df9f1f0cebcfe9c2a2b381f9d61e2944c020b855a7e89a79 SHA512 e3efaedb74b8a0655b58922f2d0a079f5dfb5dcead117e21394d5d76ff93a3a7260ab56994468764ceeaa2dd584bcfa988b146efb85831e8a98efcda06b28876 WHIRLPOOL 816456580434b2254af8e88e24ff80e5721966ee742bbb89870324e9edcf12bfee4a54727855937c7bbb0d44ba9423dcf714f93a713287dbf0777ca5eeb93c86
DIST libhtp-0.5.22.tar.gz 5773159 SHA256 0f5ba5b0316b3c0caaa5c45a792271a61d01c667e76f8e37f1d186cb865f5663 SHA512 3daf7241e8abca34bf348e0fc805c755472ebba01a869d5523637a81dfd6b9b3019941dff2e75d6e0978ebfbd60d917191e355aa43a2391500ecaaddab487ebc WHIRLPOOL 59a530fec6bba98c1714ca49394167cfb4a6ba079562a28e6c10a0b9fbf82e71e1ab7a7532050a20c2908a6b0673f55812cb9be81ad9da249b9296a1d6698b97
35 changes: 35 additions & 0 deletions net-libs/libhtp/libhtp-0.5.22.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="5"

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() {
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() {
use static-libs || find "${ED}" -name '*.la' -delete
}

0 comments on commit 85629e4

Please sign in to comment.