From 992a3009f0d3b0fce831cb852e3469a13dc96e50 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Thu, 3 Dec 2020 11:52:56 +0100 Subject: [PATCH] net-firewall/ipt_netflow: 2.5 stabilisation Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Alarig Le Lay ipt_netflow-2.5-r2.ebuild} | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) rename net-firewall/ipt_netflow/{ipt_netflow-2.5-r1.ebuild => ipt_netflow-2.5-r2.ebuild} (92%) diff --git a/net-firewall/ipt_netflow/ipt_netflow-2.5-r1.ebuild b/net-firewall/ipt_netflow/ipt_netflow-2.5-r2.ebuild similarity index 92% rename from net-firewall/ipt_netflow/ipt_netflow-2.5-r1.ebuild rename to net-firewall/ipt_netflow/ipt_netflow-2.5-r2.ebuild index b426de2..5959385 100644 --- a/net-firewall/ipt_netflow/ipt_netflow-2.5-r1.ebuild +++ b/net-firewall/ipt_netflow/ipt_netflow-2.5-r2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/aabc/ipt-netflow/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="debug dot1q natevents snmp" @@ -28,6 +28,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${PN}-2.0-configure.patch" # bug #455984 "${FILESDIR}/${PN}-2.5-gentoo.patch" + "${FILESDIR}/${P}-vlan_dev_priv.patch" ) pkg_setup() { @@ -92,15 +93,17 @@ src_configure() { } src_compile() { - emake ARCH="$(tc-arch-kernel)" CC="$(tc-getCC)" all + emake ARCH="$(tc-arch-kernel)" CC="$(tc-getCC)" LD="$(tc-getLD)" OBJDUMP="$(tc-getOBJDUMP)" all } 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 + + exeinto "${IPT_LIB}" + doexe libip{,6}t_NETFLOW.so + doheader ipt_NETFLOW.h dodoc README* }