commit: b78db6c8dcc6826a4f544e7269faec38f90dcd49
Author: Slawomir Lis <slis <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 19 20:23:50 2016 +0000
Commit: Slawek Lis <slis <AT> gentoo <DOT> org>
CommitDate: Fri Feb 19 20:23:50 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b78db6c8
useflag to use libhtp instead of bundled one (#575144)
Package-Manager: portage-2.2.27
net-analyzer/suricata/metadata.xml | 1 +
net-analyzer/suricata/suricata-2.0.11.ebuild | 13 ++++++-------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/net-analyzer/suricata/metadata.xml
b/net-analyzer/suricata/metadata.xml
index 0f80bed..517666e 100644
--- a/net-analyzer/suricata/metadata.xml
+++ b/net-analyzer/suricata/metadata.xml
@@ -13,5 +13,6 @@
<flag name="nflog">Enable libnetfilter_log support</flag>
<flag name="nfqueue">Enable AF_PACKET support</flag>
<flag name="rules">Enable AF_PACKET support</flag>
+ <flag name="system-htp">Use net-libs/libhtp instead of bundled one</flag>
</use>
</pkgmetadata>
diff --git a/net-analyzer/suricata/suricata-2.0.11.ebuild
b/net-analyzer/suricata/suricata-2.0.11.ebuild
index 250c663..0323836 100644
--- a/net-analyzer/suricata/suricata-2.0.11.ebuild
+++ b/net-analyzer/suricata/suricata-2.0.11.ebuild
@@ -13,7 +13,7 @@
SRC_URI="http://www.openinfosecfoundation.org/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="+af-packet control-socket cuda debug +detection geoip hardened lua
luajit nflog +nfqueue +rules test"
+IUSE="+af-packet control-socket cuda debug +detection geoip hardened lua
luajit nflog +nfqueue +rules system-htp test"
DEPEND="
>=dev-libs/jansson-2.2
@@ -31,11 +31,11 @@ DEPEND="
luajit? ( dev-lang/luajit:* )
nflog? ( net-libs/libnetfilter_log )
nfqueue? ( net-libs/libnetfilter_queue )
+ system-htp? ( >=net-libs/libhtp-0.5.18 )
"
# #446814
# prelude? ( dev-libs/libprelude )
# pfring? ( sys-process/numactl net-libs/pf_ring)
-# system-htp? ( >=net-analyzer/htp-0.5.5 )
RDEPEND="${DEPEND}"
pkg_setup() {
@@ -85,10 +85,9 @@ src_configure() {
# if use prelude ; then
# myeconfargs+=( $(use_enable prelude) )
# fi
- # htp not added into portage yet
-# if use system-htp ; then
-# myeconfargs+=( $(use_enable system-htp non-bundled-htp) )
-# fi
+ if use system-htp ; then
+ myeconfargs+=( $(use_enable system-htp non-bundled-htp) )
+ fi
if use lua ; then
myeconfargs+=( $(use_enable lua) )
fi
@@ -117,4 +116,4 @@ src_install() {
dodir "/var/log/${PN}"
fowners -R ${PN}: "/var/lib/${PN}" "/var/log/${PN}" "/etc/${PN}"
fperms 750 "/var/lib/${PN}" "/var/log/${PN}" "/etc/${PN}"
-}
\ No newline at end of file
+}