Browse Source

net-firewall/ipt_netflow: Add IPv6/dot1q patch to all versions

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
net-dialup/freeradius-client
Alarig Le Lay 2 months ago
parent
commit
bbe997ba2a
Signed by: alarig <alarig@swordarmor.fr> GPG Key ID: 7AFE62C6DF8BCDEC
3 changed files with 11 additions and 6 deletions
  1. +2
    -1
      net-firewall/ipt_netflow/ipt_netflow-2.4.ebuild
  2. +5
    -3
      net-firewall/ipt_netflow/ipt_netflow-2.5.ebuild
  3. +4
    -2
      net-firewall/ipt_netflow/ipt_netflow-9999.ebuild

+ 2
- 1
net-firewall/ipt_netflow/ipt_netflow-2.4.ebuild View File

@@ -34,8 +34,9 @@ PATCHES=(
pkg_setup() {
linux-info_pkg_setup

use dot1q && local CONFIG_CHECK="~IP_NF_IPTABLES VLAN_8021Q"
local CONFIG_CHECK="~IP_NF_IPTABLES"
use debug && CONFIG_CHECK+=" ~DEBUG_FS"
use dot1q && CONFIG_CHECK+=" VLAN_8021Q"
if use natevents; then
CONFIG_CHECK+=" NF_CONNTRACK_EVENTS"
if kernel_is lt 5 2; then


+ 5
- 3
net-firewall/ipt_netflow/ipt_netflow-2.5.ebuild View File

@@ -15,7 +15,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="debug natevents snmp"
IUSE="debug dot1q natevents snmp"

RDEPEND="
net-firewall/iptables:0=
@@ -33,8 +33,9 @@ PATCHES=(
pkg_setup() {
linux-info_pkg_setup

local CONFIG_CHECK="BRIDGE_NETFILTER ~IP_NF_IPTABLES VLAN_8021Q"
local CONFIG_CHECK="BRIDGE_NETFILTER ~IP_NF_IPTABLES"
use debug && CONFIG_CHECK+=" ~DEBUG_FS"
use dot1q && CONFIG_CHECK+=" VLAN_8021Q"
if use natevents; then
CONFIG_CHECK+=" NF_CONNTRACK_EVENTS"
if kernel_is lt 5 2; then
@@ -79,13 +80,13 @@ src_configure() {
--enable-aggregation \
--enable-direction \
--enable-macaddress \
--enable-vlan \
--ipt-lib="${IPT_LIB}" \
--ipt-src="/usr/" \
--ipt-ver="${IPT_VERSION}" \
--kdir="${KV_DIR}" \
--kver="${KV_FULL}" \
$(use debug && echo '--enable-debugfs') \
$(use dot1q && echo '--enable-vlan') \
$(use natevents && echo '--enable-natevents') \
$(use snmp && echo '--enable-snmp-rules' || echo '--disable-snmp-agent')
}
@@ -98,6 +99,7 @@ src_install() {
linux-mod_src_install
exeinto "${IPT_LIB}"
doexe libipt_NETFLOW.so
doexe libip6t_NETFLOW.so
use snmp && emake DESTDIR="${D}" SNMPTGSO="/usr/$(get_libdir)/snmp/dlmod/snmp_NETFLOW.so" sinstall
doheader ipt_NETFLOW.h
dodoc README*


+ 4
- 2
net-firewall/ipt_netflow/ipt_netflow-9999.ebuild View File

@@ -33,8 +33,9 @@ PATCHES=(
pkg_setup() {
linux-info_pkg_setup

local CONFIG_CHECK="BRIDGE_NETFILTER ~IP_NF_IPTABLES VLAN_8021Q"
local CONFIG_CHECK="BRIDGE_NETFILTER ~IP_NF_IPTABLES"
use debug && CONFIG_CHECK+=" ~DEBUG_FS"
use dot1q && CONFIG_CHECK+=" VLAN_8021Q"
if use natevents; then
CONFIG_CHECK+=" NF_CONNTRACK_EVENTS"
if kernel_is lt 5 2; then
@@ -80,13 +81,13 @@ src_configure() {
--enable-aggregation \
--enable-direction \
--enable-macaddress \
--enable-vlan \
--ipt-lib="${IPT_LIB}" \
--ipt-src="/usr/" \
--ipt-ver="${IPT_VERSION}" \
--kdir="${KV_DIR}" \
--kver="${KV_FULL}" \
$(use debug && echo '--enable-debugfs') \
$(use dot1q && echo '--enable-vlan') \
$(use natevents && echo '--enable-natevents') \
$(use snmp && echo '--enable-snmp-rules' || echo '--disable-snmp-agent')
}
@@ -99,6 +100,7 @@ src_install() {
linux-mod_src_install
exeinto "${IPT_LIB}"
doexe libipt_NETFLOW.so
doexe libip6t_NETFLOW.so
use snmp && emake DESTDIR="${D}" SNMPTGSO="/usr/$(get_libdir)/snmp/dlmod/snmp_NETFLOW.so" sinstall
doheader ipt_NETFLOW.h
dodoc README*


Loading…
Cancel
Save