Initialize for libnetfilter_conntrack
This commit is contained in:
commit
161af01ff9
7 changed files with 270 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
libnetfilter_conntrack-1.0.7.tar.bz2
|
1
.libnetfilter_conntrack.metadata
Normal file
1
.libnetfilter_conntrack.metadata
Normal file
|
@ -0,0 +1 @@
|
|||
5ecfe06cb28543f9afedf717c3217b371a082f6c77d7a80eebc9887957edd48b libnetfilter_conntrack-1.0.7.tar.bz2
|
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
|
@ -0,0 +1 @@
|
|||
libnetfilter_conntrack3
|
BIN
libnetfilter_conntrack-1.0.7.tar.bz2.sig
Normal file
BIN
libnetfilter_conntrack-1.0.7.tar.bz2.sig
Normal file
Binary file not shown.
78
libnetfilter_conntrack.changes
Normal file
78
libnetfilter_conntrack.changes
Normal file
|
@ -0,0 +1,78 @@
|
|||
* Tue May 1 2018 jengelh@inai.de
|
||||
- Update to new upstream release 1.0.7
|
||||
* new synproxy support
|
||||
* don't crash on NULL labelmap
|
||||
* expose a copy of nf_conntrack_common.h
|
||||
* Mon Aug 22 2016 jengelh@inai.de
|
||||
- Update to new upstream release 1.0.6
|
||||
* add support for IPv6 NAT
|
||||
* conntrack: add zone attribute to tuple
|
||||
* Wed Sep 9 2015 jengelh@inai.de
|
||||
- Update to new upstream release 1.0.5
|
||||
* conntrack: add mark event filter
|
||||
* conntrack: compare: relax MARK/ZONE attribute comparison
|
||||
* Mon Dec 8 2014 jengelh@inai.de
|
||||
- Drop %%version from subincludedir, it tends to break recompiles of
|
||||
already-built trees on library updates.
|
||||
* Tue Sep 23 2014 jengelh@inai.de
|
||||
- Drop gpg-offline build-time requirement; this is now handled by
|
||||
the local source validator
|
||||
* Wed Aug 7 2013 jengelh@inai.de
|
||||
- Update to new upstream release 1.0.4
|
||||
* This release includes connlabel support, one memleak fix and
|
||||
fixes in the comparison API.
|
||||
* Mon Mar 4 2013 jengelh@inai.de
|
||||
- Update to new upstream release 1.0.3
|
||||
* Treat the ATTR_HELPER_INFO attribute as the variable-length type
|
||||
that it actually is.
|
||||
* Fix a use after free when nfct_clone was used with certain
|
||||
attribute data types.
|
||||
* Wed Nov 28 2012 sbrabec@suse.cz
|
||||
- Verify GPG signature
|
||||
* Mon Oct 8 2012 jengelh@inai.de
|
||||
- Update to new upstream release 1.0.2
|
||||
* This release provides new interfaces to interact with libmnl,
|
||||
and also has several fixes.
|
||||
* Sat May 19 2012 jengelh@inai.de
|
||||
- Update to new upstream release 1.0.1
|
||||
* add NAT, expectfn and class support
|
||||
* conntrack: add new ATTR_GRP_[ORIG|REPL]_ADDR_[SRC|DST] attributes
|
||||
* Wed Jan 4 2012 jengelh@medozas.de
|
||||
- Update to new upstream release 1.0.0
|
||||
* build and compilation updates
|
||||
* expect: fix missing parsing of master tuple
|
||||
* expect: nfexp_snprintf prints expectation timeout if present
|
||||
* expect: nfexp_snprintf displays mask and master tuple information
|
||||
* expect: add nfexp_send()
|
||||
* expect: support CTA_EXPECT_HELP_NAME
|
||||
* src: clarify licensing terms of library (GPLv2+)
|
||||
* conntrack: fix size of CTA_PROTOINFO_TCP_FLAGS_ORIGINAL in ARM
|
||||
* conntrack: fix set operation for master IPv6 src and dst
|
||||
* expect: add nfexp_cmp
|
||||
* Thu Dec 29 2011 jengelh@medozas.de
|
||||
- SPDX format for License: tag
|
||||
- Use separate include directory to catch compile errors
|
||||
* Thu Feb 24 2011 jengelh@medozas.de
|
||||
- new upstream release 0.9.1
|
||||
* add support for CTA_SECCTX and CTA_EXPECT_ZONE
|
||||
* allow to use nfct handler for conntrack and expectations at
|
||||
the same time
|
||||
* conntrack: add timestamp support
|
||||
* Wed Sep 8 2010 jengelh@medozas.de
|
||||
- new upstream release 0.9.0
|
||||
* ct: fix regression with helpers for Linux kernel >= 2.6.34
|
||||
* ct: fix EINVAL if not TCP attributes are set for Linux
|
||||
kernel <= 2.6.25
|
||||
* Thu Jul 15 2010 jengelh@medozas.de
|
||||
- new upstream release 0.0.102
|
||||
* support for conntrack zones
|
||||
* support for TCP window scale factor
|
||||
* Tue Feb 23 2010 jengelh@medozas.de
|
||||
- new upstream release: 0.0.101
|
||||
- add baselibs.conf
|
||||
- use %%_smp_mflags
|
||||
- remove unnecessary PreReq: glibc
|
||||
- secure the *.la delete call
|
||||
- wrap description at col 70
|
||||
* Sun Sep 20 2009 bitshuffler #suse@irc.freenode.org
|
||||
- Updated to 0.0.100
|
107
libnetfilter_conntrack.keyring
Normal file
107
libnetfilter_conntrack.keyring
Normal file
|
@ -0,0 +1,107 @@
|
|||
pub 4096R/0xA4111F89BB5F58CC 2010-10-21 [expires: 2015-10-20]
|
||||
Key fingerprint = 57FF 5E9C 9AA6 7A86 0B55 7AF7 A411 1F89 BB5F 58CC
|
||||
uid [ expired] Netfilter Core Team <coreteam@netfilter.org>
|
||||
sub 4096R/0x0FD3A13A04B92F5C 2010-10-21 [expires: 2015-10-20]
|
||||
|
||||
pub 4096R/0xAB4655A126D292E4 2015-10-19 [expires: 2020-10-17]
|
||||
Key fingerprint = C09D B206 3F1D 7034 BA61 52AD AB46 55A1 26D2 92E4
|
||||
uid [ unknown] Netfilter Core Team <coreteam@netfilter.org>
|
||||
sub 4096R/0xE3B0B6BAE3AAA39E 2015-10-19 [expires: 2020-10-17]
|
||||
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBEzAS5EBEADVlGm+KwODJcVmP33HTCbn/eP8obZbgu+3Z1CYRklF8V43vC6D
|
||||
8Jfk7fjD4/gWbAKZxriOESXVAN7mp0Fho4+Ga+pxWeLIET9tVM5xbNFK1p9R3XCK
|
||||
p5SrugG+tGhizTR9b/1YCMVRz/yX3aDtC7lwObas4hkr5BqhphjvlkjFE7us32by
|
||||
43LPpFj2yUpp1VdOf6gxl03kAgJg08h9J7a+n9KHQeAhIpXSRFq3tXiTdXQlovsv
|
||||
ckwBjO0m8P2d1Z8/UYwXQgXzuO8W8EqaU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MkA7R+oMo+B46kkAEQEAAYkCJQQYAQIADwUCViV2IwIbDAUJCWYBgAAK
|
||||
CRCrRlWhJtKS5IB2D/9eL6TJ82wCrh3Hx+R3YeWVObukEBq4Ho8KRFngvIi+2D14
|
||||
PljWtITPeplDtpXu3E1i7I74F1925xFs7pT6BD65e13/18y4RX5pwGfu0HTJpi3U
|
||||
B47WXlSnyRBLD+/qiKcSCkR1mcKJgyIY9KbA0rr1Drv/3DJR+wBt9Fuww/gxgv7v
|
||||
yIxxrDa2+GESxJc1iLyuKFiDtnUkmJpqtJV0szi38W1NQUwWWF3CWUpqfvn316CJ
|
||||
4cTyuurLn994ceJDherS9tFcYASdmbl6g6PwWgdFrpmb44J7gdBCsB9q2cpjhDbu
|
||||
bgTq7V32CVMBGKOThihJZHIz/LZyuHv9WNYXUNfpEOOUN97C+j6091TSh+5P6oJO
|
||||
E61VMBBL51nw3T0FFKtA9kubKLk08GH75vPLaBqLa5B88Z3nJWdlaJOdgGEz65PU
|
||||
Uh78iWJ3AFAOwhsDEfxFYC+gZWqt9qw3Wyp2eY2q+5ep4KRxuqq3M0V3zXE6z5ff
|
||||
F8CCqRe/yzGAh8RxEmT/Nl+yHEIVv7qpJk6GSvkXr5dN/jyZCiN2fHEhZOBtLvln
|
||||
E5UjMbYOGqk3F8OARHarJ/qARATzqNYdDRe9SKxlbog+k6WWxJ4ivSVmYY28vEWf
|
||||
79IZ79ZHJ0woRi+vr3Cwpc488Sjwi7a/O0HW6zXSaxXNeYR0VnwvcrZrtlCqIQ==
|
||||
=zI6p
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
82
libnetfilter_conntrack.spec
Normal file
82
libnetfilter_conntrack.spec
Normal file
|
@ -0,0 +1,82 @@
|
|||
#
|
||||
# spec file for package libnetfilter_conntrack
|
||||
#
|
||||
# Copyright (c) 2022-2023 ZhuningOS
|
||||
#
|
||||
|
||||
|
||||
Name: libnetfilter_conntrack
|
||||
%define lname libnetfilter_conntrack3
|
||||
Version: 1.0.7
|
||||
Release: 1.38
|
||||
Url: http://netfilter.org/projects/libnetfilter_conntrack/
|
||||
Summary: Userspace library for the in-kernel connection tracking state table
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Networking/Security
|
||||
|
||||
#Git-Clone: git://git.netfilter.org/libnetfilter_conntrack
|
||||
Source: ftp://ftp.netfilter.org/pub/libnetfilter_conntrack/%name-%version.tar.bz2
|
||||
Source2: ftp://ftp.netfilter.org/pub/libnetfilter_conntrack/%name-%version.tar.bz2.sig
|
||||
Source3: baselibs.conf
|
||||
Source4: %name.keyring
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
#git#BuildRequires: autoconf, automake >= 1.6, libtool
|
||||
BuildRequires: pkgconfig >= 0.21
|
||||
BuildRequires: pkgconfig(libmnl) >= 1.0.3
|
||||
BuildRequires: pkgconfig(libnfnetlink) >= 1.0.0
|
||||
|
||||
%description
|
||||
libnetfilter_conntrack is a userspace library providing a programming
|
||||
interface (API) to the in-kernel connection tracking state table. The
|
||||
library libnetfilter_conntrack has been previously known as
|
||||
libnfnetlink_conntrack and libctnetlink. This library is currently
|
||||
used by conntrack-tools among many other applications.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Userspace library for the in-kernel connection tracking state table
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
libnetfilter_conntrack is a userspace library providing a programming
|
||||
interface (API) to the in-kernel connection tracking state table. The
|
||||
library libnetfilter_conntrack has been previously known as
|
||||
libnfnetlink_conntrack and libctnetlink. This library is currently
|
||||
used by conntrack-tools among many other applications.
|
||||
|
||||
%package devel
|
||||
Summary: Userspace library for the in-kernel connection tracking state table
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
|
||||
%description devel
|
||||
libnetfilter_conntrack is a userspace library providing a programming
|
||||
interface (API) to the in-kernel connection tracking state table. The
|
||||
library libnetfilter_conntrack has been previously known as
|
||||
libnfnetlink_conntrack and libctnetlink. This library is currently
|
||||
used by conntrack-tools among many other applications.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static --includedir="%_includedir/%name"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libnetfilter_conntrack.so.3*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/%name/
|
||||
%_libdir/libnetfilter_conntrack.so
|
||||
%_libdir/pkgconfig/libnetfilter_conntrack.pc
|
||||
|
||||
%changelog
|
Loading…
Add table
Reference in a new issue