commit 3963f9a70c7894dad414a565efc296e903a9f5ff6bdd8af4731fe24f39c8ecfa Author: Jan Engelhardt Date: Sat Jul 20 15:01:51 2024 +0000 [info=137fd0a6da7b958cc4800a8c8bc0bbf5db6c6870016e7e817fda3f40e88e6fd8] OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnl3?expand=0&rev=88 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..75a48e7 --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,4 @@ +mtime: 1701792070 +commit: 137fd0a6da7b958cc4800a8c8bc0bbf5db6c6870016e7e817fda3f40e88e6fd8 +url: https://src.opensuse.org/jengelh/libnl-3 +revision: master diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..1fd69f4 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,4 @@ +libnl3-200 +libnl3-devel + requires -libnl3- + requires "libnl3-200- = " diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..9685f6c --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c38336654bf8c76a670c85ff4437892c3ece109867f48cbf059435e83d191456 +size 256 diff --git a/libnl-3.9.0.tar.gz b/libnl-3.9.0.tar.gz new file mode 100644 index 0000000..ad5dcf7 --- /dev/null +++ b/libnl-3.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aed507004d728a5cf11eab48ca4bf9e6e1874444e33939b9d3dfed25018ee9bb +size 1074117 diff --git a/libnl-3.9.0.tar.gz.sig b/libnl-3.9.0.tar.gz.sig new file mode 100644 index 0000000..9fb3924 --- /dev/null +++ b/libnl-3.9.0.tar.gz.sig @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJHBAABCAAxFiEESep8Zw4IUOdBlRT2KcI2bk38VygFAmVtu9gTHHRoYWxsZXJA +cmVkaGF0LmNvbQAKCRApwjZuTfxXKMXTD/4tN/UVjJR4JdD2z3avD3GYNxGAlY0o +tkQndg/5CdlrNFpkzNWCvuov7r7MVGr7z8SDYgdrupXfYPZm8V8yI1RWYe7IR6HT +ZmYB9hYzWION53LXFUk7M0DOxn5pgNPpMHqbhLq5aLxxFkQy8C038ZQAdRwYQzxH +YpfcptHZk5gzJW4LBSynDUmgeshDoko3TAEFFewKSYbvvZxfUoowbfH7eNgvjm8C +jUmWNWgkBaaPDfrNHrPaBOvmzX5pfhGISBQswSM35l2JwVWKmk9Xqp3FCnZB4/sb +PNP1ZcS87OuPSYlku4Ve36r9lFZGkXcaCCyaRJccUHDJNqpiTWWNo5RMWljCIyPB +dRlh9MLS2kxblqAxZP7Zve4MJoX6bspGFxNzmJdrz6v2ufb0aRAc520G0y2aWNBi +Lt7EY/X2FDHADWME3/4t2RQJaTL8rz0HdB+KO0qEaglBAGlgzUFAEZCcoZPMudCu +eXGfG5h5TOhzgk3m3vLsj7+Q6DTbrwI82xFEYfBlgrd5Aem6IyI94ihZPi0ec3VA +RuJzsFY9U8OHZKvW3GV1X9l4xyjUDGJg4vXfwHoVnaY9xEcyGzMLO8oOb1FdixlJ +2idZWrOWQR35H/Q/H6/Mj21c/deacPwxUT88ootjpolf4BE8+n2aENjwa+ZIKlzm +MVybojG1+TRP0A== +=P/5N +-----END PGP SIGNATURE----- diff --git a/libnl3.changes b/libnl3.changes new file mode 100644 index 0000000..8b24b53 --- /dev/null +++ b/libnl3.changes @@ -0,0 +1,434 @@ +------------------------------------------------------------------- +Mon Dec 4 12:40:08 UTC 2023 - Jan Engelhardt + +- Update to release 3.9 + * route/link: add bonding interface options set rtnl apis + * route: fix memleak in rtnl_act_parse() + * route/tc: avoid integer overflow in rtnl_tc_calc_cell_log() + +------------------------------------------------------------------- +Tue Aug 29 10:33:08 UTC 2023 - Jan Engelhardt + +- Update to release 3.8 + * addr: create an all-zero addresses when parsing "any" or "default" + * addr: allow constructing all-zero addresses + * route: construct all-zero addresses for default route destination + * bridge: Add support for link_info of a bridge + * bridge: extend libnl with options needed for VLAN aware forwarding + * route/link: add accessor API for IPv6 DEVCONF + * neigh: add support of NHID attribute + * route: add nh type + +------------------------------------------------------------------- +Wed Jul 6 15:41:36 UTC 2022 - Jan Engelhardt + +- Update to release 3.7 + * route/mdb: fix buffer overflow in mdb_msg_parser() + * route/act: add NAT action + +------------------------------------------------------------------- +Fri Apr 15 09:42:03 UTC 2022 - Jan Engelhardt + +- Update to release 3.6.0 + * route/mdb: add support for MAC multicast entries + * mdb: support bridge multicast database notification + * Support Hardware offload capability for MACsec + * nflog: add CT support + * Add IPv6 GRE support + * Add IPv6 VTI support + * Add support for team devices +- Drop 0001-route-link-add-RTNL_LINK_REASM_OVERLAPS-stat.patch + (merged) + +------------------------------------------------------------------- +Mon Aug 23 22:16:10 UTC 2021 - Jan Engelhardt + +- Add 0001-route-link-add-RTNL_LINK_REASM_OVERLAPS-stat.patch + [boo#1189451] + +------------------------------------------------------------------- +Wed Oct 14 09:12:27 UTC 2020 - Jan Engelhardt + +- Modernize specfile constructs. + +------------------------------------------------------------------- +Thu Dec 19 23:02:43 UTC 2019 - Jan Engelhardt + +- Update to release 3.5.0 + * route/qdisc: add 64-bit rate/ceil support for htb class + * xfrmi: introduce XFRM interfaces support + * xfrm: fix memory corruption (dangling pointer) when when + setting xfrmnl_sa + * route/link: avoid dangling pointer in rtnl_link_set_slave_type() + * nla_ok: fix overrun in attribute iteration. + * route:act: add vlan action + * route:tc: allow to set chain index for tc objects + * route:qdisc: add MQPRIO Qdisc + * if_tunnel: update IFLA defines up to FWMARK + * Add support for cloning cgroup filter objects + * neigh: cache updates as well query AF_BRIDGE neigh + * route:cls: add matchall classifier + * neigh: support bridge entries for vxlan interfaces + * rule: add support for protocol and port ranges + * link: add Geneve support + +------------------------------------------------------------------- +Mon Feb 26 11:31:07 UTC 2018 - jengelh@inai.de + +- Update to new upstream release 3.4.0 [boo#1082756] + * route/link: add accessor API for IPv6 flags + * Provide accessors for actions (rtnl_act). + * rule: Add support for l3mdev in FIB rules + * addr: add AF_VSOCK to translation table + * addr: Add support for AF_MPLS + * route: Add support for MPLS address family + * route: Add support for TTL propagation in MPLS routes + * route: Add support for lwtunnel and MPLS encapsulations + +------------------------------------------------------------------- +Wed Jun 7 14:55:00 UTC 2017 - jengelh@inai.de + +- Update to final release 3.3.0 + * No changes + +------------------------------------------------------------------- +Fri Mar 17 11:50:38 UTC 2017 - jengelh@inai.de + +- Update to new upstream release 3.3.0~rc1 + * sriov: fix crash in rtnl_link_sriov_parse_vflist + * sriov: avoid buffer overrun in rtnl_link_sriov_parse_vflist() + * use O_CLOEXEC + * lib/attr.c: check for valid length argument in nla_reserve() + * route: neigh: use NDA_MASTER for neigh->n_master if available + * xfrm: allow quering optional arguments from xfrmnl_sp_get_sec_ctx() +- Drop nla-reverse.diff (included upstream) + +------------------------------------------------------------------- +Wed Jan 18 23:26:00 UTC 2017 - jengelh@inai.de + +- Add nla-reserve.diff [boo#1020123] + +------------------------------------------------------------------- +Mon Jan 16 17:46:53 UTC 2017 - jengelh@inai.de + +- Update to new upstream release 3.2.29 +* nl-addr: avoid read-out-of-bound in nl_addr_fill_sockaddr() +* lib: add utility function nl_strerror_l() +* lib/route: allow override of message type during link change +* lib/route: set IFLA_PROTINFO attribute in request message +* lib/route: Add port state translation functions +* lib/route: Extend Bridge Flags +* lib/route: Allow override of IFLA_AF_SPEC nesting +* lib/route: Support IFLA_BRIDGE_MODE +* macvlan: add support for "source" mode +* macvlan: adjust types and merge MACVLAN_HAS_MACCOUNT and + MACVLAN_HAS_MACDATA +* vxlan: add support for additional VXLAN attributes +* lib/route: SRIOV Parse, Read, Clone support +* Add PPP support +* route/act: add gact tc action +* link: add support for IFLA_CARRIER_CHANGES, IFLA_PHYS_PORT_NAME, + IFLA_PHYS_SWITCH_ID, IFLA_GSO_MAX_SEGS and IFLA_GSO_MAX_SIZE + +------------------------------------------------------------------- +Wed Aug 10 11:24:07 UTC 2016 - jengelh@inai.de + +- Update to new upstream release 3.2.28 +* route/link: IFLA_VLAN_PROTOCOL added to vlan_put_attrs +* route/vrf: add VRF support +* route/link: add macvtap support +* sit: add 6RD support +* lib/route: add macsec support + +------------------------------------------------------------------- +Tue Feb 2 11:32:01 UTC 2016 - jengelh@inai.de + +- Update to new upstream release 3.2.27 +* link: add ifb device support +* qdisc: add hfsc qdisc support +* route/act: add skbedit action +* New sublibraries: libnl-xfrm-3.0 + +------------------------------------------------------------------- +Wed Oct 8 14:13:30 UTC 2014 - olaf@aepfle.de + +- BuildRequire at least bison 2.4, version in SLE11 is too old + +------------------------------------------------------------------- +Wed Jul 16 21:24:48 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 3.2.25 +* route: fix off-by-one in rtnl_act_parse() +* act: fix policy range check +* act: fix the logic of parsing actions +* u32: prevent memcpy from NULL +* attr: prevent garbage return value for NULL param +* introduce ipip, ip6, gre, sit tunnel support +* tc: add co_groups for tc qdisc and filter + +------------------------------------------------------------------- +Fri Apr 25 14:35:55 UTC 2014 - dmueller@suse.com + +- remove python-devel dependency + +------------------------------------------------------------------- +Sun Mar 9 17:27:56 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 3.2.24 +* Add support for: ingress qdiscs, veth links, link network + namespaces, tc action (general), mirred tc action, u32 tc action, + fq_codel qdisc + +------------------------------------------------------------------- +Tue Nov 26 14:05:28 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 3.2.23 +* Add macvlan and VXVLAN support + +------------------------------------------------------------------- +Wed Jun 5 13:20:54 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 3.2.22 +* ct: add ICMPv6 type,code and ID +* attr: Provide nla_is_nested() function +* bridge: Support the new bridging attributes +* bridge: Provide rtnl_link_bridge_alloc() +* vlan: Provide rtnl_link_vlan_alloc() +* bond: Provide rtnl_link_bond_alloc() +* attr: Add nla_nest_cancel() to remove partially added nested + attributes +- Remove 0001-Add-symbol-version-maps-to-libnl.patch + (merged upstream) + +------------------------------------------------------------------- +Thu Mar 7 19:59:56 UTC 2013 - jengelh@inai.de + +- Add preliminary symbol versioning for libnl + (0001-Add-symbol-version-maps-to-libnl.patch) + +------------------------------------------------------------------- +Fri Jan 25 04:04:58 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 3.2.21 +* SocketCAN support +* Add link carrier support + +------------------------------------------------------------------- +Sun Nov 25 16:36:33 UTC 2012 - jengelh@inai.de + +- Update to new upstream release 3.2.16 +* Optional hashtable backend for caches +* Improved netlink expectations support +* Extended AF_BRIDGE support for link and neighbour caches +* Better thread safety in module registration operations + +------------------------------------------------------------------- +Wed Nov 14 01:00:54 UTC 2012 - jengelh@inai.de + +- Update to new upstream release 3.2.14 +* This release contains bugfixes and adds support for some new link + features. + +------------------------------------------------------------------- +Tue Oct 9 01:03:54 UTC 2012 - jengelh@inai.de + +- Update to new upstream release 3.2.13 +* More clean NL_AUTO_PORT and NL_AUTO_SEQ usage in nl_complete_msg +* genl_ctrl_probe_by_name: fix checking of genlmsg_put() return value + +------------------------------------------------------------------- +Fri Aug 31 01:55:51 UTC 2012 - jengelh@inai.de + +- Update to new upstream release 3.2.12 +* Add new API to retrieve versioning information at runtime + suitable for python ctype. + +------------------------------------------------------------------- +Tue Jun 19 13:35:16 UTC 2012 - jengelh@inai.de + +- Update to new upstream release 3.2.11 +* add fwmark mask support +* genl: add genlmsg_hdr(), genlmsg_user_hdr(), genlmsg_user_data(), + and genlmsg_user_datalen() +* genl: Export genl_ops_resolve() and genl_mngt_resolve() in header +* rtnl_link_(get|set)_weight is deprecated in libnl + +------------------------------------------------------------------- +Fri May 11 09:21:49 UTC 2012 - vuntz@opensuse.org + +- Update to version 3.2.9: +* Fix return value of nl_recvmsgs() + +------------------------------------------------------------------- +Sat May 5 22:03:19 UTC 2012 - jengelh@medozas.de + +- Update to new upstream release 3.2.8 +* Support plug qdisc - queue traffic until explicit release + +------------------------------------------------------------------- +Wed Feb 8 22:34:09 UTC 2012 - jengelh@medozas.de + +- Update to new upstream release 3.2.7 +* link: fix regression in link message parser +* nl_addr_cmp: handle prefix length during address comparison +* avoid dangling co_major_cache reference to NL_AUTO_PROVIDE caches +* dsmark: Add missing declarations for + rtnl_class_dsmark_(get|set)_bitmask +* rtnl_link_bond_add: allow to allocate bond name in case NULL + is given +* link: allow to add/get linkinfo of unknown type + +------------------------------------------------------------------- +Thu Jan 12 11:30:44 UTC 2012 - coolo@suse.com + +- change license to be in spdx.org format + +------------------------------------------------------------------- +Tue Jan 3 13:23:24 UTC 2012 - adrian@suse.de + +- add dangling-co_major_cache-reference fix required by ntrack + +------------------------------------------------------------------- +Sat Nov 19 20:44:32 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Fri Nov 11 00:33:56 UTC 2011 - jengelh@medozas.de + +- Update to new upstream release 3.2.3 +* Add missing libnl-cli-3.0 pkgconfig file +* Fix memory leaks durgin rtnl_addr object freeing + +------------------------------------------------------------------- +Wed Sep 21 18:31:38 UTC 2011 - jengelh@medozas.de + +- Update to new upstream release 3.2.1 +* new API to create/enslave/release bonding devices + +------------------------------------------------------------------- +Tue Sep 20 08:49:19 UTC 2011 - jengelh@medozas.de + +- Relax Requires in libnl3-devel + +------------------------------------------------------------------- +Wed Sep 14 08:11:31 UTC 2011 - jengelh@medozas.de + +- Update to libnl-3.2 + +------------------------------------------------------------------- +Sat Apr 24 11:38:21 UTC 2010 - coolo@novell.com + +- buildrequire pkg-config to fix provides + +------------------------------------------------------------------- +Wed Dec 16 10:07:04 CET 2009 - jengelh@medozas.de + +- Add baselibs.conf as a source +- Add baselib definitions for SPARC +- Enable parallel building + +------------------------------------------------------------------- +Fri Jun 12 15:30:06 CEST 2009 - coolo@novell.com + +- fix build with glibc 2.10 + +------------------------------------------------------------------- +Thu Feb 5 13:36:06 PST 2009 - bphilips@suse.de + +- baselibs.conf: create -32bit packages. Required to compile Intel + WiMax tools. + +------------------------------------------------------------------- +Wed Jan 7 12:34:56 CET 2009 - olh@suse.de + +- obsolete old -XXbit packages (bnc#437293) + +------------------------------------------------------------------- +Mon Nov 10 19:13:52 EST 2008 - jpr@novell.com + +- Add baselibs.conf (bnc#443023) + +------------------------------------------------------------------- +Thu Oct 2 13:38:04 CDT 2008 - maw@suse.de + +- Install libraries in %_lib, not %{_libdir} (bnc#428433). + +------------------------------------------------------------------- +Fri Feb 1 12:45:47 CET 2008 - coolo@suse.de + +- update to 1.1: + o patches went upstream + o Generic netlink support + o Route Addition/Deletion + o Fixed reference counting while objects stay in caches. + ... tons of other fixes + +------------------------------------------------------------------- +Fri Jan 25 08:15:02 CET 2008 - adrian@suse.de + +- fix changelog entries order + +------------------------------------------------------------------- +Wed Oct 3 22:20:13 CEST 2007 - maw@suse.de + +- Apply libnl.route.metric-overflow.patch with -p1. + +------------------------------------------------------------------- +Sat Aug 25 11:57:33 CEST 2007 - olh@suse.de + +- remove incomplete copies of kernel headers + linux/types.h were needed + +------------------------------------------------------------------- +Fri Aug 24 17:26:02 CEST 2007 - olh@suse.de + +- include linux/types.h + do not redefine typedefs + use stddef.h offsetof + fix out of bounds access in route metric functions + fix incorrect char usage in nl_str2af + remove compiler warnings by checking vasprintf return value + +------------------------------------------------------------------- +Wed Aug 22 15:26:31 CEST 2007 - dmueller@suse.de + +- fix accesses of free'd memory which crash NetworkManager-kde + +------------------------------------------------------------------- +Wed Aug 22 02:10:01 CEST 2007 - dmueller@suse.de + +- update to 1.0-pre6: + * fixes write after delete crashes + * fixes realloc() handling + * fixes format string warnings + * fixes invalid free in nl_addr_parse for AF_UNSPEC addresses + * fixes double nlmsg_free() in nl_recvmsgs() while receiving + a multipart message and the read was interrupted. + +------------------------------------------------------------------- +Mon Feb 20 00:21:49 CET 2006 - ro@suse.de + +- fix build on ia64, ppc64, s390x + +------------------------------------------------------------------- +Wed Jan 25 21:37:35 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Tue Nov 15 14:10:15 CET 2005 - yxu@suse.de + +- fixed conflicting type definition + +------------------------------------------------------------------- +Fri Nov 4 22:23:10 CET 2005 - rml@suse.de + +- Update to 1.0-pre5 + +------------------------------------------------------------------- +Mon Oct 31 21:12:24 CET 2005 - gekker@suse.de + +- Initial import into autobuild Version 1.0-pre3 +- Patch makefile + diff --git a/libnl3.keyring b/libnl3.keyring new file mode 100644 index 0000000..b0595a0 --- /dev/null +++ b/libnl3.keyring @@ -0,0 +1,131 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFLEazUBEADAszHnys6XWbNHTD4jriYFkKoRcZBBYVFxPdWF5ub9a7zrW7Vv +zahJPyGgKrOcW5v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fogt8XnDHr46WPWYlchmYxd0VxSQOZCZuqjWE +N/6XCrEV7cZACqbqFiWc8ID8812j1MEsoxbyy6qU+Y2Xy6UaV2LhNSdrhPUrRb0G +rJBGCpiIgadIV6Rhe4GfLA4AjPM5emEM8jZUGc2VXyWvJo14XtdKBzkCzb+anGoW +WAwX9+i5kgj+b7HRCi1tKTSTE6D4pSd4zRn3YWurABNc5Fv1FOZsZoFsFKRJasa9 +L6dSKx+yII0jBchwsU643ybXVEkLMboW5JnMUcnA8AbGQuN3+lyWBSgE4Ne8zBBF +EHNs/kg+Gnb6CjP/YDbEK0NpqMJ+XzjScRARYOBkyrxGGo5i8FnvCoelh6yrC5D2 ++eAcjZ59N5aZPDXUSqTvbJX70NJi6GAUWaA2A980dO3nHr11X45Gf2FsujqpLkef +Kh8ihxIOyge82qWiPru19+fJPdkLUG1C67H0KrHCp07U+2g6T6Wr+g1Gosq193oR +KFeA9ZmHiqLmQIV3sQp38mcHNDeeHxYyazoHTMGile62pnUpVZgK3CfGoM+DgPmE +YONRm6ruVoEDPJTvFj98dJNKmeSwDESe7mdh0d+3g8AIA8mIGCddlEASJm3zmEA1 +6h0LG4z5 +=Jq0f +-----END PGP PUBLIC KEY BLOCK----- diff --git a/libnl3.spec b/libnl3.spec new file mode 100644 index 0000000..7df5726 --- /dev/null +++ b/libnl3.spec @@ -0,0 +1,138 @@ +# +# spec file for package libnl3 +# +# Copyright (c) 2023 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: libnl3 +%define lname libnl3-200 +%define with_tools 1 +%define uver 3_9_0 +Version: 3.9.0 +Release: 0 +Summary: Convenience library for working with Netlink sockets +License: GPL-2.0-only AND LGPL-2.1-only +Group: Development/Libraries/C and C++ +URL: http://www.carisma.slowglass.com/~tgr/libnl/#(outdated) + +#Git-Clone: https://github.com/thom311/libnl/ +Source: https://github.com/thom311/libnl/releases/download/libnl%uver/libnl-%version.tar.gz +Source2: https://github.com/thom311/libnl/releases/download/libnl%uver/libnl-%version.tar.gz.sig +# https://tynq.net/49EA7C670E0850E7419514F629C2366E4DFC5728.gpg +Source3: %name.keyring +Source9: baselibs.conf +BuildRequires: bison >= 2.4 +BuildRequires: fdupes +BuildRequires: flex >= 2.5.19 + +%description +The libnl suite is a collection of libraries providing APIs to +Netlink protocol based Linux kernel interfaces. + +%package -n %lname +Summary: Convenience library for working with Netlink sockets +License: LGPL-2.1-only +Group: System/Libraries +Requires: libnl-config >= %version + +%description -n %lname +The libnl suite is a collection of libraries providing APIs to +netlink protocol based Linux kernel interfaces. + +%package devel +Summary: Libraries and headers for libnl +License: LGPL-2.1-only +Group: Development/Libraries/C and C++ +Requires: %lname = %version +Provides: libnl-devel = %version-%release +# Starting with libnl3(-3.2), no more conflicts + +%description devel +The libnl suite is a collection of libraries providing APIs to +Netlink protocol based Linux kernel interfaces. + +%if %with_tools +# +# Only one of the libnl packages should create the config and tools. +# + +%package -n libnl-config +Summary: Name maps for libnl +License: GPL-2.0-only AND LGPL-2.1-only +Group: Productivity/Networking/Security +%if 0%{?suse_version} >= 1130 +BuildArch: noarch +%endif + +%description -n libnl-config +This package contains configuration files for libnl and programs using +the same; in particular +- name maps for class-ids -- class-names (like /etc/services) +- aliases for locations within a packet (ip6.dst => byte offset) + +%package -n libnl-tools +Summary: Command line utilities to directly work with Netlink +License: GPL-2.0-only +Group: Productivity/Networking/Security + +%description -n libnl-tools +Various test program with which the functionality of libnl is +demonstrated. + +%endif + +%prep +%autosetup -p0 -n libnl-%version + +%build +%configure --disable-static +%make_build pkglibdir="%_libdir/%lname" + +%install +b="%buildroot" +%make_install pkglibdir="%_libdir/%lname" +find "$b" -iname "*.la" -delete +%if !%with_tools +rm -Rf "$b/%_sysconfdir/libnl" +rm -Rf "$b/%_sbindir" "$b/%_mandir/man8" +%endif +%if 0%{?fdupes:1} +%fdupes %buildroot/%_prefix +%endif + +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%_libdir/libnl*.so.200* +%_libdir/%lname + +%files devel +%_includedir/%name +%_libdir/libnl*.so +%_libdir/pkgconfig/* + +%if %with_tools + +%files -n libnl-config +%dir %_sysconfdir/libnl +%config %_sysconfdir/libnl/* + +%files -n libnl-tools +%_mandir/man*/* +%_bindir/* +%endif + +%changelog