Compare commits

...

16 Commits

Author SHA1 Message Date
Petr Štetiar
825c023cd8 libamxrt: fix libcap-ng issues on ext4 by enabling EXT4_FS_SECURITY
Commit 3dc4681f9b ("Integrating libamxp to master_v2.1.1") added
handling of subprocess capabilities via libcap-ng, which on targets
utilizing ext4 filesystem needs EXT4_FS_SECURITY kernel config symbol
enabled for proper support of extended filesystem attributes via
fsetxattr():

 amxp_subproc_start()
 `-amxp_subproc_vstart()
   `-amxp_subproc_exec_child()
     `-amxp_subproc_set_capabilities()
       `-capng_apply_caps_fd()
         `-fsetxattr()

 open("/usr/sbin/unbound", O_RDWR|O_LARGEFILE) = 3
 ...
 fsetxattr(3, "security.capability", "\1\0\0\2\0\0\0\0*$\0\200\0\0\0\0\0\0\0", 20, 0) = -1 EOPNOTSUPP (Not supported)

This failure then leads to missing CAP_NET_BIND_SERVICE capability and thus
unbound can't start:

 [1726337363] unbound[30984:0] error: can't bind socket: Permission denied for 0.0.0.0 port 53
 [1726337363] unbound[30984:0] error: can't bind socket: Permission denied for :: port 53
 [1726337363] unbound[30984:0] fatal error: could not open ports
 ...
 tr181-dns: dns     - [i]Started Unbound (1 times) - (start_unbound@modunbound_main.c:455)
 tr181-dns: dns     - [i]wait for wait:done - (start_unbound@modunbound_main.c:457)
 tr181-dns: dns     - [x]Unbound stopped! - (unbound_stopped@modunbound_main.c:373)

So lets fix it by selecting KERNEL_EXT4_FS_SECURITY config symbol if
either target uses ext4 filesystem or kmod-fs-ext4 package is selected.

Fixes: PPW-74
References: PCF-1411
Fixes: 3dc4681f9b ("Integrating libamxp to master_v2.1.1")
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
GitOrigin-RevId: 85e0e6f92a8112ba9c3e102fc9f39341f17de3ae
2024-09-17 14:08:11 +00:00
sahbot
b26ff904d0 Integrating libamxd to master_v6.5.6
Issue: HOP-7332 Include mibs when checking for supported objects

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 77c10f0c20f01ff94659a5e4c6b49e7c0826b187
2024-09-09 08:30:34 +00:00
sahbot
da4577f73f Integrating mod-amxb-pcb to master_v3.12.2
Issue: VOIP-609 [reg]voice activation issues. X_SOFTATHOME-COM_VoiceActivation is missing

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: fc688c0f6b9e98b334164eca81a3a8783b5ff209
2024-09-09 08:30:34 +00:00
sahbot
cfa966fced Integrating libamxb to master_v4.11.3
Issue: VOIP-609 [reg]voice activation issues. X_SOFTATHOME-COM_VoiceActivation is missing

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 5c2cb875b6117d2dfa869827a211fc50808fbfe1
2024-09-09 08:30:34 +00:00
sahbot
3a77723925 Integrating amx-fcgi to master_v1.3.12
Issue: HGWPR-30812 NOT-23 - Unauthenticated Web UI Denial of Service [fix]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 3ec7c73c522ce3f2609665257d9f52cae1aeaaf6
2024-09-09 08:30:34 +00:00
sahbot
9abfa29f6e Integrating libamxb to master_v4.11.2
Issue: VZ-3615 [VZ][WiFi][Random] WPS-PBC pairing fails using both Button and WebUI methods on the 5GHz band when SON is enabled

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: a6a6e76849c96883f80c1799c1c5ae5972651715
2024-08-08 11:58:21 +00:00
sahbot
1729efedca Integrating libamxa to master_v0.11.1
Issue: SOFA-435 amxa resolver go into  infinite loop if a invalid path is used

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 05f478ed2cedfe60595dcecc78674c2aff59bb2a
2024-08-08 11:58:21 +00:00
sahbot
5b5f290b9a Integrating amx-fcgi to master_v1.3.11
Issue: HGWPR-25822 NOT-20 Unauthenticated Web UI Denial of Service
Issue: HOP-4680 Better shutdown script [fix]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 881cb70273eae9e7cf4a408fe94a2676b8faa450
2024-08-01 10:02:10 +00:00
sahbot
88c73fcd70 Integrating libamxj to master_v1.0.4
Issue: HGWPR-25822 NOT-20 Unauthenticated Web UI Denial of Service

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: f433c1a5c99efaca1bac7b4e4cf5029fc936e9e5
2024-08-01 10:02:10 +00:00
sahbot
a6e69400bd Integrating libamxc to master_v2.2.0
Issue: HOP-7194 : Add new helpers for Set module [new]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 506d1280507c9a6c7606fa2c3f6c4d32f89c1c81
2024-08-01 10:02:10 +00:00
sahbot
96de1946ff Integrating libamxrt to master_v0.6.2
Issue: NET-6038 Avoid double USP connections to the same sockets

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: d95c71721e9bb9ce4bd779ee32c974d3abb7ed82
2024-08-01 10:02:10 +00:00
sahbot
1d840c188b Integrating mod-amxb-pcb to master_v3.12.1
Issue: HOP-7094 Sub-object synchronisation initalize with wrong value with pcb-plugin

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 5c43d45bd48e43c290b7f7beed368503808f46ce
2024-08-01 10:02:10 +00:00
sahbot
f8f9d11b44 Integrating acl-manager to master_v0.7.1
Issue: HOP-4680 Better shutdown script [fix]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: a94cb1d345a97eb231eea16007bdb641de7da5bf
2024-08-01 10:02:10 +00:00
sahbot
944495690c Integrating amx-fcgi to master_v1.3.10
Issue: HOP-4680 Better shutdown script [fix]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: a75f12236714f2ef24ac619fb8ad3686865f8a83
2024-08-01 10:02:10 +00:00
sahbot
23ee69f24a Integrating amxo-cg to master_v1.5.5
Issue: HOP-7179 Some private parameters are still present in the AMX/XML file

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: de82f723f9550f693b5211c6707e84fcb1d5f639
2024-08-01 10:02:10 +00:00
sahbot
8bd809013f Integrating mod-ba-cli to master_v0.13.1
Issue: HOP-7181 Setting an empty string is passing a NULL variant

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: febf7c6e6b1c8bd98ab2e57d729ae33ac29ec73c
2024-08-01 10:02:10 +00:00
12 changed files with 56 additions and 55 deletions

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=acl-manager
PKG_VERSION:=v0.7.0
PKG_VERSION:=v0.7.1
SHORT_DESCRIPTION:=The ACL manager monitors ACL directory and merges ACL files
PKG_SOURCE:=acl-manager-v0.7.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager/-/archive/v0.7.0
PKG_HASH:=7be45288a37c1ca2f27b0b20be175dee8fb32d2071fc3168942926db5ebea1f1
PKG_BUILD_DIR:=$(BUILD_DIR)/acl-manager-v0.7.0
PKG_SOURCE:=acl-manager-v0.7.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager/-/archive/v0.7.1
PKG_HASH:=9a8c39941825da35d505f33cd8817bc5fe7674cbbb624b4b62e10f2251359b81
PKG_BUILD_DIR:=$(BUILD_DIR)/acl-manager-v0.7.1
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=amx-fcgi
PKG_VERSION:=v1.3.9
PKG_VERSION:=v1.3.12
SHORT_DESCRIPTION:=Ambiorix Fast CGI app for web-servers
PKG_SOURCE:=amx-fcgi-v1.3.9.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi/-/archive/v1.3.9
PKG_HASH:=8dafdcf8cd619c2913db3aae81b298050e9413b4411ede2a45fa839ecaf670e8
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-fcgi-v1.3.9
PKG_SOURCE:=amx-fcgi-v1.3.12.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi/-/archive/v1.3.12
PKG_HASH:=4af21f31e0f61f13ac229dddf7959b61f607ce1a77d0fb4d929aa81cbfbe6140
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-fcgi-v1.3.12
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=amxo-cg
PKG_VERSION:=v1.5.4
PKG_VERSION:=v1.5.5
SHORT_DESCRIPTION:=Object Definition Language Compiler/Generator
PKG_SOURCE:=amxo-cg-v1.5.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg/-/archive/v1.5.4
PKG_HASH:=243753b8bbf8d789bd6ef0e742fc1dc9f7fa0152c6f1033d4bdfb324235573e9
PKG_BUILD_DIR:=$(BUILD_DIR)/amxo-cg-v1.5.4
PKG_SOURCE:=amxo-cg-v1.5.5.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg/-/archive/v1.5.5
PKG_HASH:=6d19ffcb956a78b59d8c6911a6c85e499ca5a70d2bf3b4f788313e4a8c9454e3
PKG_BUILD_DIR:=$(BUILD_DIR)/amxo-cg-v1.5.5
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxa
PKG_VERSION:=v0.11.0
PKG_VERSION:=v0.11.1
SHORT_DESCRIPTION:=Access control verification
PKG_SOURCE:=libamxa-v0.11.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa/-/archive/v0.11.0
PKG_HASH:=18bdeaf99a56530c7b2725cc3bced0eb92e04e54c57ae0f3aa98ac4c005588a9
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxa-v0.11.0
PKG_SOURCE:=libamxa-v0.11.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa/-/archive/v0.11.1
PKG_HASH:=c4ce80b236e2e6bef000e6c90df0b4be995e8ce689f88bbbbc1a3dcf6199d664
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxa-v0.11.1
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxb
PKG_VERSION:=v4.11.1
PKG_VERSION:=v4.11.3
SHORT_DESCRIPTION:=Bus agnostic C API (mediator)
PKG_SOURCE:=libamxb-v4.11.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb/-/archive/v4.11.1
PKG_HASH:=882f20d994eead107b16d1f191d6b0f9b837206364b9835d1ff523219f80d405
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-v4.11.1
PKG_SOURCE:=libamxb-v4.11.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb/-/archive/v4.11.3
PKG_HASH:=5efc6daaf06c46ea4fa41e178610037a407d31026cfddd56d3214c8c0f106f6e
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-v4.11.3
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxc
PKG_VERSION:=v2.1.0
PKG_VERSION:=v2.2.0
SHORT_DESCRIPTION:=library providing generic reusable data containers
PKG_SOURCE:=libamxc-v2.1.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc/-/archive/v2.1.0
PKG_HASH:=1a8dc9c9912703f334e6265526157bd39af8867a142b6046be0c1b7490056f77
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v2.1.0
PKG_SOURCE:=libamxc-v2.2.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc/-/archive/v2.2.0
PKG_HASH:=8f4abd5c2015310928e185d9489ff3c3e3603c9ca8dde9cb8be92021814cd3cf
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v2.2.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxd
PKG_VERSION:=v6.5.5
PKG_VERSION:=v6.5.6
SHORT_DESCRIPTION:=Data model C-API
PKG_SOURCE:=libamxd-v6.5.5.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/archive/v6.5.5
PKG_HASH:=fbf6f70e954dccc867fba532e8a1d4d4fcbe215f739103974ad74a7c29fed89f
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v6.5.5
PKG_SOURCE:=libamxd-v6.5.6.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/archive/v6.5.6
PKG_HASH:=da0f1651435dc6dd483bef1da37d61fe35a6bfe6c40266a7f0527736488c13ea
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v6.5.6
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxj
PKG_VERSION:=v1.0.3
PKG_VERSION:=v1.0.4
SHORT_DESCRIPTION:=JSON parser & generator using yajl and libamxc variants
PKG_SOURCE:=libamxj-v1.0.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxj/-/archive/v1.0.3
PKG_HASH:=583647d91000377dc13711e26b2de2aa024895182d05e4b7f704e8be099b0e58
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxj-v1.0.3
PKG_SOURCE:=libamxj-v1.0.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxj/-/archive/v1.0.4
PKG_HASH:=4caa4c4c1505ee2eab189042058b978875f3e03cead3a115eb8eba08a168f865
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxj-v1.0.4
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -9,6 +9,7 @@ menu "Select libamxrt build options"
config SAH_LIB_AMXRT
bool "Build libamxrt"
select KERNEL_EXT4_FS_SECURITY if USES_EXT4 || PACKAGE_kmod-fs-ext4
default y
config SAH_AMXRT_RWDATAPATH

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxrt
PKG_VERSION:=v0.6.1
PKG_VERSION:=v0.6.2
SHORT_DESCRIPTION:=Ambiorix Run Time API
PKG_SOURCE:=libamxrt-v0.6.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxrt/-/archive/v0.6.1
PKG_HASH:=5d2d4ea14511812f938ecb40d05949c13ae30740e65e9cb049632307d2dc00ef
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxrt-v0.6.1
PKG_SOURCE:=libamxrt-v0.6.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxrt/-/archive/v0.6.2
PKG_HASH:=f13b0142f54c746a164e1c1b1232955e4187dd23f2fa520274b3e52ba036efab
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxrt-v0.6.2
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-amxb-pcb
PKG_VERSION:=v3.12.0
PKG_VERSION:=v3.12.2
SHORT_DESCRIPTION:=PCB backend implementation for amxb
PKG_SOURCE:=amxb_pcb-v3.12.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_pcb/-/archive/v3.12.0
PKG_HASH:=b548b01b599111650021d14b81a4ab6d854426bc75a4d23674e48de0c94499d8
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_pcb-v3.12.0
PKG_SOURCE:=amxb_pcb-v3.12.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_pcb/-/archive/v3.12.2
PKG_HASH:=de1a1e5d4aa21d853a31f50fa45584d3cf68c88fefb952d53cad31e69710f90c
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_pcb-v3.12.2
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-ba-cli
PKG_VERSION:=v0.13.0
PKG_VERSION:=v0.13.1
SHORT_DESCRIPTION:=Bus Agnostic Command Line Interface
PKG_SOURCE:=mod-ba-cli-v0.13.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli/-/archive/v0.13.0
PKG_HASH:=0f204f48506c0556fed7676d4cb23c84ba088f7fc328c80d8563b7c93f713d7e
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-ba-cli-v0.13.0
PKG_SOURCE:=mod-ba-cli-v0.13.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli/-/archive/v0.13.1
PKG_HASH:=1633a4ca1b4a18b72ea387f05a72443cbc23356a110b70b4337423b46482ee95
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-ba-cli-v0.13.1
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE