[openwrt/openwrt] ucode: update to latest Git HEAD

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 25 14:08:49 PDT 2021


jow pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/269bdf6eefea70e4550e4d4dc8f52e3b018137c4

commit 269bdf6eefea70e4550e4d4dc8f52e3b018137c4
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Mon Oct 25 22:57:50 2021 +0200

    ucode: update to latest Git HEAD
    
    0f022aa lib: increase refcount when returning cached module instance
    c9e68bb lib: introduce resolver library
    9041e24 lib: fix uninitialized memory access on handling %J string formats
    4ee06d8 syntax: introduce optional chaining operators
    ce4a7d9 vm: reset callframes before invoking unhandled exception handler
    218e822 vm: clear exception information before calling managed code functions
    5b908bd ubus: properly handle signed 64bit values too
    e43b751 ubus: fix handling signed 16bit and 32bit integers
    137428f nl80211: fix issues spotted by static code analyzer
    b9d4f61 nl80211: treat signal attr values as signed integers
    9a7c355 nl80211: expose sta_info attributes
    bb358d9 lib: introduce Linux 802.11 netlink binding
    914f54c types: fix invalid memory access on setting non-contiguous array indexes
    631f00d main: fix leaking module name when processing -m flag
    e55188b compiler: properly handle jumps to offset 0
    98c4147 tests: support specifying cmdline args in testcase files
    64e4f68 types: fix formatting escape sequences for 8 bit chars
    dd86e1d rtnl: automatically derive message family from certain address attrs
    74fdb97 rtnl: expose IPv4 and IPv6 devconfig information
    7fa1008 rtnl: allow reply nla payloads to be smaller than headsize
    cbae3cb lib: introduce Linux route netlink binding
    e6dd389 ci: adjust build prereqs for GitHub as well
    07ae165 ci: add libnl-tiny to prereqs
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 package/utils/ucode/Makefile | 57 +++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 54 insertions(+), 3 deletions(-)

diff --git a/package/utils/ucode/Makefile b/package/utils/ucode/Makefile
index 26281af730..2c11fe05be 100644
--- a/package/utils/ucode/Makefile
+++ b/package/utils/ucode/Makefile
@@ -12,9 +12,9 @@ PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL=https://github.com/jow-/ucode.git
-PKG_SOURCE_DATE:=2021-07-30
-PKG_SOURCE_VERSION:=929c8627cf077c3e348fb12b02553d4a444c5e48
-PKG_MIRROR_HASH:=
+PKG_SOURCE_DATE:=2021-10-25
+PKG_SOURCE_VERSION:=a7976c2802a9da737f62bec496c7115211c442a7
+PKG_MIRROR_HASH:=6bc3ddeef41d68fd96894957356472e576c625fcf7277cbb36aa464b8d3c274d
 PKG_MAINTAINER:=Jo-Philipp Wich <jo at mein.io>
 PKG_LICENSE:=ISC
 
@@ -76,6 +76,39 @@ define Package/ucode-mod-math/description
 endef
 
 
+define Package/ucode-mod-nl80211
+  $(Package/ucode/default)
+  TITLE+= (nl80211 module)
+  DEPENDS:=ucode +libnl-tiny
+endef
+
+define Package/ucode-mod-nl80211/description
+ The nl80211 plugin provides access to the Linux wireless 802.11 netlink API.
+endef
+
+
+define Package/ucode-mod-resolv
+  $(Package/ucode/default)
+  TITLE+= (resolv module)
+  DEPENDS:=ucode
+endef
+
+define Package/ucode-mod-resolv/description
+ The resolv plugin implements simple DNS resolving.
+endef
+
+
+define Package/ucode-mod-rtnl
+  $(Package/ucode/default)
+  TITLE+= (rtnl module)
+  DEPENDS:=ucode +libnl-tiny
+endef
+
+define Package/ucode-mod-rtnl/description
+ The rtnl plugin provides access to the Linux routing netlink API.
+endef
+
+
 define Package/ucode-mod-ubus
   $(Package/ucode/default)
   TITLE+= (ubus module)
@@ -126,6 +159,21 @@ define Package/ucode-mod-math/install
 	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/ucode/math.so $(1)/usr/lib/ucode/
 endef
 
+define Package/ucode-mod-nl80211/install
+	$(INSTALL_DIR) $(1)/usr/lib/ucode
+	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/ucode/nl80211.so $(1)/usr/lib/ucode/
+endef
+
+define Package/ucode-mod-resolv/install
+	$(INSTALL_DIR) $(1)/usr/lib/ucode
+	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/ucode/resolv.so $(1)/usr/lib/ucode/
+endef
+
+define Package/ucode-mod-rtnl/install
+	$(INSTALL_DIR) $(1)/usr/lib/ucode
+	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/ucode/rtnl.so $(1)/usr/lib/ucode/
+endef
+
 define Package/ucode-mod-ubus/install
 	$(INSTALL_DIR) $(1)/usr/lib/ucode
 	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/ucode/ubus.so $(1)/usr/lib/ucode/
@@ -141,5 +189,8 @@ $(eval $(call BuildPackage,ucode))
 $(eval $(call BuildPackage,libucode))
 $(eval $(call BuildPackage,ucode-mod-fs))
 $(eval $(call BuildPackage,ucode-mod-math))
+$(eval $(call BuildPackage,ucode-mod-nl80211))
+$(eval $(call BuildPackage,ucode-mod-resolv))
+$(eval $(call BuildPackage,ucode-mod-rtnl))
 $(eval $(call BuildPackage,ucode-mod-ubus))
 $(eval $(call BuildPackage,ucode-mod-uci))



More information about the lede-commits mailing list