From: Slawomir Lis Date: Sun, 21 Feb 2016 20:25:35 +0000 (+0100) Subject: drop system-htp use flag (#575144) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=909c0f0babd784307cae0c3d88c0e9e1d16f63b7;p=gentoo.git drop system-htp use flag (#575144) Package-Manager: portage-2.2.27 --- diff --git a/net-analyzer/ntopng/ntopng-2.0.ebuild b/net-analyzer/ntopng/ntopng-2.0.ebuild index b8aa18dd5b8c..1f16266f6ea7 100644 --- a/net-analyzer/ntopng/ntopng-2.0.ebuild +++ b/net-analyzer/ntopng/ntopng-2.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -inherit autotools user +inherit autotools eutils user DESCRIPTION="Network traffic analyzer with web interface" HOMEPAGE="http://www.ntop.org/" @@ -27,7 +27,26 @@ RDEPEND="${DEPEND} src_prepare() { cat "${S}/configure.seed" | sed "s/@VERSION@/${PV}/g" | sed "s/@SHORT_VERSION@/${PV}/g" > "${S}/configure.ac" + epatch "${FILESDIR}/${P}-dont-build-ndpi.patch" eautoreconf + + cd "${S}/nDPI" + eautoreconf +} + +src_configure() { + cd "${S}/nDPI" + econf + cd "${S}" + econf +} + +src_compile() { + cd "${S}/nDPI" + emake + + cd "${S}" + emake } src_install() { diff --git a/net-analyzer/suricata/metadata.xml b/net-analyzer/suricata/metadata.xml index 517666e56cef..0f80bed1d8da 100644 --- a/net-analyzer/suricata/metadata.xml +++ b/net-analyzer/suricata/metadata.xml @@ -13,6 +13,5 @@ Enable libnetfilter_log support Enable AF_PACKET support Enable AF_PACKET support - Use net-libs/libhtp instead of bundled one diff --git a/net-analyzer/suricata/suricata-2.0.11.ebuild b/net-analyzer/suricata/suricata-2.0.11.ebuild index 0323836a2407..a1a7eb39d390 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 system-htp test" +IUSE="+af-packet control-socket cuda debug +detection geoip hardened lua luajit nflog +nfqueue +rules test" DEPEND=" >=dev-libs/jansson-2.2 @@ -23,6 +23,7 @@ DEPEND=" net-libs/libnfnetlink dev-libs/nspr dev-libs/nss + >=net-libs/libhtp-0.5.18 net-libs/libpcap sys-apps/file cuda? ( dev-util/nvidia-cuda-toolkit ) @@ -31,7 +32,6 @@ 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 ) @@ -54,6 +54,7 @@ src_prepare() { src_configure() { local myeconfargs=( "--localstatedir=/var/" \ + "--enable-non-bundled-htp" \ $(use_enable af-packet) \ $(use_enable detection) \ $(use_enable nfqueue) \ @@ -85,9 +86,6 @@ src_configure() { # if use prelude ; then # myeconfargs+=( $(use_enable prelude) ) # fi - if use system-htp ; then - myeconfargs+=( $(use_enable system-htp non-bundled-htp) ) - fi if use lua ; then myeconfargs+=( $(use_enable lua) ) fi