Sync from SUSE:SLFO:Main libnetfilter_cthelper revision 36023f987337257c54c2b373b9b379d7

This commit is contained in:
Adrian Schröter 2024-05-03 15:19:07 +02:00
commit d4523ddfb0
7 changed files with 229 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libnetfilter_cthelper0

BIN
libnetfilter_cthelper-1.0.1.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,55 @@
-------------------------------------------------------------------
Thu May 5 13:38:58 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.0.1
* Allow build on uclinux
* Resolve use-after-free in nfct_helper_free()
* Resolve double free in nfct-helper-add example
* Fixed incorrect netlink message building with multiple nfct
helper policies
- Drop fix_h_expect_policy_free.patch (merged)
-------------------------------------------------------------------
Wed Oct 14 00:09:08 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Modernize specfile constructs.
-------------------------------------------------------------------
Mon Dec 8 17:27:32 UTC 2014 - jengelh@inai.de
- Remove version from subinclude directory; it tends to break
recompiles of third software after a library update.
-------------------------------------------------------------------
Sun Dec 7 19:58:44 UTC 2014 - cshorler@googlemail.com
- Add fix_h_expect_policy_free.patch to fix crash due to following
a just-freed pointer [bnc#908875]
-------------------------------------------------------------------
Tue Sep 23 15:43:40 UTC 2014 - jengelh@inai.de
- Drop gpg-offline build-time requirement; this is now handled by
the local source validator
-------------------------------------------------------------------
Wed Nov 28 20:23:02 CET 2012 - sbrabec@suse.cz
- Verify GPG signature
-------------------------------------------------------------------
Mon Oct 8 15:35:52 UTC 2012 - jengelh@inai.de
- Update to initial official release 1.0.0
* This library provides the infrastructure for the user-space
helper infrastructure available since the Linux kernel 3.6.
-------------------------------------------------------------------
Fri Aug 31 18:06:01 UTC 2012 - jengelh@inai.de
- Rectify baselibs.conf to include the right package name
-------------------------------------------------------------------
Mon Jun 4 14:06:19 UTC 2012 - jengelh@inai.de
- Initial package for build.opensuse.org

View File

@ -0,0 +1,64 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF+HdQgBEACzteJUJGtj3N6u5mcGh4Nu/9GQfwrrphZuI7jto2N6+ZoURded
660mFLnax7wgIE8ugAa085jwFWbFY3FzGutUs/kDmnqy9WneYNBLIAF3ZTFfY+oi
V1C09bBlHKDj9gSEM2TZ/qU14exKdSloqcMKSdIqLQX27w/D6WmO1crDjOKKN9F2
zjc3uLjo1gIPrY+Kdld29aI0W4gYvNLOo+ewhVC5Q6ymWOdR3eKaP2HIAt8CYf0t
Sx8ChHdBvXQITDmXoGPLTTiCHBoUzaJ/N8m4AZTuSUTr9g3jUNFmL48OrJjFPhHh
KDY0V59id5nPu4RX3fa/XW+4FNlrthA5V9dQSIPh7r7uHynDtkcCHT5m4mn0NqG3
dsUqeYQlrWKCVDTfX/WQB3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WHMzU3Ym/
yqdopn/SCwCfXJsL4/eHLCaWuyiWjljNa7MwPDITx2ZPRE5QEqCqi4gaDWXyVHt8
leGE1G3zoXNJogWhDswh105UnlZEEfOvbHbaxgWPjLV/xkuHhVlaqdyXbTExrgK6
U2wevNS03dBuQ6bjNIbMIt9ulbiBV8MJWR0PZtnNJ958f1QXC4GT+L3FG1g5Jtz+
rlbu70nh2kSJrg==
=wukb
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -0,0 +1,83 @@
#
# spec file for package libnetfilter_cthelper
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: libnetfilter_cthelper
%define lname %{name}0
Version: 1.0.1
Release: 0
Summary: Userspace library for the Netfilter Conntrack Helper extension
License: GPL-2.0-or-later
Group: Productivity/Networking/Security
URL: https://netfilter.org/projects/libnetfilter_cthelper/
#Git-Web: https://git.netfilter.org/libnetfilter_cthelper/
#Git-Clone: git://git.netfilter.org/libnetfilter_cthelper
Source: https://www.netfilter.org/pub/libnetfilter_cthelper/libnetfilter_cthelper-%version.tar.bz2
Source2: https://www.netfilter.org/pub/libnetfilter_cthelper/libnetfilter_cthelper-%version.tar.bz2.sig
Source3: baselibs.conf
Source4: %name.keyring
BuildRequires: pkgconfig(libmnl) >= 1.0.0
%description
This library provides the programming interface (API) to the
Netfilter userspace helper infrastructure.
%package -n %lname
Summary: Userspace library for the Netfilter Conntrack Helper extension
Group: System/Libraries
%description -n %lname
This library provides the programming interface (API) to the
Netfilter userspace helper infrastructure.
%package devel
Summary: Userspace library for the Netfilter Conntrack Helper extension
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
This library provides the programming interface (API) to the
Netfilter userspace helper infrastructure.
%prep
%autosetup -p1
%build
if [ ! -e configure ]; then
autoreconf -fi
fi
# includedir intentional, cf. bugzilla.opensuse.org/795968
%configure --disable-static --includedir="%_includedir/%name"
%make_build
%install
%make_install
rm -f "%buildroot/%_libdir"/*.la
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%_libdir/libnetfilter_cthelper.so.0*
%files devel
%_includedir/%name/
%_libdir/libnetfilter_cthelper.so
%_libdir/pkgconfig/libnetfilter_cthelper.pc
%changelog