Subversion Repositories ALCASAR

Rev

Rev 2728 | Blame | Last modification | View Log

Name:           ipt-netflow
Version:        2.3
Release:        %mkrel 7
Summary:        Netflow iptables module for Linux kernel
License:        GPLv2
Packager:       Richard REY (Rexy)
Group:          Development/Kernel
URL:            https://github.com/aabc/ipt-netflow
BuildRequires:  iptables-devel
Source0:        %name-%version.tgz
%define kversion 4.14.119-server-1.mga6

%description
High performance NetFlow v5, v9, IPFIX flow data export module for Linux kernel.
Created to be useful for highly loaded linux router. It should be used as iptables target.

%prep
%setup -q -n ipt-netflow-%{version}

%build
./configure --disable-dkms --disable-snmp-agent
%make_build 

%install
%make_install
mkdir -p %{buildroot}/lib64/iptables
mkdir -p %{buildroot}/lib/modules/%kversion/extra
cp /lib64/iptables/libipt_NETFLOW.so %{buildroot}/lib64/iptables/
cp /lib64/iptables/libip6t_NETFLOW.so %{buildroot}/lib64/iptables/
cp /lib/modules/%kversion/extra/ipt_NETFLOW.ko %{buildroot}/lib/modules/%kversion/extra/

%clean
rm -rf %{buildroot}

%post
/sbin/depmod -a %kversion

%postun
/sbin/depmod -a %kversion

%files 
/%{_lib}/iptables/libipt_NETFLOW.so
/%{_lib}/iptables/libip6t_NETFLOW.so
/lib/modules/%kversion/extra/ipt_NETFLOW.ko

%changelog
* Tue May 21 2019 Richard REY <Rexy>
- Version 2.3 for the kernel 4.14.119 (ALCASAR 3.4)
* Wed Jan 02 2019 Richard REY <Rexy>
- Version 2.3 for the kernel 4.14.89 (ALCASAR 3.3.3)
* Sun Nov 04 2018 Richard REY <Rexy>
- Version 2.3 for the kernel 4.14.74 (ALCASAR 3.3.2)
* Sun Aug 19 2018 Richard REY <Rexy>
- Version 2.3 for the kernel 4.14.69 (ALCASAR 3.3.1)
* Wed Jul 25 2018 Richard REY <Rexy>
- Version 2.3 for the kernel 4.14.56 (ALCASAR 3.3)
* Mon Feb 26 2018 Tom Houdayer
- Version 2.2 for the kernel 4.14.20 (ALCASAR 3.2.1)
* Wed Oct 11 2017 Tom Houdayer
- Version 2.2 for the kernel 4.9.50 (ALCASAR 3.2)
* Mon Jul 03 2017 Richard Rey <rexy>
- Version 2.1 for the kernel 4.4.74 (alcasar 3.1.3)
* Sun May 28 2017 Richard Rey <rexy> 
- Version for the kernel 4.4.68 (alcasar 3.1.2)
* Thu Apr 06 2017 Richard Rey <rexy> 
- Version for the kernel 4.4.59 (alcasar 3.1.1)
* Mon Mar 27 2017 Richard Rey <rexy> 
- Version for the kernel 4.4.55 (alcasar 3.1)
* Sat Oct 29 2016 Richard Rey <rexy> 
- Version for the kernel 4.4.26 (alcasar 3.0)
* Sat May 14 2016 Richard Rey <rexy> 
- Version for the kernel 4.4.13
* Tue Apr 05 2016 Richard Rey <rexy> 
- Initial version of the package