diff options
Diffstat (limited to 'net-firewall/ipt_netflow/ipt_netflow-9999.ebuild')
-rw-r--r-- | net-firewall/ipt_netflow/ipt_netflow-9999.ebuild | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/net-firewall/ipt_netflow/ipt_netflow-9999.ebuild b/net-firewall/ipt_netflow/ipt_netflow-9999.ebuild index 6d8feeb6e0a2..71ba1b74afbf 100644 --- a/net-firewall/ipt_netflow/ipt_netflow-9999.ebuild +++ b/net-firewall/ipt_netflow/ipt_netflow-9999.ebuild @@ -25,36 +25,29 @@ DEPEND="${RDEPEND} virtual/linux-sources virtual/pkgconfig " - -# set S before MODULE_NAMES PATCHES=( "${FILESDIR}/${PN}-2.0-configure.patch" # bug #455984 + "${FILESDIR}/${PN}-2.3-flags.patch" ) pkg_setup() { BUILD_TARGETS="all" MODULE_NAMES="ipt_NETFLOW(ipt_netflow:${S})" IPT_LIB="/usr/$(get_libdir)/xtables" - local CONFIG_CHECK="~IP_NF_IPTABLES" + local CONFIG_CHECK="~IP_NF_IPTABLES VLAN_8021Q" use debug && CONFIG_CHECK+=" ~DEBUG_FS" use natevents && CONFIG_CHECK+=" NF_CONNTRACK_EVENTS NF_NAT_NEEDED" linux-mod_pkg_setup } src_prepare() { - sed -i \ - -e 's:make -C:$(MAKE) -C:g' \ - -e 's:gcc -O2:$(CC) $(CFLAGS) $(LDFLAGS):' \ - -e 's:gcc:$(CC) $(CFLAGS) $(LDFLAGS):' \ - Makefile.in || die + default # Fix incorrect module version in sources sed -i -e "/IPT_NETFLOW_VERSION/s/2.2/${PV}/" ipt_NETFLOW.c || die # Checking for directory is enough sed -i -e 's:-s /etc/snmp/snmpd.conf:-d /etc/snmp:' configure || die - - default } do_conf() { |