commit 8b8b947180d4eb92009e338af35b2aaa9072cf6a Author: Adrian Schröter Date: Mon Oct 14 15:03:33 2024 +0200 Sync from SUSE:ALP:Source:Standard:1.0 libnfnetlink revision a177f1ad17f9da1b1542709791d076ce diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /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..907b5af --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libnfnetlink0 diff --git a/libnfnetlink-1.0.2.tar.bz2 b/libnfnetlink-1.0.2.tar.bz2 new file mode 100644 index 0000000..681d48b --- /dev/null +++ b/libnfnetlink-1.0.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b064c7c3d426efb4786e60a8e6859b82ee2f2c5e49ffeea640cfe4fe33cbc376 +size 298844 diff --git a/libnfnetlink-1.0.2.tar.bz2.sig b/libnfnetlink-1.0.2.tar.bz2.sig new file mode 100644 index 0000000..eec6cfa Binary files /dev/null and b/libnfnetlink-1.0.2.tar.bz2.sig differ diff --git a/libnfnetlink.changes b/libnfnetlink.changes new file mode 100644 index 0000000..55b9590 --- /dev/null +++ b/libnfnetlink.changes @@ -0,0 +1,99 @@ +------------------------------------------------------------------- +Wed Apr 6 06:27:09 UTC 2022 - Jan Engelhardt + +- Update to release 1.0.2 + * Resolved Valgrind warnings due to uninitialized padding in + netlink messages. + +------------------------------------------------------------------- +Wed Oct 14 00:28:01 UTC 2020 - Jan Engelhardt + +- Modernize specfile constructs. + +------------------------------------------------------------------- +Tue Mar 27 13:12:25 CEST 2018 - kukuk@suse.de + +- Use %license instead of %doc [bsc#1082318] + +------------------------------------------------------------------- +Mon Sep 29 08:27:16 UTC 2014 - jengelh@inai.de + +- Drop %version from subincludedir, it tends to break recompiles of + already-built trees on library updates. + +------------------------------------------------------------------- +Thu Apr 24 09:54:12 UTC 2014 - dmueller@suse.com + +- remove dependency on gpg-offline (blocks rebuilds and + tarball integrity is checked by source-validator anyway) + +------------------------------------------------------------------- +Wed Nov 28 20:41:43 CET 2012 - sbrabec@suse.cz + +- Verify GPG signature + +------------------------------------------------------------------- +Mon Oct 8 12:03:56 UTC 2012 - jengelh@inai.de + +- Update to new upstream release 1.0.1 + (no changes over 1.0.0+git35, this is just the official release) + +------------------------------------------------------------------- +Fri Aug 31 01:52:43 UTC 2012 - jengelh@inai.de + +- Update to new git snapshot 1.0.0+git35 +* Fix incomplete retrieval of the interface list, + which causes conntrackd to not operate as desired + (http://marc.info/?l=netfilter&m=134458290414850&w=2 ) + +------------------------------------------------------------------- +Fri Feb 10 15:54:47 UTC 2012 - cfarrell@suse.com + +- license update: GPL-2.0 + Look at e.g. src/iftable.c - please check if GPL-3.0 applications require + this library + +------------------------------------------------------------------- +Sat Dec 31 20:25:58 UTC 2011 - jengelh@medozas.de + +- Update to new git snapshot 1.0.0+git28 +* build updates, license update + +------------------------------------------------------------------- +Thu Dec 29 20:50:58 UTC 2011 - jengelh@medozas.de + +- Use separate include dir to detect compile errors + +------------------------------------------------------------------- +Tue Nov 22 15:18:35 UTC 2011 - jengelh@medozas.de + +- Make License field SPDX compliant (bnc#731935) + +------------------------------------------------------------------- +Sat Nov 19 20:43:44 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Sat Apr 24 09:16:28 UTC 2010 - coolo@novell.com + +- buildrequire pkg-config to fix provides + +------------------------------------------------------------------- +Fri Feb 26 16:57:23 UTC 2010 - jengelh@medozas.de + +- update to 1.0.0+git1 to have license file available + +------------------------------------------------------------------- +Tue Feb 23 22:22:02 UTC 2010 - jengelh@medozas.de + +- add baselibs.conf +- use %_smp_mflags +- secure *.la delete call +- wrap description at col 70 + +------------------------------------------------------------------- +Tue Jun 30 19:26:05 CEST 2009 - bitshuffler #suse@irc.freenode.org + +- Updated to 1.0.0 + diff --git a/libnfnetlink.keyring b/libnfnetlink.keyring new file mode 100644 index 0000000..2d3b902 --- /dev/null +++ b/libnfnetlink.keyring @@ -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+4FNlrthA5V9dQSIPh7r7uHynDtkcCHT5m4mn0Nq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eY+CAW0FEzwQpmqfOdlusvIyk4x4r12JH8Q8NWHMzU3Ym/ +yqdopn/SCwCfXJsL4/eHLCaWuyiWjljNa7MwPDITx2ZPRE5QEqCqi4gaDWXyVHt8 +leGE1G3zoXNJogWhDswh105UnlZEEfOvbHbaxgWPjLV/xkuHhVlaqdyXbTExrgK6 +U2wevNS03dBuQ6bjNIbMIt9ulbiBV8MJWR0PZtnNJ958f1QXC4GT+L3FG1g5Jtz+ +rlbu70nh2kSJrg== +=wukb +-----END PGP PUBLIC KEY BLOCK----- diff --git a/libnfnetlink.spec b/libnfnetlink.spec new file mode 100644 index 0000000..d00e5e6 --- /dev/null +++ b/libnfnetlink.spec @@ -0,0 +1,88 @@ +# +# spec file for package libnfnetlink +# +# 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: libnfnetlink +%define libsoname %{name}0 +Version: 1.0.2 +Release: 0 +Summary: Low-level library for Netfilter-related kernel/userspace communication +License: GPL-2.0-only +Group: Productivity/Networking/Security +URL: https://netfilter.org/projects/libnfnetlink/ + +#Git-Clone: git://git.netfilter.org/libnfnetlink +#DL-URL: ftp://ftp.netfilter.org/pub/libnfnetlink/ +Source: http://netfilter.org/projects/libnfnetlink/files/%name-%version.tar.bz2 +Source2: http://netfilter.org/projects/libnfnetlink/files/%name-%version.tar.bz2.sig +Source3: baselibs.conf +Source4: %name.keyring + +%description +libnfnetlink is the low-level library for netfilter related +kernel/userspace communication. + +%package -n %libsoname +Summary: Low-level library for Netfilter-related kernel/userspace communication +Group: System/Libraries + +%description -n %libsoname +libnfnetlink is the low-level library for netfilter related +kernel/userspace communication. It provides a generic messaging +infrastructure for in-kernel netfilter subsystems (such as +nfnetlink_log, nfnetlink_queue, nfnetlink_conntrack) and their +respective users and/or management tools in userspace. + +%package devel +Requires: %libsoname = %version +Summary: Low-level library for Netfilter-related kernel/userspace communication +Group: Development/Libraries/C and C++ + +%description devel +libnfnetlink is the low-level library for netfilter related +kernel/userspace communication. + +This library is not meant as a public API for application developers. +It is only used by other netfilter.org projects, such as +libnetfilter_log, libnetfilter_queue or libnetfilter_conntrack. + +%prep +%autosetup -p1 + +%build +# 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 %libsoname -p /sbin/ldconfig +%postun -n %libsoname -p /sbin/ldconfig + +%files -n %libsoname +%license COPYING +%doc README +%_libdir/libnfnetlink.so.0* + +%files devel +%_includedir/%name/ +%_libdir/libnfnetlink.so +%_libdir/pkgconfig/libnfnetlink.pc + +%changelog