Gentoo Archives: gentoo-commits

From: Slawek Lis <slis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libhtp/
Date: Mon, 10 Oct 2016 19:09:01
Message-Id: 1476126524.85629e4c04a16d5022ea6c7ccdf870e756389a1a.slis@gentoo
1 commit: 85629e4c04a16d5022ea6c7ccdf870e756389a1a
2 Author: Slawomir Lis <slis <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 10 19:05:47 2016 +0000
4 Commit: Slawek Lis <slis <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 10 19:08:44 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85629e4c
7
8 net-libs/libhtp: version bump to libhtp-0.5.22
9
10 As >=libhtp-0.5.20 is needed by latest net-analyzer/suricata
11 I had to update this library (#587786 #595524)
12
13 Package-Manager: portage-2.3.1
14
15 net-libs/libhtp/Manifest | 1 +
16 net-libs/libhtp/libhtp-0.5.22.ebuild | 35 +++++++++++++++++++++++++++++++++++
17 2 files changed, 36 insertions(+)
18
19 diff --git a/net-libs/libhtp/Manifest b/net-libs/libhtp/Manifest
20 index 79fe4ba..194e86e 100644
21 --- a/net-libs/libhtp/Manifest
22 +++ b/net-libs/libhtp/Manifest
23 @@ -1 +1,2 @@
24 DIST htp-0.5.18.tar.gz 799444 SHA256 53f81a2b639edbd9df9f1f0cebcfe9c2a2b381f9d61e2944c020b855a7e89a79 SHA512 e3efaedb74b8a0655b58922f2d0a079f5dfb5dcead117e21394d5d76ff93a3a7260ab56994468764ceeaa2dd584bcfa988b146efb85831e8a98efcda06b28876 WHIRLPOOL 816456580434b2254af8e88e24ff80e5721966ee742bbb89870324e9edcf12bfee4a54727855937c7bbb0d44ba9423dcf714f93a713287dbf0777ca5eeb93c86
25 +DIST libhtp-0.5.22.tar.gz 5773159 SHA256 0f5ba5b0316b3c0caaa5c45a792271a61d01c667e76f8e37f1d186cb865f5663 SHA512 3daf7241e8abca34bf348e0fc805c755472ebba01a869d5523637a81dfd6b9b3019941dff2e75d6e0978ebfbd60d917191e355aa43a2391500ecaaddab487ebc WHIRLPOOL 59a530fec6bba98c1714ca49394167cfb4a6ba079562a28e6c10a0b9fbf82e71e1ab7a7532050a20c2908a6b0673f55812cb9be81ad9da249b9296a1d6698b97
26
27 diff --git a/net-libs/libhtp/libhtp-0.5.22.ebuild b/net-libs/libhtp/libhtp-0.5.22.ebuild
28 new file mode 100644
29 index 00000000..d04d319
30 --- /dev/null
31 +++ b/net-libs/libhtp/libhtp-0.5.22.ebuild
32 @@ -0,0 +1,35 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI="5"
38 +
39 +inherit autotools multilib-minimal
40 +
41 +DESCRIPTION="security-aware parser for the HTTP protocol and the related bits and pieces"
42 +HOMEPAGE="https://github.com/OISF/libhtp"
43 +SRC_URI="https://github.com/OISF/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="BSD"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
48 +IUSE="debug static-libs"
49 +
50 +RDEPEND="sys-libs/zlib[static-libs?]"
51 +DEPEND="${RDEPEND}"
52 +
53 +src_prepare() {
54 + eautoreconf
55 +}
56 +
57 +multilib_src_configure() {
58 + # The debug configure logic is broken.
59 + ECONF_SOURCE=${S} \
60 + econf \
61 + $(usex debug '--enable-debug' '') \
62 + $(use_enable static-libs static)
63 +}
64 +
65 +multilib_src_install_all() {
66 + use static-libs || find "${ED}" -name '*.la' -delete
67 +}