]>
Commit | Line | Data |
---|---|---|
f4e8c132 JB |
1 | Summary: Administration tool for packet filtering and classification |
2 | Summary(pl.UTF-8): Narzędzie administracyjne do filtrowania i klasyfikacji pakietów | |
3 | Name: nftables | |
4e4aed31 | 4 | Version: 0.8.3 |
435e9057 | 5 | Release: 1 |
f4e8c132 JB |
6 | License: GPL v2 |
7 | Group: Applications/Networking | |
4e4aed31 JB |
8 | Source0: https://netfilter.org/projects/nftables/files/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: a604501c10a302fa417410b16f293d2c | |
10 | URL: https://netfilter.org/projects/nftables/ | |
f4e8c132 | 11 | BuildRequires: autoconf >= 2.61 |
09b93bc2 | 12 | BuildRequires: automake >= 1.6 |
f4e8c132 JB |
13 | BuildRequires: bison |
14 | BuildRequires: dblatex | |
15 | BuildRequires: docbook2X | |
16 | BuildRequires: flex | |
17 | BuildRequires: gmp-devel | |
435e9057 | 18 | BuildRequires: iptables-devel >= 1.6.1 |
09b93bc2 | 19 | BuildRequires: libmnl-devel >= 1.0.3 |
4e4aed31 JB |
20 | BuildRequires: libnftnl-devel >= 1.0.9 |
21 | BuildRequires: libtool | |
7be40d4e | 22 | BuildRequires: pkgconfig |
f4e8c132 | 23 | BuildRequires: readline-devel |
435e9057 | 24 | Requires: iptables-libs >= 1.6.1 |
09b93bc2 | 25 | Requires: libmnl >= 1.0.3 |
4e4aed31 | 26 | Requires: libnftnl >= 1.0.9 |
f4e8c132 JB |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | nftables is the project that aims to replace the existing | |
31 | {ip,ip6,arp,eb}tables framework. Basically, this project provides a | |
32 | new packet filtering framework, a new userspace utility and also a | |
33 | compatibility layer for {ip,ip6}tables. nftables is built upon the | |
34 | building blocks of the Netfilter infrastructure such as the existing | |
35 | hooks, the connection tracking system, the userspace queueing | |
36 | component and the logging subsystem. | |
37 | ||
38 | %description -l pl.UTF-8 | |
39 | nftables to projekt mający na celu zastąpienie istniejącego szkieletu | |
40 | {ip,ip6,arp,eb}tables. Ten projekt przede wszystkim dostarcza nowy | |
41 | szkielet filtrowania, nowe narzędzie linii poleceń oraz warstwę | |
42 | zgodności dla {ip,ip6}tables. nftables jest zbudowane w oparciu o | |
43 | bloki tworzące infrastrukturę Netfilter, takie jak istniejące uchwyty, | |
44 | system śledzenia połączeń, komponent kolejkowania w przestrzeni | |
45 | użytkownika oraz podsystem logowania. | |
46 | ||
47 | %prep | |
48 | %setup -q | |
f4e8c132 JB |
49 | |
50 | %build | |
4e4aed31 | 51 | %{__libtoolize} |
09b93bc2 | 52 | %{__aclocal} -I m4 |
f4e8c132 | 53 | %{__autoconf} |
09b93bc2 JB |
54 | %{__autoheader} |
55 | %{__automake} | |
f4e8c132 | 56 | %configure \ |
09b93bc2 | 57 | DOCBOOK2X_MAN=/usr/bin/docbook2X2man \ |
435e9057 JB |
58 | --disable-silent-rules \ |
59 | --with-xtables | |
f4e8c132 JB |
60 | |
61 | %{__make} | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
4e4aed31 | 74 | %doc TODO files/examples |
f4e8c132 | 75 | %attr(755,root,root) %{_sbindir}/nft |
f4e8c132 | 76 | %{_mandir}/man8/nft.8* |