commit: 4a82baeb81975640ef3840783cf979b94a178a99
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 10 01:17:28 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 10 01:17:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a82baeb
net-firewall/ipt_netflow: BDEPEND for EAPI 7
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/ipt_netflow/ipt_netflow-2.5.1-r1.ebuild | 7 +++++--
net-firewall/ipt_netflow/ipt_netflow-9999.ebuild | 9 +++++----
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/net-firewall/ipt_netflow/ipt_netflow-2.5.1-r1.ebuild
b/net-firewall/ipt_netflow/ipt_netflow-2.5.1-r1.ebuild
index d64a581002f..bf18a5d0083 100644
--- a/net-firewall/ipt_netflow/ipt_netflow-2.5.1-r1.ebuild
+++ b/net-firewall/ipt_netflow/ipt_netflow-2.5.1-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit linux-info linux-mod toolchain-funcs
DESCRIPTION="Netflow iptables module"
@@ -21,10 +22,12 @@ RDEPEND="
net-firewall/iptables:0=
snmp? ( net-analyzer/net-snmp )
"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
virtual/linux-sources
virtual/pkgconfig
"
+
PATCHES=(
"${FILESDIR}/${PN}-2.0-configure.patch" # bug #455984
"${FILESDIR}/${PN}-2.5-gentoo.patch"
diff --git a/net-firewall/ipt_netflow/ipt_netflow-9999.ebuild
b/net-firewall/ipt_netflow/ipt_netflow-9999.ebuild
index d4305e2fc5c..55047faefa3 100644
--- a/net-firewall/ipt_netflow/ipt_netflow-9999.ebuild
+++ b/net-firewall/ipt_netflow/ipt_netflow-9999.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit git-r3 linux-info linux-mod toolchain-funcs
DESCRIPTION="Netflow iptables module"
@@ -13,18 +14,18 @@ EGIT_REPO_URI="https://github.com/aabc/ipt-netflow"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS=""
-
IUSE="debug natevents snmp"
RDEPEND="
net-firewall/iptables:0=
snmp? ( net-analyzer/net-snmp )
"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
virtual/linux-sources
virtual/pkgconfig
"
+
PATCHES=(
"${FILESDIR}/${PN}-2.0-configure.patch" # bug #455984
"${FILESDIR}/${PN}-9999-gentoo.patch"