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-analyzer/suricata/
Date: Fri, 19 Feb 2016 20:20:09
Message-Id: 1455913430.b78db6c8dcc6826a4f544e7269faec38f90dcd49.slis@gentoo
1 commit: b78db6c8dcc6826a4f544e7269faec38f90dcd49
2 Author: Slawomir Lis <slis <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 19 20:23:50 2016 +0000
4 Commit: Slawek Lis <slis <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 19 20:23:50 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b78db6c8
7
8 useflag to use libhtp instead of bundled one (#575144)
9
10 Package-Manager: portage-2.2.27
11
12 net-analyzer/suricata/metadata.xml | 1 +
13 net-analyzer/suricata/suricata-2.0.11.ebuild | 13 ++++++-------
14 2 files changed, 7 insertions(+), 7 deletions(-)
15
16 diff --git a/net-analyzer/suricata/metadata.xml b/net-analyzer/suricata/metadata.xml
17 index 0f80bed..517666e 100644
18 --- a/net-analyzer/suricata/metadata.xml
19 +++ b/net-analyzer/suricata/metadata.xml
20 @@ -13,5 +13,6 @@
21 <flag name="nflog">Enable libnetfilter_log support</flag>
22 <flag name="nfqueue">Enable AF_PACKET support</flag>
23 <flag name="rules">Enable AF_PACKET support</flag>
24 + <flag name="system-htp">Use net-libs/libhtp instead of bundled one</flag>
25 </use>
26 </pkgmetadata>
27
28 diff --git a/net-analyzer/suricata/suricata-2.0.11.ebuild b/net-analyzer/suricata/suricata-2.0.11.ebuild
29 index 250c663..0323836 100644
30 --- a/net-analyzer/suricata/suricata-2.0.11.ebuild
31 +++ b/net-analyzer/suricata/suricata-2.0.11.ebuild
32 @@ -13,7 +13,7 @@ SRC_URI="http://www.openinfosecfoundation.org/download/${P}.tar.gz"
33 LICENSE="GPL-2"
34 SLOT="0"
35 KEYWORDS="~amd64 ~x86"
36 -IUSE="+af-packet control-socket cuda debug +detection geoip hardened lua luajit nflog +nfqueue +rules test"
37 +IUSE="+af-packet control-socket cuda debug +detection geoip hardened lua luajit nflog +nfqueue +rules system-htp test"
38
39 DEPEND="
40 >=dev-libs/jansson-2.2
41 @@ -31,11 +31,11 @@ DEPEND="
42 luajit? ( dev-lang/luajit:* )
43 nflog? ( net-libs/libnetfilter_log )
44 nfqueue? ( net-libs/libnetfilter_queue )
45 + system-htp? ( >=net-libs/libhtp-0.5.18 )
46 "
47 # #446814
48 # prelude? ( dev-libs/libprelude )
49 # pfring? ( sys-process/numactl net-libs/pf_ring)
50 -# system-htp? ( >=net-analyzer/htp-0.5.5 )
51 RDEPEND="${DEPEND}"
52
53 pkg_setup() {
54 @@ -85,10 +85,9 @@ src_configure() {
55 # if use prelude ; then
56 # myeconfargs+=( $(use_enable prelude) )
57 # fi
58 - # htp not added into portage yet
59 -# if use system-htp ; then
60 -# myeconfargs+=( $(use_enable system-htp non-bundled-htp) )
61 -# fi
62 + if use system-htp ; then
63 + myeconfargs+=( $(use_enable system-htp non-bundled-htp) )
64 + fi
65 if use lua ; then
66 myeconfargs+=( $(use_enable lua) )
67 fi
68 @@ -117,4 +116,4 @@ src_install() {
69 dodir "/var/log/${PN}"
70 fowners -R ${PN}: "/var/lib/${PN}" "/var/log/${PN}" "/etc/${PN}"
71 fperms 750 "/var/lib/${PN}" "/var/log/${PN}" "/etc/${PN}"
72 -}
73 \ No newline at end of file
74 +}