1 Summary: Administration tool for packet filtering and classification
2 Summary(pl.UTF-8): Narzędzie administracyjne do filtrowania i klasyfikacji pakietów
7 Group: Applications/Networking
8 Source0: http://www.netfilter.org/projects/nftables/files/%{name}-%{version}.tar.bz2
9 # Source0-md5: 9b824060febe56ed5e2fbd7f43ea78d4
10 Patch0: %{name}-db2man.patch
11 URL: http://www.netfilter.org/projects/nftables/
12 BuildRequires: autoconf >= 2.61
14 BuildRequires: dblatex
15 BuildRequires: docbook2X
17 BuildRequires: gmp-devel
18 BuildRequires: libmnl-devel
19 BuildRequires: libnftnl-devel
20 BuildRequires: readline-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 nftables is the project that aims to replace the existing
25 {ip,ip6,arp,eb}tables framework. Basically, this project provides a
26 new packet filtering framework, a new userspace utility and also a
27 compatibility layer for {ip,ip6}tables. nftables is built upon the
28 building blocks of the Netfilter infrastructure such as the existing
29 hooks, the connection tracking system, the userspace queueing
30 component and the logging subsystem.
32 %description -l pl.UTF-8
33 nftables to projekt mający na celu zastąpienie istniejącego szkieletu
34 {ip,ip6,arp,eb}tables. Ten projekt przede wszystkim dostarcza nowy
35 szkielet filtrowania, nowe narzędzie linii poleceń oraz warstwę
36 zgodności dla {ip,ip6}tables. nftables jest zbudowane w oparciu o
37 bloki tworzące infrastrukturę Netfilter, takie jak istniejące uchwyty,
38 system śledzenia połączeń, komponent kolejkowania w przestrzeni
39 użytkownika oraz podsystem logowania.
48 DB2MAN=/usr/bin/docbook2X2man
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %attr(755,root,root) %{_sbindir}/nft
65 %dir %{_sysconfdir}/nftables
66 %attr(740,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nftables/bridge-filter
67 %attr(740,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nftables/inet-filter
68 %attr(740,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nftables/ipv4-filter
69 %attr(740,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nftables/ipv4-mangle
70 %attr(740,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nftables/ipv4-nat
71 %attr(740,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nftables/ipv6-filter
72 %attr(740,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nftables/ipv6-mangle
73 %attr(740,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nftables/ipv6-nat
74 %{_mandir}/man8/nft.8*