|
|
eeff82 |
Name: libnetfilter_cttimeout
|
|
|
eeff82 |
Version: 1.0.0
|
|
|
eeff82 |
Release: 6%{?dist}
|
|
|
eeff82 |
Summary: Timeout policy tuning for Netfilter/conntrack
|
|
|
eeff82 |
Group: System Environment/Libraries
|
|
|
eeff82 |
License: GPLv2+
|
|
|
eeff82 |
URL: http://netfilter.org
|
|
|
eeff82 |
Source0: http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
|
|
|
eeff82 |
|
|
|
eeff82 |
BuildRequires: libmnl-devel >= 1.0.0, pkgconfig, kernel-headers
|
|
|
eeff82 |
|
|
|
eeff82 |
%description
|
|
|
eeff82 |
This infrastructure allows you to define fine-grain timeout
|
|
|
eeff82 |
policies per flow. Basically, from user-space, you can create
|
|
|
eeff82 |
timeout policy objects via nfct_timeout_alloc(), set the
|
|
|
eeff82 |
policy attributes, via nfct_timeout_*_attr_set(), and then
|
|
|
eeff82 |
build the ctnetlink message to communicate this new timeout
|
|
|
eeff82 |
policy to the kernel.
|
|
|
eeff82 |
|
|
|
eeff82 |
%package devel
|
|
|
eeff82 |
Summary: Timeout policy tuning for Netfilter/conntrack
|
|
|
eeff82 |
Group: Development/Libraries
|
|
|
eeff82 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
eeff82 |
Requires: libmnl-devel >= 1.0.0
|
|
|
eeff82 |
Requires: kernel-headers
|
|
|
eeff82 |
|
|
|
eeff82 |
%description devel
|
|
|
eeff82 |
This infrastructure allows you to define fine-grain timeout
|
|
|
eeff82 |
policies per flow. Basically, from user-space, you can create
|
|
|
eeff82 |
timeout policy objects via nfct_timeout_alloc(), set the
|
|
|
eeff82 |
policy attributes, via nfct_timeout_*_attr_set(), and then
|
|
|
eeff82 |
build the ctnetlink message to communicate this new timeout
|
|
|
eeff82 |
policy to the kernel.
|
|
|
eeff82 |
|
|
|
eeff82 |
%prep
|
|
|
eeff82 |
%setup -q
|
|
|
eeff82 |
|
|
|
eeff82 |
%build
|
|
|
eeff82 |
%configure --disable-static
|
|
|
eeff82 |
|
|
|
eeff82 |
make %{?_smp_mflags}
|
|
|
eeff82 |
|
|
|
eeff82 |
%install
|
|
|
eeff82 |
rm -rf $RPM_BUILD_ROOT
|
|
|
eeff82 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
eeff82 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
eeff82 |
|
|
|
eeff82 |
%post -p /sbin/ldconfig
|
|
|
eeff82 |
%postun -p /sbin/ldconfig
|
|
|
eeff82 |
|
|
|
eeff82 |
%files
|
|
|
eeff82 |
%doc COPYING README
|
|
|
eeff82 |
%{_libdir}/*.so.*
|
|
|
eeff82 |
|
|
|
eeff82 |
%files devel
|
|
|
eeff82 |
%{_libdir}/*.so
|
|
|
eeff82 |
%{_libdir}/pkgconfig/*.pc
|
|
|
eeff82 |
%dir %{_includedir}/libnetfilter_cttimeout
|
|
|
eeff82 |
%{_includedir}/libnetfilter_cttimeout/*.h
|
|
|
eeff82 |
|
|
|
eeff82 |
%changelog
|
|
|
eeff82 |
* Fri Jun 19 2015 Paul Wouters <pwouters@redhat.com> - 1.0.0-6
|
|
|
eeff82 |
- Resolves: rhbz#1233221 Add libnetfilter_cttimeout package to RHEL-7
|