2013-10-21 05:25:52 +02:00
|
|
|
#
|
|
|
|
# spec file for package nftables
|
|
|
|
#
|
2014-01-13 10:05:59 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2013-10-21 05:25:52 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: nftables
|
2014-01-21 00:28:30 +01:00
|
|
|
Version: 0.099
|
2013-10-21 05:25:52 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Userspace utility access the Netfilter packet filter
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Networking/Security
|
|
|
|
|
|
|
|
#Git-Clone: git://git.netfilter.org/nftables
|
2014-01-21 00:28:30 +01:00
|
|
|
#Git-Clone: git://git.inai.de/nftables plus
|
|
|
|
#Git-Snapshot: f1a17fb33e6c62157780da8a1b9abecceeb7a65a
|
|
|
|
Source: %name-plus-%version.tar.xz
|
2013-10-21 05:25:52 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2014-01-13 10:05:59 +01:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: gmp-devel
|
2013-10-21 05:25:52 +02:00
|
|
|
BuildRequires: pkgconfig >= 0.21
|
2014-01-13 10:05:59 +01:00
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: pkgconfig(libmnl)
|
2014-01-21 00:28:30 +01:00
|
|
|
BuildRequires: pkgconfig(libnftnl) >= 1.0
|
2013-10-21 05:25:52 +02:00
|
|
|
|
|
|
|
%description
|
2014-01-21 00:28:30 +01:00
|
|
|
nf_tables is the new firewalling infrastructure in the Linux kernel,
|
|
|
|
intended to replace ip_tables, ip6_tables, arp_tables and ebtables in
|
|
|
|
the long term. nftables is the corresponsing userspace frontend,
|
|
|
|
replacing their respective userspace utilities.
|
|
|
|
|
|
|
|
nftables features native support for sets and dictionaries of
|
|
|
|
arbitrary types, support for many different protocols, meta data
|
|
|
|
types, connection tracking, NAT, logging, atomic incremental and full
|
|
|
|
ruleset updates.
|
|
|
|
|
|
|
|
%package plus
|
|
|
|
Summary: Userspace utility access the Netfilter packet filter
|
|
|
|
Group: Productivity/Networking/Security
|
|
|
|
|
|
|
|
%description plus
|
|
|
|
nf_tables is the new firewalling infrastructure in the Linux kernel,
|
|
|
|
intended to replace ip_tables, ip6_tables, arp_tables and ebtables in
|
|
|
|
the long term. nftables is the corresponsing userspace frontend,
|
|
|
|
replacing their respective userspace utilities.
|
|
|
|
|
|
|
|
nftables features native support for sets and dictionaries of
|
|
|
|
arbitrary types, support for many different protocols, meta data
|
|
|
|
types, connection tracking, NAT, logging, atomic incremental and full
|
|
|
|
ruleset updates.
|
2013-10-21 05:25:52 +02:00
|
|
|
|
|
|
|
%prep
|
2014-01-21 00:28:30 +01:00
|
|
|
%setup -qn %name-plus-%version
|
2013-10-21 05:25:52 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR="%buildroot";
|
|
|
|
|
2014-01-21 00:28:30 +01:00
|
|
|
%files plus
|
2013-10-21 05:25:52 +02:00
|
|
|
%defattr(-,root,root)
|
2014-01-13 10:07:15 +01:00
|
|
|
%config %_sysconfdir/nftables
|
|
|
|
%_sbindir/nft
|
2013-10-21 05:25:52 +02:00
|
|
|
|
|
|
|
%changelog
|