1 |
commit: 909c0f0babd784307cae0c3d88c0e9e1d16f63b7 |
2 |
Author: Slawomir Lis <slis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 21 20:25:35 2016 +0000 |
4 |
Commit: Slawek Lis <slis <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 06:12:16 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=909c0f0b |
7 |
|
8 |
drop system-htp use flag (#575144) |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
net-analyzer/ntopng/ntopng-2.0.ebuild | 23 +++++++++++++++++++++-- |
13 |
net-analyzer/suricata/metadata.xml | 1 - |
14 |
net-analyzer/suricata/suricata-2.0.11.ebuild | 8 +++----- |
15 |
3 files changed, 24 insertions(+), 8 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/ntopng/ntopng-2.0.ebuild b/net-analyzer/ntopng/ntopng-2.0.ebuild |
18 |
index b8aa18d..1f16266 100644 |
19 |
--- a/net-analyzer/ntopng/ntopng-2.0.ebuild |
20 |
+++ b/net-analyzer/ntopng/ntopng-2.0.ebuild |
21 |
@@ -1,9 +1,9 @@ |
22 |
-# Copyright 1999-2015 Gentoo Foundation |
23 |
+# Copyright 1999-2016 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
# $Id$ |
26 |
|
27 |
EAPI=5 |
28 |
-inherit autotools user |
29 |
+inherit autotools eutils user |
30 |
|
31 |
DESCRIPTION="Network traffic analyzer with web interface" |
32 |
HOMEPAGE="http://www.ntop.org/" |
33 |
@@ -27,7 +27,26 @@ RDEPEND="${DEPEND} |
34 |
|
35 |
src_prepare() { |
36 |
cat "${S}/configure.seed" | sed "s/@VERSION@/${PV}/g" | sed "s/@SHORT_VERSION@/${PV}/g" > "${S}/configure.ac" |
37 |
+ epatch "${FILESDIR}/${P}-dont-build-ndpi.patch" |
38 |
eautoreconf |
39 |
+ |
40 |
+ cd "${S}/nDPI" |
41 |
+ eautoreconf |
42 |
+} |
43 |
+ |
44 |
+src_configure() { |
45 |
+ cd "${S}/nDPI" |
46 |
+ econf |
47 |
+ cd "${S}" |
48 |
+ econf |
49 |
+} |
50 |
+ |
51 |
+src_compile() { |
52 |
+ cd "${S}/nDPI" |
53 |
+ emake |
54 |
+ |
55 |
+ cd "${S}" |
56 |
+ emake |
57 |
} |
58 |
|
59 |
src_install() { |
60 |
|
61 |
diff --git a/net-analyzer/suricata/metadata.xml b/net-analyzer/suricata/metadata.xml |
62 |
index 517666e..0f80bed 100644 |
63 |
--- a/net-analyzer/suricata/metadata.xml |
64 |
+++ b/net-analyzer/suricata/metadata.xml |
65 |
@@ -13,6 +13,5 @@ |
66 |
<flag name="nflog">Enable libnetfilter_log support</flag> |
67 |
<flag name="nfqueue">Enable AF_PACKET support</flag> |
68 |
<flag name="rules">Enable AF_PACKET support</flag> |
69 |
- <flag name="system-htp">Use net-libs/libhtp instead of bundled one</flag> |
70 |
</use> |
71 |
</pkgmetadata> |
72 |
|
73 |
diff --git a/net-analyzer/suricata/suricata-2.0.11.ebuild b/net-analyzer/suricata/suricata-2.0.11.ebuild |
74 |
index 0323836..a1a7eb3 100644 |
75 |
--- a/net-analyzer/suricata/suricata-2.0.11.ebuild |
76 |
+++ b/net-analyzer/suricata/suricata-2.0.11.ebuild |
77 |
@@ -13,7 +13,7 @@ SRC_URI="http://www.openinfosecfoundation.org/download/${P}.tar.gz" |
78 |
LICENSE="GPL-2" |
79 |
SLOT="0" |
80 |
KEYWORDS="~amd64 ~x86" |
81 |
-IUSE="+af-packet control-socket cuda debug +detection geoip hardened lua luajit nflog +nfqueue +rules system-htp test" |
82 |
+IUSE="+af-packet control-socket cuda debug +detection geoip hardened lua luajit nflog +nfqueue +rules test" |
83 |
|
84 |
DEPEND=" |
85 |
>=dev-libs/jansson-2.2 |
86 |
@@ -23,6 +23,7 @@ DEPEND=" |
87 |
net-libs/libnfnetlink |
88 |
dev-libs/nspr |
89 |
dev-libs/nss |
90 |
+ >=net-libs/libhtp-0.5.18 |
91 |
net-libs/libpcap |
92 |
sys-apps/file |
93 |
cuda? ( dev-util/nvidia-cuda-toolkit ) |
94 |
@@ -31,7 +32,6 @@ DEPEND=" |
95 |
luajit? ( dev-lang/luajit:* ) |
96 |
nflog? ( net-libs/libnetfilter_log ) |
97 |
nfqueue? ( net-libs/libnetfilter_queue ) |
98 |
- system-htp? ( >=net-libs/libhtp-0.5.18 ) |
99 |
" |
100 |
# #446814 |
101 |
# prelude? ( dev-libs/libprelude ) |
102 |
@@ -54,6 +54,7 @@ src_prepare() { |
103 |
src_configure() { |
104 |
local myeconfargs=( |
105 |
"--localstatedir=/var/" \ |
106 |
+ "--enable-non-bundled-htp" \ |
107 |
$(use_enable af-packet) \ |
108 |
$(use_enable detection) \ |
109 |
$(use_enable nfqueue) \ |
110 |
@@ -85,9 +86,6 @@ src_configure() { |
111 |
# if use prelude ; then |
112 |
# myeconfargs+=( $(use_enable prelude) ) |
113 |
# fi |
114 |
- if use system-htp ; then |
115 |
- myeconfargs+=( $(use_enable system-htp non-bundled-htp) ) |
116 |
- fi |
117 |
if use lua ; then |
118 |
myeconfargs+=( $(use_enable lua) ) |
119 |
fi |