From 6949486e1c452b9c3e557edca2c54e581f297100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 16:43:31 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/libnetfilter_cttimeout#5565e29821c82f2d66fa13989fcfac67e44a7392 --- .gitignore | 1 + libnetfilter_cttimeout.spec | 106 ++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 108 insertions(+) create mode 100644 libnetfilter_cttimeout.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..c138c11 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libnetfilter_cttimeout-1.0.0.tar.bz2 diff --git a/libnetfilter_cttimeout.spec b/libnetfilter_cttimeout.spec new file mode 100644 index 0000000..2332714 --- /dev/null +++ b/libnetfilter_cttimeout.spec @@ -0,0 +1,106 @@ +Name: libnetfilter_cttimeout +Version: 1.0.0 +Release: 16%{?dist} +Summary: Timeout policy tuning for Netfilter/conntrack +License: GPLv2+ +URL: http://netfilter.org +Source0: http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2 + +BuildRequires: gcc +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 +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 {} ';' + +%ldconfig_scriptlets + +%files +%doc COPYING README +%{_libdir}/*.so.* + +%files devel +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%dir %{_includedir}/libnetfilter_cttimeout +%{_includedir}/libnetfilter_cttimeout/*.h + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.0.0-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 1.0.0-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.0.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.0.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.0.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.0.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 1.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 1.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Aug 10 2012 Paul P. Komkoff Jr - 1.0.0-1 +- initial commit diff --git a/sources b/sources new file mode 100644 index 0000000..0383a62 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +7697437fc9ebb6f6b83df56a633db7f9 libnetfilter_cttimeout-1.0.0.tar.bz2