[openwrt/openwrt] libnl: update to 3.6.0

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 3 12:06:03 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3dbdfed2c4868afb346ded7f6f75e8de9f4788ee

commit 3dbdfed2c4868afb346ded7f6f75e8de9f4788ee
Author: Nick Hainke <vincent at systemli.org>
AuthorDate: Sun Jul 3 00:37:57 2022 +0200

    libnl: update to 3.6.0
    
    Remove upstreamed patch:
    - 100-build-add-Libs.private-field-in-libnl-pkg-config-file.patch
    
    cacaa5f libnl-3.6.0 release
    855c02f route/mdb: merge branch 'troglobit:mdb-dump-fixes'
    930fc11 route/mdb: add support for MAC multicast entries
    2d68caf route/mdb: add missing detils and stats dump callbacks
    d9ed99b nl-monitor: support for setting libnl debug level
    4c41e0d nl-monitor: add missing --help to long_opts[]
    7e96356 Check validation type against end of enum
    4e153bc route/link: add VLAN bridge binding flag
    b7256d3 github: build unit tests also with "clang"
    8111933 route: assert that "rtnl_link_info_ops" refcount does not drop below zero
    4f5c846 lib: merge branch 'th/object-clone-fixes'
    d23fb81 lib: make nl_object_clone() out-of-memory safe
    7f7452c route: fix ref counting for l_info_ops and io_clone()
    620d024 route: drop unnecessary oo_clone() implementation from netconf
    93a02eb netfilter: make log-msg,queue-msg setters robust against ENOMEM
    23902d0 xfrm/sa: clone user_offload in xfrm_sa_clone()
    29e5092 xfrm/sa: style cleanup xfrm_sa_clone()
    14a9ebc utils: add internal _nl_memdup() helper
    2e0d7f8 lib: add rtnl_link_info_ops_get() and take lock for rtnl_link_info_ops's io_refcnt
    e884286 lib: include <netlink-private/utils.h> in <netlink-private/netlink.h>
    7d43191 tests: merge branch 'th/tests-netns'
    a7bbdab tests: add unit test for nl_object_clone() and nl_object_diff()
    fdb0121 tests: add new "netns" test suite
    9102872 tests: add fixture/teardown for tests to run in separate netns
    9a42798 tests: cleanup creating test suites
    1fc3e07 tests: refactor tests and add n-test-util helper library
    7a3d6e2 netlink: add _NL_N_ELEMENTS() macro
    3da4f7d netlink: add _nl_streq()/_nl_streq0() helper
    1ad8555 netlink: add _nl_auto_nl_socket cleanup macro
    c8a5729 lib: add _nl_close() helper
    80868e6 clang-format: add ".clang-format" from linux kernel
    2782ed3 github: build tests with "-std=gnu11"
    af59b9a github: split tests in separate steps
    c8f7902 build: add "check-progs" make target to build unit tests
    23b4d33 route/cls: add TCA_FLOWER_KEY_VLAN_ETH_TYPE to "flower_policy" policy
    1f8dc89 route/cls: return -NLE_INVAL in case rtnl_tc_data_peek() fails
    ef5f3eb route/cls: merge branch 'westermo:cls-flower'
    c385c84 route/cls: no need to copy simple fields in flower_clone()
    79217d8 route/cls: make output pointers in rtnl_flower_get_{src,dst}_mac() optional
    64e0836 route/cls: adjust whitspace/indentation
    5ac9ce3 route/cls: use SPDX-License-Identifier
    1a1c4e5 route/cls: reorder fields in "struct rtnl_flower" and adjust indentation
    ef46de1 route/cls: add flower classifier
    f0aad20 route: merge branch 'pugo:master'
    d0cfecc route: make argument of rtnl_link_can_set_{bittiming,data_bittiming}() const
    6a92268 route: add rtnl_link_can_set_data_bittiming_const()
    841553b route: drop bitrate,sample-point getters/setters from can link
    37998f7 route: rename rtnl_link_can_get_data_bt_const() to rtnl_link_can_get_data_bittiming_const()
    96d3a6b route: fix adding rtnl_link_can_* symbols to symbol file
    881e329 route: fix indentation
    37c10ef route/link: add CAN FD support
    d56bf73 route/mdb: merge branch 'rubensfig:mdb'
    e0b2406 route/mdb: drop setting ifindex in mdb_clone()
    d78a6eb route/mdb: minor cleanup in "mdb.c"
    57a6d51 route/mdb: drop extra MDB attributes and rework mdb_compare()
    0b44562 route/mdb: hide rtnl_mdb_entry_alloc() from public API
    1c65ff7 route/mdb: reorder fields in "rtnl_mdb_entry" for tighther packing
    1ac5403 route/mdb: use nl_list_for_each_entry_safe() for destroying list in mdb_free_data()
    92035e2 route/mdb: cleanup mdb.h header
    6237621 build: sort file names in Makefile.am
    0ec6c6c mdb: support bridge multicast database notification
    c980034 route/cls: merge branch 'westermo:classifier-api-extension'
    a694c33 route/cls: rename rtnl_cls_get{,_by_prio}() API to rtnl_cls_find_by{handle,prio}()
    88a5138 route/cls: allow fetching of classifiers from cache
    90577b5 route: merge branch 'TummyFish:master'
    299f61a license: use SPDX license identifiers and drop license comments
    05a540d ip6vti: Add fwmark API
    41e4365 ip6gre: Add fwmark API
    ebc7df3 sit: Add fwmark API
    8e1da8e ipip: Add fwmark API
    bda19be ip6_tnl: Add fwmark API
    cdc6c0f ipvti: Add fwmark API
    2995710 ipgre: Add fwmark API
    d9dc6c2 ip6vti: Add IPv6 VTI support
    be86170 license: use SPDX license identifiers and drop license comments
    919d9c6 route: merge branch 'westermo:fib-lookup'
    1ff9b38 route/route: don't report failure when we receive a route in rtnl_route_lookup()
    53bc27e route/route: support FIB lookups using rtnl
    ed76b9a build: sort files in Makefile.am
    46b22c1 route/link: merge branch 'westermo:team-support'
    586a6b6 build: fix new symbols in "libnl-route-3.sym"
    831f125 route/link: add support for team device
    6c59580 route/link: Move LINK_ATTR_IFNAME to a proper location
    f77cd25 route/netconf: full API export
    f59f443 build: add Libs.private field in libnl pkg-config file
    b3333e0 route/qdisc: allow fetching qdiscs by their kind
    9a39188 netlink: merge branch 'michael-dev:feature/nflog-vlan-v3'
    a93fc5f nflog: add recent missing symbols to "libnl-nf-3.sym"
    7b4df53 nflog: add missing symbols to "libnl-nf-3.sym"
    8266436 nflog:add conntrack flag and enable flags for nflog
    246904d nflog: add CT support
    59fc1d7 nflog: add mac_header support
    c268c48 nflog: add vlan attribute
    2548468 refresh linux/netfilter/nfnetlink_log.h with linux 5.4
    4edffbd route/link: Add IPv6 GRE support
    5d69587 route: add global sectin in "libnl-route-3.sym"
    d0cf3a9 neigh: support to add fdb entry
    3bf0a9c cls:u32: fix u32_clone() function
    3147d86 route:tc: fix rtnl_tc_clone() calling to_clone() and add comment
    c027e54 route:cls: fix dangling pointers in to_clone() implementations
    47c04fb route:act: drop unnecessary implementations for to_clone()
    79f7c9d tests: add test for cloning cls:u32 object
    b1caff8 github: run unit tests under valgrind
    38b3be3 tests: cleanup tests and avoid leaks
    c2b94b9 lib: add more _nl_auto* cleanup macros
    1f05e5a tests: replace libcheck's fail_if() macro by ck_assert*()
    6341d89 log: fix typo in dumping msg
    bfee88b route: fix memory leak of l_info_ops in link_msg_parser()
    431ba83 route: merge branch 'qbdwlr:mplsPR'
    cc680d4 route: add accessors for setting/getting ENCAP_MPLS attributes
    efe8aad route: remove incorrect nl_addr_valid() from rtnl_route_nh_set_newdst(), etc.
    0688bc6 netfilter/ct: fix use of reply/orig for conntrack requests
    5d92516 route: don't use internal bit mask constants in NLA_PUT in can_put_attrs()
    6fe9418 lib: fix descriptions for nl_cache_pickup()/nl_cache_pickup_checkdup()
    d0d91c7 route: merge branch 't0mmmy90:check-if-nh-exists-while-updating-ipv6-multipath-route'
    28a652b route: fix duplicate check for next hop for IPv6 multipath routes
    03bfd2f route: check if nh exists while updating route
    92c9237 ci: add github-actions
    3d1fb00 tests/check-addr: replace deprecated fail_if() macro from libcheck with ck_assert_msg()
    d9cad53 xfrm: fix naming consistency in xfrmnl_sp_get_curlifetime()
    c0e82db cli: Add C++ linkage support
    000a3bd yyerror: update to POSIX standard
    f865a99 xfrm: merge branch 'spellingmistake:master'
    0306ae2 xfrm: fix libnl-xfrm-3.sym linker versioning
    8950194 xfrm: ensure minlen in policy for XFRMA_OFFLOAD_DEV
    c8f33a4 xfrm: Add support for xfrm user offloading
    b6cc13d Supporting Hardware offload capability for MACsec
    39944c6 route/link: check calloc() return value
    12cc0aa zero stack allocated memory in xfrmnl_build_sa_delete_request
    5f39502 merge branch 'bengal/coverity'
    26f342d route/qdisc: handle error of calloc()
    d1a151e route/qdisc: fix memory leak in netem.c
    aa092d1 route/link: fix copy-paste error in geneve.c
    30552e8 route/cls: fix cgroup's clone() function
    764c30a route: let route/link join RTNLGRP_IPV6_IFINFO mcast group
    b24e833 doc: update link to mscgen-filter
    0b5d17d addr: merge branch 'lcrestez-dn:dadfailed'
    30924e7 tests: Add test for rtnl_addr_flags2str
    5c05c75 addr: Add address flag `dadfailed`
    2abeec8 xfrm: remove superfluous xfrm_userpolicy_id from dump request
    5611487 lib/trivial: whitespace
    ab015e1 lib: merge branch 'th/object-identical-fix'
    36b0894 lib: allow to compare incomplete objects in nl_object_identical()
    5020077 lib: let nl_object_identical() declare the same object as identical
    406ebc8 lib: fix using right compare mask in nl_object_diff64()
    8637c70 lib/trivial fix indentation
    4be6062 route/link: avoid cloning link policy in link_msg_parser()
    ba3c51c route/link: fix link_msg_parser() for using the af_ops of the link family
    f9d0181 lib: use proper int type for id attributes in nl_object_identical()
    68b3431 lib: fix documentation of nl_cache_dump_filter to have @params optional
    2375cde lib: fix spelling errors in "netlink/handlers.h"
    3faf26c gitignore: fix ignoring check-direct build artifacts
    47fb1c0 xfrm: remove superfluous xfrm_usersa_id from dump request
    846d288 travis: install "check" in travis
    d64a0ec route: convert non-leading tabs to spaces in "include/netlink/route/link.h"
    aaefd92 route: add test for valid content of map_stat_id_from_IPSTATS_MIB_v2 array
    bab9e77 route/link: add RTNL_LINK_REASM_OVERLAPS stat
    bae11ec tests: add "check-direct" test
    2d50b04 route: add "netlink-private/route/utils.h" header
    9a52b3d gitignore: merge all gitignore files in top level directory
    4c5f2d6 merge branch 'th/license-comment-cleanup'
    2d3e690 license: update "doc/COPYING" license text
    1389188 license: add SPDX license identifer to "configure.ac" files
    503aa5e license: fix and add SPDX license identifiers and drop license comments
    4333aef license: cleanup copyright comments
    956635b license: fix SPDX license identifier for nl-auto.h
    5614b4c lib: merge branch 'th/cleanup-errout'
    17e09aa rtnl/route: use cleanup attribute in "lib/route/link.c"
    b50be8f rtnl/route: use cleanup attribute in "lib/route/route_obj.c"
    fca338b rtnl/route: fix NLE_NOMEM handling in parse_multipath()
    2957d8f rtnl/link: fix leaking rtnl_link_af_ops in link_msg_parser()
    77b4f68 rtnl/route: only consider negative error codes as error
    6870ece lib: cleanup nla_parse() to return early on error
    a858a0b lib: use _nl_strncpy*() instead of plain strncpy()
    018c694 lib: cleanup _nl_strncpy_assert()
    e97b990 lib: rename _nl_strncpy() to _nl_strncpy_assert()
    5ffbc6f lib: add _NL_RETURN_*() helper macros
    abb7391 lib: add "include/netlink-private/nl-auto.h" header
    ecd15bc lib: add _nl_assert_not_reached()
    9cc38dc lib/route: adjust coding style
    01ea9a6 route/link: Check for null pointer in macvlan
    
    Signed-off-by: Nick Hainke <vincent at systemli.org>
---
 package/libs/libnl/Makefile                        |  6 +++---
 ...bs.private-field-in-libnl-pkg-config-file.patch | 25 ----------------------
 2 files changed, 3 insertions(+), 28 deletions(-)

diff --git a/package/libs/libnl/Makefile b/package/libs/libnl/Makefile
index 7117226d50..b6eae82651 100644
--- a/package/libs/libnl/Makefile
+++ b/package/libs/libnl/Makefile
@@ -6,12 +6,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libnl
-PKG_VERSION:=3.5.0
-PKG_RELEASE:=2
+PKG_VERSION:=3.6.0
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/thom311/libnl/releases/download/libnl$(subst .,_,$(PKG_VERSION))
-PKG_HASH:=352133ec9545da76f77e70ccb48c9d7e5324d67f6474744647a7ed382b5e05fa
+PKG_HASH:=532155fd011e5a805bd67121b87a01c757e2bb24112ac17e69cb86013b970009
 
 PKG_LICENSE:=LGPL-2.1
 PKG_LICENSE_FILES:=COPYING
diff --git a/package/libs/libnl/patches/100-build-add-Libs.private-field-in-libnl-pkg-config-file.patch b/package/libs/libnl/patches/100-build-add-Libs.private-field-in-libnl-pkg-config-file.patch
deleted file mode 100644
index cec720b8e8..0000000000
--- a/package/libs/libnl/patches/100-build-add-Libs.private-field-in-libnl-pkg-config-file.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From db0d59cd06f3ffd350379847c0885e1bfb85af0f Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
-Date: Sat, 7 Mar 2015 11:34:42 +0100
-Subject: [PATCH 2/2] build: add Libs.private field in libnl pkg-config file
-
-In order to support static linking, the libnl pkg-config file should
-indicate in its Libs.private field the libraries that libnl-3.0.a
-requires. The LIBS variable contains the appropriate list of
-libraries: -lm in all cases, and -lpthread when pthread support is
-enabled. This allows to statically link applications against libnl
-properly.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
----
- libnl-3.0.pc.in | 1 +
- 1 file changed, 1 insertion(+)
-
---- a/libnl-3.0.pc.in
-+++ b/libnl-3.0.pc.in
-@@ -7,4 +7,5 @@ Name: libnl
- Description: Convenience library for netlink sockets
- Version: @PACKAGE_VERSION@
- Libs: -L${libdir} -lnl- at MAJ_VERSION@
-+Libs.private: @LIBS@
- Cflags: -I${includedir}/libnl at MAJ_VERSION@




More information about the lede-commits mailing list