From 382efeadc2b3115e3edcfd485725d6486acf26b6 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Fri, 4 Dec 2020 09:39:31 +0100 Subject: [PATCH] net-firewall/ipt_netflow: dot1d (bridge) use flag Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Alarig Le Lay --- net-firewall/ipt_netflow/ipt_netflow-2.5-r2.ebuild | 6 ++++-- net-firewall/ipt_netflow/metadata.xml | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/net-firewall/ipt_netflow/ipt_netflow-2.5-r2.ebuild b/net-firewall/ipt_netflow/ipt_netflow-2.5-r2.ebuild index 5959385..6a80801 100644 --- a/net-firewall/ipt_netflow/ipt_netflow-2.5-r2.ebuild +++ b/net-firewall/ipt_netflow/ipt_netflow-2.5-r2.ebuild @@ -15,7 +15,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="debug dot1q natevents snmp" +IUSE="debug dot1d dot1q natevents snmp" RDEPEND=" net-firewall/iptables:0= @@ -34,8 +34,9 @@ PATCHES=( pkg_setup() { linux-info_pkg_setup - local CONFIG_CHECK="BRIDGE_NETFILTER ~IP_NF_IPTABLES" + local CONFIG_CHECK="~IP_NF_IPTABLES" use debug && CONFIG_CHECK+=" ~DEBUG_FS" + use dot1d && CONFIG_CHECK+=" BRIDGE_NETFILTER" use dot1q && CONFIG_CHECK+=" VLAN_8021Q" if use natevents; then CONFIG_CHECK+=" NF_CONNTRACK_EVENTS" @@ -87,6 +88,7 @@ src_configure() { --kdir="${KV_DIR}" \ --kver="${KV_FULL}" \ $(use debug && echo '--enable-debugfs') \ + $(use dot1d && echo '--enable-physdev-override') \ $(use dot1q && echo '--enable-vlan') \ $(use natevents && echo '--enable-natevents') \ $(use snmp && echo '--enable-snmp-rules' || echo '--disable-snmp-agent') diff --git a/net-firewall/ipt_netflow/metadata.xml b/net-firewall/ipt_netflow/metadata.xml index a049265..1d80031 100644 --- a/net-firewall/ipt_netflow/metadata.xml +++ b/net-firewall/ipt_netflow/metadata.xml @@ -11,6 +11,7 @@ Netflow NAT translation events (NEL) support + Enable bridge support (to override interfaces) Enable tagged VLAN support