]> git.pld-linux.org Git - packages/nftables.git/blob - nftables.spec
- new
[packages/nftables.git] / nftables.spec
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
4 Version:        0.2
5 Release:        1
6 License:        GPL v2
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
13 BuildRequires:  bison
14 BuildRequires:  dblatex
15 BuildRequires:  docbook2X
16 BuildRequires:  flex
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)
22
23 %description
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.
31
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.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44
45 %build
46 %{__autoconf}
47 %configure \
48         DB2MAN=/usr/bin/docbook2X2man
49
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc TODO
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*
This page took 0.062121 seconds and 4 git commands to generate.