From d4523ddfb047278aaf3e20be049dc6743662684c06affab008afcf727fbb6956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 15:19:07 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main libnetfilter_cthelper revision 36023f987337257c54c2b373b9b379d7 --- .gitattributes | 23 +++++++ baselibs.conf | 1 + libnetfilter_cthelper-1.0.1.tar.bz2 | 3 + libnetfilter_cthelper-1.0.1.tar.bz2.sig | Bin 0 -> 566 bytes libnetfilter_cthelper.changes | 55 ++++++++++++++++ libnetfilter_cthelper.keyring | 64 ++++++++++++++++++ libnetfilter_cthelper.spec | 83 ++++++++++++++++++++++++ 7 files changed, 229 insertions(+) create mode 100644 .gitattributes create mode 100644 baselibs.conf create mode 100644 libnetfilter_cthelper-1.0.1.tar.bz2 create mode 100644 libnetfilter_cthelper-1.0.1.tar.bz2.sig create mode 100644 libnetfilter_cthelper.changes create mode 100644 libnetfilter_cthelper.keyring create mode 100644 libnetfilter_cthelper.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..5d68e49 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libnetfilter_cthelper0 diff --git a/libnetfilter_cthelper-1.0.1.tar.bz2 b/libnetfilter_cthelper-1.0.1.tar.bz2 new file mode 100644 index 0000000..06b766e --- /dev/null +++ b/libnetfilter_cthelper-1.0.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14073d5487233897355d3ff04ddc1c8d03cc5ba8d2356236aa88161a9f2dc912 +size 291739 diff --git a/libnetfilter_cthelper-1.0.1.tar.bz2.sig b/libnetfilter_cthelper-1.0.1.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..5ff7bd07280b8f1ba2e617aa63a34cf824c2fb7f4ffe911cbe0b48f8f822ff7a GIT binary patch literal 566 zcmV-60?GY}0y6{v0SW*e79j*T*<`H1NrA^z0Q;NOU6+cA6d>dU0%CKW#sCTl5Y=6m zii#8<omc4N|KjyShA+<4#1jM-#yGnhtFX!jiBhndSFYk9=! zTa+m*x50KMNu^FwNb{FXp9Xo>%o2jcTm_JQcBBvyV!1JwYg}EkO+A8s{(*Q~LIqi` zg_CO5*#OrQCAT)P1~K7rxa6OhcwhEDQ$S564UW@=GfdR~2+}qKnL=4;?N*p;6h6ES zi1*9_*cDW(k1{0xih7?h(NLDINDt!=W)R~&Vf&mgc~0>Gkhl_*O(PdDx-telgmU0i zD4pOE5BP3;OYzj_G6`kC`beY*K>KSLUwd|KteT4wMfPX}ldbQuf75-G3`u3vcq37f^NRY#?be9S%ZU3?a zPt?eEvuJk8Z}y5`{}$fPxrj~+sFR}WHcVq}g?`<%X(L7dI1D1qxKhxZK6cYqPN1!> zZn`lF!viZ>6YNfpm%?#Q%mAG5$fT+G7N5|x@`FU@G*5u-0?HkdST%O#n;hU~nl3#e zl^1abvhrsm + +- 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 + +- 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 diff --git a/libnetfilter_cthelper.keyring b/libnetfilter_cthelper.keyring new file mode 100644 index 0000000..34ba618 --- /dev/null +++ b/libnetfilter_cthelper.keyring @@ -0,0 +1,64 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBF+HdQgBEACzteJUJGtj3N6u5mcGh4Nu/9GQfwrrphZuI7jto2N6+ZoURded +660mFLnax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ozu2eS8FXedH0X9f0JWLDGWwRg+pAqSOtuFjHhYM +jVpwbH/s71BhH84x5RgWezh2BWLbP3UuY7JtWNAvAaeo53Js2dzzgjDopPis4qZR +rLR9cTGjqa6ZTc/PlLfaCsm6rGBlNx/bFJjz75+yn7vMQa47fOBt4qfriHX7G/Tg +3s8xsQSLEm3IBEYh27hoc9ZD45EXgm9ZiGA21t9v1jA27yTVaUrPbC40iDv/CMcQ +7N2Y1sJRvmrd+2pKxtNNutujjwgBguo5bKK253R5Hy0a+NzK2LSc/GmR8EJJEwW1 +7r6road7Ss6YImCZExeY+CAW0FEzwQpmqfOdlusvIyk4x4r12JH8Q8NWHMzU3Ym/ +yqdopn/SCwCfXJsL4/eHLCaWuyiWjljNa7MwPDITx2ZPRE5QEqCqi4gaDWXyVHt8 +leGE1G3zoXNJogWhDswh105UnlZEEfOvbHbaxgWPjLV/xkuHhVlaqdyXbTExrgK6 +U2wevNS03dBuQ6bjNIbMIt9ulbiBV8MJWR0PZtnNJ958f1QXC4GT+L3FG1g5Jtz+ +rlbu70nh2kSJrg== +=wukb +-----END PGP PUBLIC KEY BLOCK----- diff --git a/libnetfilter_cthelper.spec b/libnetfilter_cthelper.spec new file mode 100644 index 0000000..6d1ba01 --- /dev/null +++ b/libnetfilter_cthelper.spec @@ -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