2012-09-05 12:25:27 +00:00
|
|
|
Name: libnetfilter_cttimeout
|
|
|
|
Version: 1.0.0
|
2013-08-03 06:23:31 +00:00
|
|
|
Release: 3%{?dist}
|
2012-09-05 12:25:27 +00:00
|
|
|
Summary: Timeout policy tuning for Netfilter/conntrack
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://netfilter.org
|
|
|
|
Source0: http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: libmnl-devel >= 1.0.0, pkgconfig, kernel-headers
|
|
|
|
|
|
|
|
%description
|
|
|
|
This infrastructure allows you to define fine-grain timeout
|
|
|
|
policies per flow. Basically, from user-space, you can create
|
|
|
|
timeout policy objects via nfct_timeout_alloc(), set the
|
|
|
|
policy attributes, via nfct_timeout_*_attr_set(), and then
|
|
|
|
build the ctnetlink message to communicate this new timeout
|
|
|
|
policy to the kernel.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Timeout policy tuning for Netfilter/conntrack
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libmnl-devel >= 1.0.0
|
|
|
|
Requires: kernel-headers
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This infrastructure allows you to define fine-grain timeout
|
|
|
|
policies per flow. Basically, from user-space, you can create
|
|
|
|
timeout policy objects via nfct_timeout_alloc(), set the
|
|
|
|
policy attributes, via nfct_timeout_*_attr_set(), and then
|
|
|
|
build the ctnetlink message to communicate this new timeout
|
|
|
|
policy to the kernel.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc COPYING README
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%dir %{_includedir}/libnetfilter_cttimeout
|
|
|
|
%{_includedir}/libnetfilter_cttimeout/*.h
|
|
|
|
|
|
|
|
%changelog
|
2013-08-03 06:23:31 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 04:50:24 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-09-05 12:25:27 +00:00
|
|
|
* Fri Aug 10 2012 Paul P. Komkoff Jr <i@stingr.net> - 1.0.0-1
|
|
|
|
- initial commit
|