Rev 2428 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log
Rev | Author | Line No. | Line |
---|---|---|---|
2060 | richard | 1 | Name: ipt-netflow |
2 | Version: 2.2 |
||
2431 | tom.houday | 3 | Release: %mkrel 15 |
2060 | richard | 4 | Summary: Netflow iptables module for Linux kernel |
5 | License: GPLv2 |
||
6 | Packager: Richard REY (Rexy) |
||
7 | Group: Development/Kernel |
||
8 | URL: https://github.com/aabc/ipt-netflow |
||
2431 | tom.houday | 9 | BuildRequires: iptables-devel |
2060 | richard | 10 | Source0: %name-%version.tgz |
2431 | tom.houday | 11 | %define kversion 4.9.56-server-1.mga6 |
2060 | richard | 12 | |
13 | %description |
||
14 | High performance NetFlow v5, v9, IPFIX flow data export module for Linux kernel. |
||
15 | Created to be useful for highly loaded linux router. It should be used as iptables target. |
||
16 | |||
17 | |||
18 | %prep |
||
19 | %setup -q -n ipt-netflow-%{version} |
||
20 | |||
21 | %build |
||
22 | ./configure |
||
23 | %make |
||
24 | |||
25 | %install |
||
26 | %makeinstall |
||
27 | mkdir -p %{buildroot}/lib64/iptables |
||
28 | mkdir -p %{buildroot}/lib/modules/%kversion/extra |
||
29 | cp /lib64/iptables/libipt_NETFLOW.so %{buildroot}/lib64/iptables/ |
||
30 | cp /lib64/iptables/libip6t_NETFLOW.so %{buildroot}/lib64/iptables/ |
||
31 | cp /lib/modules/%kversion/extra/ipt_NETFLOW.ko %{buildroot}/lib/modules/%kversion/extra/ |
||
32 | |||
2428 | tom.houday | 33 | %clean |
34 | rm -rf %{buildroot} |
||
35 | |||
2060 | richard | 36 | %post |
37 | /sbin/depmod -a %kversion |
||
38 | |||
39 | %postun |
||
40 | /sbin/depmod -a %kversion |
||
41 | |||
42 | %files |
||
43 | /%{_lib}/iptables/libipt_NETFLOW.so |
||
44 | /%{_lib}/iptables/libip6t_NETFLOW.so |
||
45 | /lib/modules/%kversion/extra/ipt_NETFLOW.ko |
||
46 | |||
47 | %changelog |
||
2425 | tom.houday | 48 | * Wed Oct 11 2017 Tom Houdayer - 2.2-14.mga6 |
49 | - Version for the kernel 4.9.50 (ALCASAR 3.2.0) |
||
2318 | richard | 50 | * Mon Jul 03 2017 Richard Rey <rexy> |
51 | - Version for the kernel 4.4.74 (alcasar 3.1.3) |
||
2256 | richard | 52 | * Sun May 28 2017 Richard Rey <rexy> |
53 | - Version for the kernel 4.4.68 (alcasar 3.1.2) |
||
2164 | richard | 54 | * Thu Apr 6 2017 Richard Rey <rexy> |
55 | - Version for the kernel 4.4.59 (alcasar 3.1.1) |
||
2153 | richard | 56 | * Mon Mar 27 2017 Richard Rey <rexy> |
57 | - Version for the kernel 4.4.55 (alcasar 3.1) |
||
2070 | richard | 58 | * Sat Oct 29 2016 Richard Rey <rexy> |
2110 | richard | 59 | - Version for the kernel 4.4.26 (alcasar 3.0) |
2070 | richard | 60 | * Sat May 14 2016 Richard Rey <rexy> |
2060 | richard | 61 | - Version for the kernel 4.4.13 |
62 | * Tue Apr 5 2016 Richard Rey <rexy> |
||
63 | - Initial version of the package |