mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 12:18:08 -07:00
useflag to use libhtp instead of bundled one (#575144)
Package-Manager: portage-2.2.27
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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}"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user