From 61a34ff71590b09de3854667d6e6312c9444307e Mon Sep 17 00:00:00 2001 From: Thomas Perale Date: Thu, 19 Sep 2024 18:19:08 +0200 Subject: [PATCH 01/50] package/espflash: bump v3.1.1 Fix the following error: error[E0282]: type annotations needed for `Box<_>` The issue came from the `time` library depedency of espflash (see https://github.com/time-rs/time/issues/693). The `time` library has been bumped in the following commit https://github.com/esp-rs/espflash/commit/233490736646ca7bc29463a98df98d7ccf53439d Fixes: - https://autobuild.buildroot.org/results/321/321598baef543b84ce82c09a88e51ad745a15dfd/ Signed-off-by: Thomas Perale Signed-off-by: Thomas Petazzoni --- package/espflash/espflash.hash | 2 +- package/espflash/espflash.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/espflash/espflash.hash b/package/espflash/espflash.hash index ebe24ef51fb6..0b1e160a478f 100644 --- a/package/espflash/espflash.hash +++ b/package/espflash/espflash.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 8e5da5e90d03135a1b2af6c0b551e4f2504ad64e659b0e88e8a4ecd98cc6a6b6 espflash-3.1.0-cargo2.tar.gz +sha256 f91a3e33e874bac0d7687d87c3cd692a54325c0dceaf35c983bd3d94519dee25 espflash-3.1.1-cargo2.tar.gz sha256 0886cf791a43c02d71c105b4835b53293704ec407a72f84a87f73e20cb2d3251 LICENSE-APACHE sha256 a75018ab59a13738ed2024a0090ae8f91b7693ae84568aa0e52c3dff99e6748d LICENSE-MIT diff --git a/package/espflash/espflash.mk b/package/espflash/espflash.mk index ad2294e1bfae..bcb343fc58c3 100644 --- a/package/espflash/espflash.mk +++ b/package/espflash/espflash.mk @@ -4,7 +4,7 @@ # ################################################################################ -ESPFLASH_VERSION = 3.1.0 +ESPFLASH_VERSION = 3.1.1 ESPFLASH_SITE = $(call github,esp-rs,espflash,v$(ESPFLASH_VERSION)) ESPFLASH_SUBDIR = espflash ESPFLASH_LICENSE = Apache-2.0 or MIT From 747a41c19c3ab49981beff8166679a9f49acf0d8 Mon Sep 17 00:00:00 2001 From: Maxim Kochetkov Date: Thu, 19 Sep 2024 11:18:19 +0300 Subject: [PATCH 02/50] package/postgresql: fix build without BR2_TOOLCHAIN_HAS_THREADS_NPTL Since commit: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=52afe563206e753f4c45c014fee2459ad0855826 postgrsql fails to build with toolchains without threads support: misc.c: In function 'ecpg_gettext': misc.c:541:51: error: 'PTHREAD_MUTEX_INITIALIZER' undeclared (first use in this function) 541 | static pthread_mutex_t binddomain_mutex = PTHREAD_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:541:51: note: each undeclared identifier is reported only once for each function it appears in misc.c:552:24: warning: implicit declaration of function 'pthread_mutex_lock' [-Wimplicit-function-declaration] 552 | (void) pthread_mutex_lock(&binddomain_mutex); | ^~~~~~~~~~~~~~~~~~ misc.c:569:24: warning: implicit declaration of function 'pthread_mutex_unlock' [-Wimplicit-function-declaration] 569 | (void) pthread_mutex_unlock(&binddomain_mutex); | ^~~~~~~~~~~~~~~~~~~~ Option "--disable-thread-safety" will be dropped in PG 17, so this patch is needed only for 16.x branch. Fixes: 73dd1d6b9666 ("package/postgresql: security bump version to 16.3") Signed-off-by: Maxim Kochetkov Signed-off-by: Thomas Petazzoni --- .../0001-Fix-compile-without-threads.patch | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 package/postgresql/0001-Fix-compile-without-threads.patch diff --git a/package/postgresql/0001-Fix-compile-without-threads.patch b/package/postgresql/0001-Fix-compile-without-threads.patch new file mode 100644 index 000000000000..a280df540f7d --- /dev/null +++ b/package/postgresql/0001-Fix-compile-without-threads.patch @@ -0,0 +1,87 @@ +From 6c71182dde4d37fd70ee8015f61935254ae6f9a6 Mon Sep 17 00:00:00 2001 +From: Maxim Kochetkov +Date: Thu, 19 Sep 2024 10:04:05 +0300 +Subject: [PATCH] Fix compile without threads + +All mutexes should be wrapped by #ifdef ENABLE_THREAD_SAFETY. + +Fixes: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=52afe563206e753f4c45c014fee2459ad0855826 +Signed-off-by: Maxim Kochetkov +Signed-off-by: Maxim Kochetkov +Upstream: N/A, as --disable-thread-safety will disappear in PostgreSQL 17. +--- + src/interfaces/ecpg/ecpglib/misc.c | 6 ++++++ + src/interfaces/libpq/fe-misc.c | 6 ++++++ + 2 files changed, 12 insertions(+) + +diff --git a/src/interfaces/ecpg/ecpglib/misc.c b/src/interfaces/ecpg/ecpglib/misc.c +index 4b54322926..5a4d2e847e 100644 +--- a/src/interfaces/ecpg/ecpglib/misc.c ++++ b/src/interfaces/ecpg/ecpglib/misc.c +@@ -538,7 +538,9 @@ ecpg_gettext(const char *msgid) + * might as well do it the same way everywhere. + */ + static volatile bool already_bound = false; ++#ifdef ENABLE_THREAD_SAFETY + static pthread_mutex_t binddomain_mutex = PTHREAD_MUTEX_INITIALIZER; ++#endif + + if (!already_bound) + { +@@ -549,7 +551,9 @@ ecpg_gettext(const char *msgid) + int save_errno = errno; + #endif + ++#ifdef ENABLE_THREAD_SAFETY + (void) pthread_mutex_lock(&binddomain_mutex); ++#endif + + if (!already_bound) + { +@@ -566,7 +570,9 @@ ecpg_gettext(const char *msgid) + already_bound = true; + } + ++#ifdef ENABLE_THREAD_SAFETY + (void) pthread_mutex_unlock(&binddomain_mutex); ++#endif + + #ifdef WIN32 + SetLastError(save_errno); +diff --git a/src/interfaces/libpq/fe-misc.c b/src/interfaces/libpq/fe-misc.c +index 488f7d6e55..2185e0ba7a 100644 +--- a/src/interfaces/libpq/fe-misc.c ++++ b/src/interfaces/libpq/fe-misc.c +@@ -1232,7 +1232,9 @@ libpq_binddomain(void) + * might as well do it the same way everywhere. + */ + static volatile bool already_bound = false; ++#ifdef ENABLE_THREAD_SAFETY + static pthread_mutex_t binddomain_mutex = PTHREAD_MUTEX_INITIALIZER; ++#endif + + if (!already_bound) + { +@@ -1243,7 +1245,9 @@ libpq_binddomain(void) + int save_errno = errno; + #endif + ++#ifdef ENABLE_THREAD_SAFETY + (void) pthread_mutex_lock(&binddomain_mutex); ++#endif + + if (!already_bound) + { +@@ -1260,7 +1264,9 @@ libpq_binddomain(void) + already_bound = true; + } + ++#ifdef ENABLE_THREAD_SAFETY + (void) pthread_mutex_unlock(&binddomain_mutex); ++#endif + + #ifdef WIN32 + SetLastError(save_errno); +-- +2.45.2 + From 0631ac04ffdab7d43ea3831bc2162c3661a2b1c8 Mon Sep 17 00:00:00 2001 From: Michael Nosthoff Date: Tue, 17 Sep 2024 13:10:17 +0200 Subject: [PATCH 03/50] package/catch2: bump to version 3.7.1 Signed-off-by: Michael Nosthoff Signed-off-by: Thomas Petazzoni --- package/catch2/catch2.hash | 2 +- package/catch2/catch2.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/catch2/catch2.hash b/package/catch2/catch2.hash index e34c426b376e..84f1aaea2e06 100644 --- a/package/catch2/catch2.hash +++ b/package/catch2/catch2.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 5b10cd536fa3818112a82820ce0787bd9f2a906c618429e7c4dea639983c8e88 catch2-3.7.0.tar.gz +sha256 c991b247a1a0d7bb9c39aa35faf0fe9e19764213f28ffba3109388e62ee0269c catch2-3.7.1.tar.gz sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE.txt diff --git a/package/catch2/catch2.mk b/package/catch2/catch2.mk index e68bdec5e419..3443b723a4d1 100644 --- a/package/catch2/catch2.mk +++ b/package/catch2/catch2.mk @@ -4,7 +4,7 @@ # ################################################################################ -CATCH2_VERSION = 3.7.0 +CATCH2_VERSION = 3.7.1 CATCH2_SITE = $(call github,catchorg,Catch2,v$(CATCH2_VERSION)) CATCH2_INSTALL_STAGING = YES CATCH2_INSTALL_TARGET = NO From c2b00081941c71aef38d46acda992a5559ea609f Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Tue, 17 Sep 2024 09:25:59 +0200 Subject: [PATCH 04/50] package/skopeo: bump version Update of the vendored dependencies. Signed-off-by: Yann E. MORIN Signed-off-by: Thomas Petazzoni --- package/skopeo/skopeo.hash | 2 +- package/skopeo/skopeo.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/skopeo/skopeo.hash b/package/skopeo/skopeo.hash index ee42f18b8060..c523dea46aa2 100644 --- a/package/skopeo/skopeo.hash +++ b/package/skopeo/skopeo.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 fed91fd067605460ef33431163227471b1e85c8768203fc393345d6ffd645448 skopeo-1.16.0-go2.tar.gz +sha256 9402e71f3fba979d0c0509240b963847bfeda2eac60be83eb5a628fd67d098e6 skopeo-1.16.1-go2.tar.gz sha256 716a8b80635c394681e652823e1e42e411ad2d254e1f202403422d74f4b0b106 LICENSE diff --git a/package/skopeo/skopeo.mk b/package/skopeo/skopeo.mk index f09009d88cfd..9859d774d4b0 100644 --- a/package/skopeo/skopeo.mk +++ b/package/skopeo/skopeo.mk @@ -4,7 +4,7 @@ # ################################################################################ -SKOPEO_VERSION = 1.16.0 +SKOPEO_VERSION = 1.16.1 SKOPEO_SITE = $(call github,containers,skopeo,v$(SKOPEO_VERSION)) SKOPEO_LICENSE = Apache-2.0 From 99db7d2cfd97002f778d0a93220288c08646a501 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Mon, 16 Sep 2024 20:13:32 -0600 Subject: [PATCH 05/50] package/python-cython: bump to version 3.0.11 Tested by ensuring all packages with a host-python-cython dependency build succesfully. Note that due to namespace conflicts supporting both cython 0.29 and cython 3.0 variants at the same time would be difficult as both can not be installed at the same time. License hash changed due to changing links from http to https: https://github.com/cython/cython/commit/331d9d824ee5f0c539310332215ebd6ed3257325 Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-cython/python-cython.hash | 6 +++--- package/python-cython/python-cython.mk | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/python-cython/python-cython.hash b/package/python-cython/python-cython.hash index 42c063014e46..cd320eaa2a11 100644 --- a/package/python-cython/python-cython.hash +++ b/package/python-cython/python-cython.hash @@ -1,6 +1,6 @@ # md5, sha256 from https://pypi.org/pypi/cython/json -md5 d9a1e8416f2278857a189347858ed9d0 Cython-0.29.37.tar.gz -sha256 f813d4a6dd94adee5d4ff266191d1d95bf6d4164a4facc535422c021b2504cfb Cython-0.29.37.tar.gz +md5 388b85b7c23f501320d19d991b169f5d cython-3.0.11.tar.gz +sha256 7146dd2af8682b4ca61331851e6aebce9fe5158e75300343f80c07ca80b1faff cython-3.0.11.tar.gz # Locally computed sha256 checksums -sha256 a6cba85bc92e0cff7a450b1d873c0eaa2e9fc96bf472df0247a26bec77bf3ff9 LICENSE.txt +sha256 9568a2b155e66ac3e0ba1fd80b52b827b9460e6cf6f233125e7cbca8e206ddc3 LICENSE.txt sha256 e1eb1c49a8508e8173dac30157e4a6439a44ad8846194746c424fbc3fc2b95d7 COPYING.txt diff --git a/package/python-cython/python-cython.mk b/package/python-cython/python-cython.mk index 024c8c1e5065..51086bedab50 100644 --- a/package/python-cython/python-cython.mk +++ b/package/python-cython/python-cython.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CYTHON_VERSION = 0.29.37 -PYTHON_CYTHON_SOURCE = Cython-$(PYTHON_CYTHON_VERSION).tar.gz -PYTHON_CYTHON_SITE = https://files.pythonhosted.org/packages/2a/97/8cc3fe7c6de4796921236a64d00ca8a95565772e57f0d3caae68d880b592 +PYTHON_CYTHON_VERSION = 3.0.11 +PYTHON_CYTHON_SOURCE = cython-$(PYTHON_CYTHON_VERSION).tar.gz +PYTHON_CYTHON_SITE = https://files.pythonhosted.org/packages/84/4d/b720d6000f4ca77f030bd70f12550820f0766b568e43f11af7f7ad9061aa PYTHON_CYTHON_SETUP_TYPE = setuptools PYTHON_CYTHON_LICENSE = Apache-2.0 PYTHON_CYTHON_LICENSE_FILES = COPYING.txt LICENSE.txt From ef0903b2bd796b1b0c8e38864cc27ef765356ba1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 16 Sep 2024 16:32:28 +0200 Subject: [PATCH 06/50] package/evilwm: add missing dependency Add missing dependency to xlib_libXrandr. Fixes: https://autobuild.buildroot.org/results/9928181557c7f99b7c74065d981f005cbd95145d/ Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni --- package/evilwm/Config.in | 1 + package/evilwm/evilwm.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/evilwm/Config.in b/package/evilwm/Config.in index 86cc17dc76f3..0f0513df0da0 100644 --- a/package/evilwm/Config.in +++ b/package/evilwm/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_EVILWM depends on BR2_PACKAGE_XORG7 depends on BR2_USE_MMU # fork() select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXRANDR help A minimalist window manager for the X Window System diff --git a/package/evilwm/evilwm.mk b/package/evilwm/evilwm.mk index b013305c44b9..78b531095b95 100644 --- a/package/evilwm/evilwm.mk +++ b/package/evilwm/evilwm.mk @@ -9,7 +9,7 @@ EVILWM_SITE = https://www.6809.org.uk/evilwm/dl EVILWM_LICENSE = evilwm license EVILWM_LICENSE_FILES = README -EVILWM_DEPENDENCIES = xlib_libX11 +EVILWM_DEPENDENCIES = xlib_libX11 xlib_libXrandr define EVILWM_INSTALL_XSESSION_FILE $(INSTALL) -m 0755 -D package/evilwm/xsession \ From 41c81fba21c526156b8c28f1790257987dcefa05 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 16 Sep 2024 10:12:26 +0200 Subject: [PATCH 07/50] package/depot-tools: bump version to 22df6f8e Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/depot-tools/depot-tools.hash | 2 +- package/depot-tools/depot-tools.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/depot-tools/depot-tools.hash b/package/depot-tools/depot-tools.hash index 1778b024945d..01df83058a17 100644 --- a/package/depot-tools/depot-tools.hash +++ b/package/depot-tools/depot-tools.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 904c266a5c5a96c756a1979990159b86a9bd60916782202b3791d32788cbb881 depot-tools-62fc3a1d244368a430ffd7a6b55377a6dfd5e348-git4.tar.gz +sha256 5921debde49a63df8ad958e0434521c4dd62a9edd7031ddb1e5ea2ec89ba80e1 depot-tools-22df6f8e622dc3e8df8dc8b5d3e3503b169af78e-git4.tar.gz sha256 984523ee987f4e8b72d61df37d8f1189a7077cd4b77e41a397e35593b297a29d LICENSE diff --git a/package/depot-tools/depot-tools.mk b/package/depot-tools/depot-tools.mk index e0c3842cd4e6..27e8896b2396 100644 --- a/package/depot-tools/depot-tools.mk +++ b/package/depot-tools/depot-tools.mk @@ -4,7 +4,7 @@ # ################################################################################ -DEPOT_TOOLS_VERSION = 62fc3a1d244368a430ffd7a6b55377a6dfd5e348 +DEPOT_TOOLS_VERSION = 22df6f8e622dc3e8df8dc8b5d3e3503b169af78e DEPOT_TOOLS_SITE = https://chromium.googlesource.com/chromium/tools/depot_tools DEPOT_TOOLS_SITE_METHOD = git DEPOT_TOOLS_LICENSE = BSD-3-Clause From 1a4e71a5f8f49c0fb75c8f1aa6057be64c22666e Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 16 Sep 2024 10:12:27 +0200 Subject: [PATCH 08/50] package/flutter-sdk-bin: bump version to 3.24.3 Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/flutter-sdk-bin/flutter-sdk-bin.hash | 2 +- package/flutter-sdk-bin/flutter-sdk-bin.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/flutter-sdk-bin/flutter-sdk-bin.hash b/package/flutter-sdk-bin/flutter-sdk-bin.hash index 011056c3e693..3c5cad423fc2 100644 --- a/package/flutter-sdk-bin/flutter-sdk-bin.hash +++ b/package/flutter-sdk-bin/flutter-sdk-bin.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 143f77340401e7f147a380ba18112445ed017c1d187fb4d20e40bb6ea1f13aa5 flutter_linux_3.24.2-stable.tar.xz +sha256 f4e2369afaf38a8e381c9243fad2ca04b8514194c40ec946825d1f4c5539a095 flutter_linux_3.24.3-stable.tar.xz sha256 a598db94b6290ffbe10b5ecf911057b6a943351c727fdda9e5f2891d68700a20 LICENSE diff --git a/package/flutter-sdk-bin/flutter-sdk-bin.mk b/package/flutter-sdk-bin/flutter-sdk-bin.mk index 5f94c94ea001..48cbe5472ee3 100644 --- a/package/flutter-sdk-bin/flutter-sdk-bin.mk +++ b/package/flutter-sdk-bin/flutter-sdk-bin.mk @@ -4,7 +4,7 @@ # ################################################################################ -FLUTTER_SDK_BIN_VERSION = 3.24.2 +FLUTTER_SDK_BIN_VERSION = 3.24.3 FLUTTER_SDK_BIN_SITE = https://storage.googleapis.com/flutter_infra_release/releases/stable/linux FLUTTER_SDK_BIN_SOURCE = flutter_linux_$(FLUTTER_SDK_BIN_VERSION)-stable.tar.xz FLUTTER_SDK_BIN_LICENSE = BSD-3-Clause From 6d07647cc6e48a05b5a18e8527bd52140dea89ec Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 16 Sep 2024 10:12:28 +0200 Subject: [PATCH 09/50] package/flutter-engine: bump package to 3.24.3 Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/flutter-engine/0001-disable-pre-canned-sysroot.patch | 2 +- package/flutter-engine/flutter-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/flutter-engine/0001-disable-pre-canned-sysroot.patch b/package/flutter-engine/0001-disable-pre-canned-sysroot.patch index 953705e33b4c..a9776d7388d3 100644 --- a/package/flutter-engine/0001-disable-pre-canned-sysroot.patch +++ b/package/flutter-engine/0001-disable-pre-canned-sysroot.patch @@ -18,7 +18,7 @@ diff --git a/build/config/sysroot.gni b/build/config/sysroot.gni index 7987e519d..1de694263 100644 --- a/build/config/sysroot.gni +++ b/build/config/sysroot.gni -@@ -14,7 +14,7 @@ declare_args() { +@@ -12,7 +12,7 @@ declare_args() { # Whether to use the default sysroot when building for Linux, if an explicit # sysroot isn't set. diff --git a/package/flutter-engine/flutter-engine.mk b/package/flutter-engine/flutter-engine.mk index a8158d3559c3..f0c734146a73 100644 --- a/package/flutter-engine/flutter-engine.mk +++ b/package/flutter-engine/flutter-engine.mk @@ -21,7 +21,7 @@ # # There is no hash provided, as the gn binary (used for configuration) relies # on the .git directories. As such, a reproducible tarball is not possible. -FLUTTER_ENGINE_VERSION = 3.24.2 +FLUTTER_ENGINE_VERSION = 3.24.3 # There is nothing for Buildroot to download. This is handled by gclient. FLUTTER_ENGINE_SITE = From fa80c46da57bdc30492d13485604b6da774feb6b Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 16 Sep 2024 10:12:29 +0200 Subject: [PATCH 10/50] package/flutter-packages: bump version to df88c814 Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/flutter-packages/flutter-packages.hash | 2 +- package/flutter-packages/flutter-packages.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/flutter-packages/flutter-packages.hash b/package/flutter-packages/flutter-packages.hash index b51eefbe8084..1a8613ecb35a 100644 --- a/package/flutter-packages/flutter-packages.hash +++ b/package/flutter-packages/flutter-packages.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 9de635d61d9efc0fd42762c1814086ead28ea6a372a6f8a99ee97060a3323fb3 flutter-packages-71e827e7df6833e6942873361f189adcb041d7f1.tar.gz +sha256 ddaa74f1d4a7d2c07dc620ccd5d33743b2c1ec6261d1cd00df74bdcf78aebb3a flutter-packages-df88c814248ddc88fdc0ac0a75d94179f39d644b.tar.gz sha256 89519eca6f7b9529b35bdddd623a58c3af06a88c458dbd6531ddb4675acf75a9 LICENSE diff --git a/package/flutter-packages/flutter-packages.mk b/package/flutter-packages/flutter-packages.mk index 407dd31a0fc4..bf39bb4488c7 100644 --- a/package/flutter-packages/flutter-packages.mk +++ b/package/flutter-packages/flutter-packages.mk @@ -4,7 +4,7 @@ # ################################################################################ -FLUTTER_PACKAGES_VERSION = 71e827e7df6833e6942873361f189adcb041d7f1 +FLUTTER_PACKAGES_VERSION = df88c814248ddc88fdc0ac0a75d94179f39d644b FLUTTER_PACKAGES_SITE = $(call github,flutter,packages,$(FLUTTER_PACKAGES_VERSION)) FLUTTER_PACKAGES_LICENSE = BSD-3-Clause FLUTTER_PACKAGES_LICENSE_FILES = LICENSE From 1c30a29b20071d3ca20fa853d59ffc96f627e998 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 16 Sep 2024 17:11:54 +0200 Subject: [PATCH 11/50] package/libsepol: bump version to 3.7 Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/libsepol/libsepol.hash | 2 +- package/libsepol/libsepol.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libsepol/libsepol.hash b/package/libsepol/libsepol.hash index 1369d820e189..dcc67ac6380b 100644 --- a/package/libsepol/libsepol.hash +++ b/package/libsepol/libsepol.hash @@ -1,5 +1,5 @@ # From: https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 c9dc585ea94903d784d597c861cd5dce6459168f95e22b31a0eab1cdd800975a libsepol-3.6.tar.gz +sha256 cd741e25244e7ef6cd934d633614131a266c3eaeab33d8bfa45e8a93b45cc901 libsepol-3.7.tar.gz # Hash for license file sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 LICENSE diff --git a/package/libsepol/libsepol.mk b/package/libsepol/libsepol.mk index 6361cc66bce2..af14778ead9e 100644 --- a/package/libsepol/libsepol.mk +++ b/package/libsepol/libsepol.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBSEPOL_VERSION = 3.6 +LIBSEPOL_VERSION = 3.7 LIBSEPOL_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(LIBSEPOL_VERSION) LIBSEPOL_LICENSE = LGPL-2.1+ LIBSEPOL_LICENSE_FILES = LICENSE From 2952d5d28a523a907f97df5196f662372b5cc174 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 16 Sep 2024 17:11:55 +0200 Subject: [PATCH 12/50] package/libsemanage: bump version to 3.7 Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/libsemanage/libsemanage.hash | 2 +- package/libsemanage/libsemanage.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libsemanage/libsemanage.hash b/package/libsemanage/libsemanage.hash index 862e49f52e4e..4d1b2161daad 100644 --- a/package/libsemanage/libsemanage.hash +++ b/package/libsemanage/libsemanage.hash @@ -1,5 +1,5 @@ # From: https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 41138f46222439e1242f27c1587e95cf54a059259aaf1681db642cc30c4e0d60 libsemanage-3.6.tar.gz +sha256 e166cae29a417dab008db9ca0874023f353a3017b07693a036ed97487eda35b1 libsemanage-3.7.tar.gz # Hash for license file sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 LICENSE diff --git a/package/libsemanage/libsemanage.mk b/package/libsemanage/libsemanage.mk index 7742e7060c16..cf9e9c46fa96 100644 --- a/package/libsemanage/libsemanage.mk +++ b/package/libsemanage/libsemanage.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBSEMANAGE_VERSION = 3.6 +LIBSEMANAGE_VERSION = 3.7 LIBSEMANAGE_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(LIBSEMANAGE_VERSION) LIBSEMANAGE_LICENSE = LGPL-2.1+ LIBSEMANAGE_LICENSE_FILES = LICENSE From a582ae4f8b85255ea0e3e47073f3778ca5aa56ab Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 16 Sep 2024 17:11:56 +0200 Subject: [PATCH 13/50] package/libselinux: bump version to 3.7 Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/libselinux/libselinux.hash | 2 +- package/libselinux/libselinux.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libselinux/libselinux.hash b/package/libselinux/libselinux.hash index 4e0a2ca31759..fac9d3cef2d8 100644 --- a/package/libselinux/libselinux.hash +++ b/package/libselinux/libselinux.hash @@ -1,5 +1,5 @@ # From: https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 ba4e0ef34b270e7672a5e5f1b523fe2beab3a40bb33d9389f4ad3a8728f21b52 libselinux-3.6.tar.gz +sha256 ea03f42d13a4f95757997dba8cf0b26321fac5d2f164418b4cc856a92d2b17bd libselinux-3.7.tar.gz # Hash for license file sha256 86657b4c0fe868d7cbd977cb04c63b6c667e08fa51595a7bc846ad4bed8fc364 LICENSE diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index f07498d7394e..360ab063ca69 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBSELINUX_VERSION = 3.6 +LIBSELINUX_VERSION = 3.7 LIBSELINUX_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(LIBSELINUX_VERSION) LIBSELINUX_LICENSE = Public Domain LIBSELINUX_LICENSE_FILES = LICENSE From 7e75eabbad15939a0be9ae3038f962cfbe5ac274 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 16 Sep 2024 17:11:57 +0200 Subject: [PATCH 14/50] package/policycoreutils: bump version to 3.7 Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/policycoreutils/policycoreutils.hash | 2 +- package/policycoreutils/policycoreutils.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/policycoreutils/policycoreutils.hash b/package/policycoreutils/policycoreutils.hash index ea45116912b5..661c1285e86b 100644 --- a/package/policycoreutils/policycoreutils.hash +++ b/package/policycoreutils/policycoreutils.hash @@ -1,3 +1,3 @@ # https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 a76ac431ea40a35a83164ce9007909c1c6c12fd1056627f622144e4a705c0a2c policycoreutils-3.6.tar.gz +sha256 58fe4e481edfb4456c114925442e11389df17394925acdba3de211145ce5ea98 policycoreutils-3.7.tar.gz sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 LICENSE diff --git a/package/policycoreutils/policycoreutils.mk b/package/policycoreutils/policycoreutils.mk index 714e2d7ad664..2b53c56e49f1 100644 --- a/package/policycoreutils/policycoreutils.mk +++ b/package/policycoreutils/policycoreutils.mk @@ -4,7 +4,7 @@ # ################################################################################ -POLICYCOREUTILS_VERSION = 3.6 +POLICYCOREUTILS_VERSION = 3.7 POLICYCOREUTILS_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(POLICYCOREUTILS_VERSION) POLICYCOREUTILS_LICENSE = GPL-2.0 POLICYCOREUTILS_LICENSE_FILES = LICENSE From f2ba690762cc012fdfe2caffa9dde6bb3e692f96 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 16 Sep 2024 17:11:58 +0200 Subject: [PATCH 15/50] package/checkpolicy: bump version to 3.7 Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/checkpolicy/checkpolicy.hash | 2 +- package/checkpolicy/checkpolicy.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/checkpolicy/checkpolicy.hash b/package/checkpolicy/checkpolicy.hash index d2ecc7265abc..e768a80cdff5 100644 --- a/package/checkpolicy/checkpolicy.hash +++ b/package/checkpolicy/checkpolicy.hash @@ -1,5 +1,5 @@ # https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 1b346b3cdd4f8a78a157627bad64a3b3479c67b6a19d15e6d5c8694620eadbc1 checkpolicy-3.6.tar.gz +sha256 fd3e1925477d49946d1116938661af44c1f86f0d681466fd9f02eaa06002a07f checkpolicy-3.7.tar.gz # Hash for license file sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 LICENSE diff --git a/package/checkpolicy/checkpolicy.mk b/package/checkpolicy/checkpolicy.mk index 109aaf60720a..adf125ebf818 100644 --- a/package/checkpolicy/checkpolicy.mk +++ b/package/checkpolicy/checkpolicy.mk @@ -4,7 +4,7 @@ # ################################################################################ -CHECKPOLICY_VERSION = 3.6 +CHECKPOLICY_VERSION = 3.7 CHECKPOLICY_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(CHECKPOLICY_VERSION) CHECKPOLICY_LICENSE = GPL-2.0 CHECKPOLICY_LICENSE_FILES = LICENSE From b41c2550df40b77b9338d3854d129788dbc8f582 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 16 Sep 2024 17:11:59 +0200 Subject: [PATCH 16/50] package/restorecond: bump version to 3.7 Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/restorecond/restorecond.hash | 2 +- package/restorecond/restorecond.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/restorecond/restorecond.hash b/package/restorecond/restorecond.hash index 5b86afdcc02d..34847f28f197 100644 --- a/package/restorecond/restorecond.hash +++ b/package/restorecond/restorecond.hash @@ -1,5 +1,5 @@ # https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 8f8aa2c6c66bcc6d91c6edd63913e5d738de6428928f27d1019d89c31cf347b1 restorecond-3.6.tar.gz +sha256 4192595c08c775ff540f5ab850885ce11b132a4a4e29b65f20e751dd0a69d31f restorecond-3.7.tar.gz # Hash for license file sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 LICENSE diff --git a/package/restorecond/restorecond.mk b/package/restorecond/restorecond.mk index 93495d8b7fc0..4624b9204dd4 100644 --- a/package/restorecond/restorecond.mk +++ b/package/restorecond/restorecond.mk @@ -4,7 +4,7 @@ # ################################################################################ -RESTORECOND_VERSION = 3.6 +RESTORECOND_VERSION = 3.7 RESTORECOND_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(RESTORECOND_VERSION) RESTORECOND_LICENSE = GPL-2.0 RESTORECOND_LICENSE_FILES = LICENSE From cc4555892a05c122554882ce6a0620dd3c65198b Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 16 Sep 2024 17:12:00 +0200 Subject: [PATCH 17/50] package/semodule-utils: bump to version 3.7 Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/semodule-utils/semodule-utils.hash | 2 +- package/semodule-utils/semodule-utils.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/semodule-utils/semodule-utils.hash b/package/semodule-utils/semodule-utils.hash index 5e7d698f3b1e..296f7fe137b0 100644 --- a/package/semodule-utils/semodule-utils.hash +++ b/package/semodule-utils/semodule-utils.hash @@ -1,5 +1,5 @@ # https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 eedb88f2b2124e538f2d614be063c0d9ac3eacc0c51a4da44500ca1ed1ba16f4 semodule-utils-3.6.tar.gz +sha256 db0641aeafefec46612c7c2ddd33ef1060bb721ce64842d2a96c33dddb5eb176 semodule-utils-3.7.tar.gz # Hash for license file sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 LICENSE diff --git a/package/semodule-utils/semodule-utils.mk b/package/semodule-utils/semodule-utils.mk index b58f7535f118..c9d3af4509a9 100644 --- a/package/semodule-utils/semodule-utils.mk +++ b/package/semodule-utils/semodule-utils.mk @@ -4,7 +4,7 @@ # ################################################################################ -SEMODULE_UTILS_VERSION = 3.6 +SEMODULE_UTILS_VERSION = 3.7 SEMODULE_UTILS_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(SEMODULE_UTILS_VERSION) SEMODULE_UTILS_LICENSE = GPL-2.0 SEMODULE_UTILS_LICENSE_FILES = LICENSE From 4b0f830b9fb7bd916d21fa68bec62cfaea5d5fcd Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 16 Sep 2024 17:12:01 +0200 Subject: [PATCH 18/50] package/selinux-python: bump to version 3.7 Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/selinux-python/selinux-python.hash | 2 +- package/selinux-python/selinux-python.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/selinux-python/selinux-python.hash b/package/selinux-python/selinux-python.hash index 96be214fd32e..9cf1fee97e7d 100644 --- a/package/selinux-python/selinux-python.hash +++ b/package/selinux-python/selinux-python.hash @@ -1,5 +1,5 @@ # https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 e2867d4cd26f9869c55216cc20ca7d10442491a0fbf256116ade99ec39426ec0 selinux-python-3.6.tar.gz +sha256 630b2ad50e017a06a81d4f94312bee85465a93cb050a7536c728055de9a41a2b selinux-python-3.7.tar.gz # Hash for license file sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 LICENSE diff --git a/package/selinux-python/selinux-python.mk b/package/selinux-python/selinux-python.mk index 84fc9cbc2232..3ea461b37e41 100644 --- a/package/selinux-python/selinux-python.mk +++ b/package/selinux-python/selinux-python.mk @@ -4,7 +4,7 @@ # ################################################################################ -SELINUX_PYTHON_VERSION = 3.6 +SELINUX_PYTHON_VERSION = 3.7 SELINUX_PYTHON_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(SELINUX_PYTHON_VERSION) SELINUX_PYTHON_LICENSE = GPL-2.0 SELINUX_PYTHON_LICENSE_FILES = LICENSE From 317958985934cb76f8df213d9beb64251678c77a Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 16 Sep 2024 17:12:02 +0200 Subject: [PATCH 19/50] package/setools: bump version to 4.5.1 Refresh 0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch to apply cleanly with 4.5.1. Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- ...e-setools.InfoFlowAnalysis-and-setoo.patch | 98 +++++++------------ package/setools/setools.hash | 2 +- package/setools/setools.mk | 2 +- 3 files changed, 35 insertions(+), 67 deletions(-) diff --git a/package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch b/package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch index 67c306e99ca0..67a7395c3c64 100644 --- a/package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch +++ b/package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch @@ -15,51 +15,50 @@ sedta and seinfoflow to require python3-networkx Signed-off-by: Antoine Tenart [Refreshed for 4.3.0] Signed-off-by: Adam Duskett -[Refreshed for 4.4.2] +[Refreshed for 4.5.1] +Signed-off-by: Adam Duskett --- - sedta | 3 ++- - seinfoflow | 5 +++-- - setools/__init__.py | 4 ++-- - setoolsgui/apol/dta.py | 2 +- - setoolsgui/apol/infoflow.py | 2 +- - tests/test_dta.py | 2 +- - tests/test_infoflow.py | 2 +- - 7 files changed, 11 insertions(+), 9 deletions(-) + sedta | 3 ++- + seinfoflow | 5 +++-- + setools/__init__.py | 2 +- + tests/test_dta.py | 2 +- + tests/test_infoflow.py | 2 +- + 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/sedta b/sedta -index ffd9ede..4c53825 100755 +index 9b580fc..bec89d4 100755 --- a/sedta +++ b/sedta -@@ -10,6 +10,7 @@ import logging - import signal +@@ -12,6 +12,7 @@ import warnings + import networkx as nx import setools +import setools.dta - def print_transition(trans: setools.DomainTransition) -> None: -@@ -104,7 +105,7 @@ else: + signal.signal(signal.SIGPIPE, signal.SIG_DFL) +@@ -68,7 +69,7 @@ else: try: p = setools.SELinuxPolicy(args.policy) -- g = setools.DomainTransitionAnalysis(p, reverse=args.reverse, exclude=args.exclude) -+ g = setools.dta.DomainTransitionAnalysis(p, reverse=args.reverse, exclude=args.exclude) +- g = setools.DomainTransitionAnalysis(p, exclude=args.exclude) ++ g = setools.dta.DomainTransitionAnalysis(p, exclude=args.exclude) - if args.shortest_path or args.all_paths: - if args.shortest_path: + pathnum: int = 0 + path: setools.DTAPath diff --git a/seinfoflow b/seinfoflow -index 5f4e764..a27b781 100755 +index b4ad328..61f1ef5 100755 --- a/seinfoflow +++ b/seinfoflow -@@ -5,6 +5,7 @@ - # +@@ -13,6 +13,7 @@ from typing import Dict, Optional + import networkx as nx import setools +import setools.infoflow - import argparse - import sys - import logging -@@ -94,8 +95,8 @@ elif args.booleans is not None: + + signal.signal(signal.SIGPIPE, signal.SIG_DFL) + +@@ -104,8 +105,8 @@ elif args.booleans is not None: try: p = setools.SELinuxPolicy(args.policy) m = setools.PermissionMap(args.map) @@ -68,54 +67,23 @@ index 5f4e764..a27b781 100755 + g = setools.infoflow.InfoFlowAnalysis(p, m, min_weight=args.min_weight, exclude=args.exclude, + booleans=booleans) - if args.shortest_path or args.all_paths: - if args.shortest_path: + flownum: int = 0 + flow: setools.InfoFlowPath diff --git a/setools/__init__.py b/setools/__init__.py -index ad9b36a..2bde01b 100644 +index 1efd2cc..fe54ab2 100644 --- a/setools/__init__.py +++ b/setools/__init__.py -@@ -77,11 +77,11 @@ from .pcideviceconquery import PcideviceconQuery - from .devicetreeconquery import DevicetreeconQuery - - # Information Flow Analysis --from .infoflow import InfoFlowAnalysis -+# from .infoflow import InfoFlowAnalysis +@@ -81,7 +81,7 @@ from .infoflow import * from .permmap import PermissionMap, RuleWeight, Mapping # Domain Transition Analysis --from .dta import DomainTransitionAnalysis, DomainEntrypoint, DomainTransition -+# from .dta import DomainTransitionAnalysis, DomainEntrypoint, DomainTransition +-from .dta import * ++# from .dta import * # Policy difference from .diff import PolicyDifference -diff --git a/setoolsgui/apol/dta.py b/setoolsgui/apol/dta.py -index a78d960..e71c70a 100644 ---- a/setoolsgui/apol/dta.py -+++ b/setoolsgui/apol/dta.py -@@ -11,7 +11,7 @@ from PyQt5.QtCore import pyqtSignal, Qt, QStringListModel, QThread - from PyQt5.QtGui import QPalette, QTextCursor - from PyQt5.QtWidgets import QCompleter, QHeaderView, QMessageBox, QProgressDialog, \ - QTreeWidgetItem --from setools import DomainTransitionAnalysis -+from setools.dta import DomainTransitionAnalysis - - from ..logtosignal import LogHandlerToSignal - from .analysistab import AnalysisSection, AnalysisTab -diff --git a/setoolsgui/apol/infoflow.py b/setoolsgui/apol/infoflow.py -index fb9b409..738f1b8 100644 ---- a/setoolsgui/apol/infoflow.py -+++ b/setoolsgui/apol/infoflow.py -@@ -13,7 +13,7 @@ from PyQt5.QtCore import pyqtSignal, Qt, QStringListModel, QThread - from PyQt5.QtGui import QPalette, QTextCursor - from PyQt5.QtWidgets import QCompleter, QHeaderView, QMessageBox, QProgressDialog, \ - QTreeWidgetItem --from setools import InfoFlowAnalysis -+from setools.infoflow import InfoFlowAnalysis - from setools.exception import UnmappedClass, UnmappedPermission - - from ..logtosignal import LogHandlerToSignal diff --git a/tests/test_dta.py b/tests/test_dta.py -index 7f9bbc9..48338c5 100644 +index 2398b3f..b943bd6 100644 --- a/tests/test_dta.py +++ b/tests/test_dta.py @@ -5,7 +5,7 @@ @@ -128,7 +96,7 @@ index 7f9bbc9..48338c5 100644 from setools.exception import InvalidType from setools.policyrep import Type diff --git a/tests/test_infoflow.py b/tests/test_infoflow.py -index 5a8f745..e25993b 100644 +index ba2983f..9cd6ab3 100644 --- a/tests/test_infoflow.py +++ b/tests/test_infoflow.py @@ -5,7 +5,7 @@ @@ -141,5 +109,5 @@ index 5a8f745..e25993b 100644 from setools.exception import InvalidType from setools.permmap import PermissionMap -- -2.26.2 +2.46.0 diff --git a/package/setools/setools.hash b/package/setools/setools.hash index bb98231de96e..26b893c09e7c 100644 --- a/package/setools/setools.hash +++ b/package/setools/setools.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 92afeea2f2433cbb981ff47f6ce4e2485d9202b530842f7f5d95f905b2ddaea4 setools-4.4.4.tar.gz +sha256 3fc1d663bbe00e3e2c3f97b371ff55b468e70d7965908cfde35ccc8e55bb2491 setools-4.5.1.tar.gz sha256 0e58d74751e394f39748c7b7b4039d6a883b5def9711160668ba962b52e69e01 COPYING sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPL sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL diff --git a/package/setools/setools.mk b/package/setools/setools.mk index 1ffc2852d292..81ae11d004f8 100644 --- a/package/setools/setools.mk +++ b/package/setools/setools.mk @@ -4,7 +4,7 @@ # ################################################################################ -SETOOLS_VERSION = 4.4.4 +SETOOLS_VERSION = 4.5.1 SETOOLS_SITE = $(call github,SELinuxProject,setools,$(SETOOLS_VERSION)) SETOOLS_DEPENDENCIES = libselinux libsepol python-setuptools host-bison host-flex host-python-cython host-swig SETOOLS_INSTALL_STAGING = YES From 35835703f8d6e8bdf71b2adf28da309435a8382d Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 16 Sep 2024 17:12:03 +0200 Subject: [PATCH 20/50] package/refpolicy: bump version to 2.20240226 Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/refpolicy/refpolicy.hash | 2 +- package/refpolicy/refpolicy.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/refpolicy/refpolicy.hash b/package/refpolicy/refpolicy.hash index 70d1acc9afde..5e876d4a4396 100644 --- a/package/refpolicy/refpolicy.hash +++ b/package/refpolicy/refpolicy.hash @@ -1,5 +1,5 @@ # From https://github.com/SELinuxProject/refpolicy/releases -sha256 c89cd3b2e5d99765cc24536fd8e76de83951ad23e05472350328b5a4f8bee410 refpolicy-2.20231002.tar.bz2 +sha256 7ed41f4f45189b9ee9706da8ac357eccc103651b56daabaddb54c436e8117cf9 refpolicy-2.20240226.tar.bz2 # Locally computed sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk index fb1c213b8408..74ccb796245c 100644 --- a/package/refpolicy/refpolicy.mk +++ b/package/refpolicy/refpolicy.mk @@ -23,7 +23,7 @@ REFPOLICY_SITE = $(call qstrip,$(BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_URL)) REFPOLICY_SITE_METHOD = git BR_NO_CHECK_HASH_FOR += $(REFPOLICY_SOURCE) else -REFPOLICY_VERSION = 2.20231002 +REFPOLICY_VERSION = 2.20240226 REFPOLICY_SOURCE = refpolicy-$(REFPOLICY_VERSION).tar.bz2 REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_$(subst .,_,$(REFPOLICY_VERSION)) endif From 35593203802acc18687cdcaf36fff3bb62347015 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 16 Sep 2024 17:12:04 +0200 Subject: [PATCH 21/50] package/polkit: bump version to 125 Also, change the url to https://github.com/polkit-org/polkit as https://gitlab.freedesktop.org/polkit/polkit The new address of the codebase for the polkit project points to the github URL. Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/polkit/polkit.hash | 2 +- package/polkit/polkit.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/polkit/polkit.hash b/package/polkit/polkit.hash index 5eadc8975386..a3855adecd45 100644 --- a/package/polkit/polkit.hash +++ b/package/polkit/polkit.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 b69278f6ea0eac406350c45f5720e2fe5e4beaf9f53c16d9902e025965418864 polkit-123.tar.gz +sha256 ea5cd6e6e2afa6bad938ee770bf0c2cd9317910f37956faeba2869adcf3747d1 polkit-125.tar.gz sha256 d2e2aa973e29c75e1b492e67ea7b7da9de2d501d49a934657971fd74f9a0b0a8 COPYING diff --git a/package/polkit/polkit.mk b/package/polkit/polkit.mk index cdbbf8f9b074..fb49f6ce2a88 100644 --- a/package/polkit/polkit.mk +++ b/package/polkit/polkit.mk @@ -4,8 +4,8 @@ # ################################################################################ -POLKIT_VERSION = 123 -POLKIT_SITE = https://gitlab.freedesktop.org/polkit/polkit/-/archive/$(POLKIT_VERSION) +POLKIT_VERSION = 125 +POLKIT_SITE = $(call github,polkit-org,polkit,$(POLKIT_VERSION)) POLKIT_LICENSE = GPL-2.0 POLKIT_LICENSE_FILES = COPYING POLKIT_CPE_ID_VALID = YES From 29a5475c9b6d1ffe36ab0d988ad7fef7a622f2f9 Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Sun, 13 Oct 2024 18:47:58 +0200 Subject: [PATCH 22/50] package/bitcoin: bump to version 28.0 For change log since 26.2, see: https://bitcoincore.org/en/releases/27.0/ https://bitcoincore.org/en/releases/27.1/ https://bitcoincore.org/en/releases/28.0/ A notable change in version 28.0 is that bitcoin code now needs gcc >= 11.1. This change is reflected in the package Kconfig Config.in file. License file hash changed, due to year update in upstream commit: https://github.com/bitcoin/bitcoin/commit/1f8450f066724dfbb5c5bc4060843e2f3340ed88 Signed-off-by: Julien Olivain Signed-off-by: Thomas Petazzoni --- package/bitcoin/Config.in | 6 +++--- package/bitcoin/bitcoin.hash | 8 ++++---- package/bitcoin/bitcoin.mk | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package/bitcoin/Config.in b/package/bitcoin/Config.in index 060cae24f5f6..425e99ce8b1b 100644 --- a/package/bitcoin/Config.in +++ b/package/bitcoin/Config.in @@ -12,7 +12,7 @@ config BR2_PACKAGE_BITCOIN depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread, boost-filesystem depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_11 depends on BR2_TOOLCHAIN_HAS_THREADS # boost depends on BR2_USE_WCHAR select BR2_PACKAGE_BOOST @@ -46,9 +46,9 @@ config BR2_PACKAGE_BITCOIN_WALLET endif -comment "bitcoin needs a toolchain w/ C++, threads, wchar, gcc >= 9" +comment "bitcoin needs a toolchain w/ C++, threads, wchar, gcc >= 11" depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS depends on !BR2_INSTALL_LIBSTDCPP || \ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_9 + !BR2_TOOLCHAIN_GCC_AT_LEAST_11 diff --git a/package/bitcoin/bitcoin.hash b/package/bitcoin/bitcoin.hash index 9bd08430854e..c7dad34d0a4b 100644 --- a/package/bitcoin/bitcoin.hash +++ b/package/bitcoin/bitcoin.hash @@ -1,7 +1,7 @@ -# Hash from: https://bitcoincore.org/bin/bitcoin-core-26.2/SHA256SUMS +# Hash from: https://bitcoincore.org/bin/bitcoin-core-28.0/SHA256SUMS # After checking pgp signature from: -# https://bitcoincore.org/bin/bitcoin-core-26.2/SHA256SUMS.asc -sha256 78d59418741f45cbdaa9bf20ebc49a5e95ff9f7172f72fc78d14307eaf341b3c bitcoin-26.2.tar.gz +# https://bitcoincore.org/bin/bitcoin-core-28.0/SHA256SUMS.asc +sha256 700ae2d1e204602eb07f2779a6e6669893bc96c0dca290593f80ff8e102ff37f bitcoin-28.0.tar.gz # Hash for license file -sha256 a6331cd1f889397adfc0c3b0535682a20950c6cf8e5c712e9997a15ce98324e1 COPYING +sha256 779d9beab4eef2340bb1e86e91f8f55dea9b0985a2d03fbcbb52bd713e091e1b COPYING diff --git a/package/bitcoin/bitcoin.mk b/package/bitcoin/bitcoin.mk index 9ca29092adc2..9a5f4d6494a4 100644 --- a/package/bitcoin/bitcoin.mk +++ b/package/bitcoin/bitcoin.mk @@ -4,7 +4,7 @@ # ################################################################################ -BITCOIN_VERSION = 26.2 +BITCOIN_VERSION = 28.0 BITCOIN_SITE = https://bitcoincore.org/bin/bitcoin-core-$(BITCOIN_VERSION) BITCOIN_AUTORECONF = YES BITCOIN_LICENSE = MIT From 859c4ea5f74f713777ffa980f1627b46a311bdd4 Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Sun, 13 Oct 2024 18:47:59 +0200 Subject: [PATCH 23/50] support/testing: package: bitcoin: fix test by increasing timeouts Generating Bitcoins to an address can take longer than the current timeout, on slow runners. This commit fixes this issue by increasing the timeout on specific commands. This issue was also observed more frequently on newer bitcoin-core version 28.0. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/7782083081 Signed-off-by: Julien Olivain Signed-off-by: Thomas Petazzoni --- support/testing/tests/package/test_bitcoin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/testing/tests/package/test_bitcoin.py b/support/testing/tests/package/test_bitcoin.py index 93aa9383ab6b..1f00345a12e2 100644 --- a/support/testing/tests/package/test_bitcoin.py +++ b/support/testing/tests/package/test_bitcoin.py @@ -130,7 +130,7 @@ def test_run(self): # #1. We should receive the 50 BTC reward at this address. cmd = self.cli_cmd cmd += f" generatetoaddress {req_blk_count} {btc_addr1}" - self.assertRunOk(cmd) + self.assertRunOk(cmd, timeout=30) # We should now see the previously created blocks. cur_blk_cnt = self.get_block_count() @@ -169,7 +169,7 @@ def test_run(self): # the previous transaction (but this will not give the 50 BTC # reward). cmd = f"{self.cli_cmd} generatetoaddress 1 {btc_addr2}" - self.assertRunOk(cmd) + self.assertRunOk(cmd, timeout=30) # We should see one more block. cur_blk_cnt = self.get_block_count() From 39da566f7f8536375543823a3d59a8b5228ca636 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 13 Oct 2024 10:27:01 +0200 Subject: [PATCH 24/50] package/kodi-pvr-iptvsimple: bump version to 21.9.3-Omega Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.hash | 2 +- package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.hash b/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.hash index 14fad490b925..025b15ee78da 100644 --- a/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.hash +++ b/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 191a56c10fc3639a6d3d5dffeaac38425c70b5196afa23b623cb205d5c3be4a6 kodi-pvr-iptvsimple-21.8.6-Omega.tar.gz +sha256 fd0d4cbcf2d20f85e197d33d7f46e6ab2a4de692a04cfade872aace45bd5b742 kodi-pvr-iptvsimple-21.9.3-Omega.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.mk b/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.mk index 50a221857dae..095e44c69c28 100644 --- a/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.mk +++ b/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_IPTVSIMPLE_VERSION = 21.8.6-Omega +KODI_PVR_IPTVSIMPLE_VERSION = 21.9.3-Omega KODI_PVR_IPTVSIMPLE_SITE = $(call github,kodi-pvr,pvr.iptvsimple,$(KODI_PVR_IPTVSIMPLE_VERSION)) KODI_PVR_IPTVSIMPLE_LICENSE = GPL-2.0+ KODI_PVR_IPTVSIMPLE_LICENSE_FILES = LICENSE.md From afbe22629e18f426aeea2158a77a98f8bc0ad354 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 13 Oct 2024 10:27:02 +0200 Subject: [PATCH 25/50] package/kodi-inputstream-adaptive: bump version to 21.5.5-Omega Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- .../kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash | 2 +- package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash index d1b64055bb8f..f38a02db45f5 100644 --- a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash +++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 022a85b8e5323d841c8786484f49d69f6cb4571e9752b74f39abe54fad8e3ec0 kodi-inputstream-adaptive-21.5.4-Omega.tar.gz +sha256 43a65b6673442fff79febeb40f033482f1c3a9e335f15d7d821ed4442f9baec6 kodi-inputstream-adaptive-21.5.5-Omega.tar.gz sha256 48632d57fbb6ab8f50cbf4deced5c91e733fa7ff292687c4816b77f28e483df9 LICENSE.md sha256 02f864f3e07456785625968022ce811c5640301bfd2ae70963efea89d306790a LICENSES/README.md sha256 0b7f5dcb3d2c28ff78d999786028930e762df0baa2f52955782e378ec5b636a8 LICENSES/BSD-2-Clause-Views diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk index 6ef2d699971b..0db742397480 100644 --- a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk +++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_INPUTSTREAM_ADAPTIVE_VERSION = 21.5.4-Omega +KODI_INPUTSTREAM_ADAPTIVE_VERSION = 21.5.5-Omega KODI_INPUTSTREAM_ADAPTIVE_SITE = $(call github,xbmc,inputstream.adaptive,$(KODI_INPUTSTREAM_ADAPTIVE_VERSION)) KODI_INPUTSTREAM_ADAPTIVE_LICENSE = \ BSD-2-Clause-Views \ From a404cbbe0bccfa3cc9129a9cb858dc90eca0f3a8 Mon Sep 17 00:00:00 2001 From: "Fiona Klute (WIWA)" Date: Fri, 27 Sep 2024 20:33:57 +0200 Subject: [PATCH 26/50] package/python-tomlkit: add host package Required to run poetry-dynamic-versioning on the host. Signed-off-by: Fiona Klute (WIWA) Signed-off-by: Thomas Petazzoni --- package/python-tomlkit/python-tomlkit.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/python-tomlkit/python-tomlkit.mk b/package/python-tomlkit/python-tomlkit.mk index 99b974da5df9..0b1d32c3746e 100644 --- a/package/python-tomlkit/python-tomlkit.mk +++ b/package/python-tomlkit/python-tomlkit.mk @@ -11,5 +11,7 @@ PYTHON_TOMLKIT_SETUP_TYPE = pep517 PYTHON_TOMLKIT_LICENSE = MIT PYTHON_TOMLKIT_LICENSE_FILES = LICENSE PYTHON_TOMLKIT_DEPENDENCIES = host-python-poetry-core +HOST_PYTHON_TOMLKIT_DEPENDENCIES = host-python-poetry-core $(eval $(python-package)) +$(eval $(host-python-package)) From e5d64511562fa90b2e481abce4ee950d3e42871e Mon Sep 17 00:00:00 2001 From: "Fiona Klute (WIWA)" Date: Fri, 27 Sep 2024 20:33:58 +0200 Subject: [PATCH 27/50] package/python-dunamai: new host package Host-only package as dependency of poetry-dynamic-versioning. Signed-off-by: Fiona Klute (WIWA) Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/python-dunamai/python-dunamai.hash | 5 +++++ package/python-dunamai/python-dunamai.mk | 16 ++++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 package/python-dunamai/python-dunamai.hash create mode 100644 package/python-dunamai/python-dunamai.mk diff --git a/DEVELOPERS b/DEVELOPERS index 409642f96fc2..9b4ae68ebf53 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1098,6 +1098,7 @@ N: Falco Hyfing F: package/python-pymodbus/ N: Fiona Klute +F: package/python-dunamai/ F: package/python-pyasynchat/ F: package/python-pyasyncore/ diff --git a/package/python-dunamai/python-dunamai.hash b/package/python-dunamai/python-dunamai.hash new file mode 100644 index 000000000000..a2a92b86995e --- /dev/null +++ b/package/python-dunamai/python-dunamai.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/dunamai/json +md5 1b3ca932416961ea6953dbbc21e6d42c dunamai-1.22.0.tar.gz +sha256 375a0b21309336f0d8b6bbaea3e038c36f462318c68795166e31f9873fdad676 dunamai-1.22.0.tar.gz +# Locally computed sha256 checksums +sha256 cd75c5564078e3aadf662a9df3d23430f4705dfeedebbd0ebbeef53998ad94a8 LICENSE diff --git a/package/python-dunamai/python-dunamai.mk b/package/python-dunamai/python-dunamai.mk new file mode 100644 index 000000000000..c3ab45fd6e7e --- /dev/null +++ b/package/python-dunamai/python-dunamai.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-dunamai +# +################################################################################ + +PYTHON_DUNAMAI_VERSION = 1.22.0 +PYTHON_DUNAMAI_SOURCE = dunamai-$(PYTHON_DUNAMAI_VERSION).tar.gz +PYTHON_DUNAMAI_SITE = https://files.pythonhosted.org/packages/a0/fe/aee602f08765de4dd753d2e5d6cbd480857182e345f161f7a19ad1979e4d +PYTHON_DUNAMAI_SETUP_TYPE = pep517 +PYTHON_DUNAMAI_LICENSE = MIT +PYTHON_DUNAMAI_LICENSE_FILES = LICENSE +HOST_PYTHON_DUNAMAI_DEPENDENCIES = host-python-poetry-core \ + host-python-packaging + +$(eval $(host-python-package)) From b8735ae228c4e796c7a44b3897cad51fd8ce2a61 Mon Sep 17 00:00:00 2001 From: "Fiona Klute (WIWA)" Date: Fri, 27 Sep 2024 20:33:59 +0200 Subject: [PATCH 28/50] package/python-poetry-dynamic-versioning: new host package Build dependency of aiomqtt (Python package). Signed-off-by: Fiona Klute (WIWA) Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + .../python-poetry-dynamic-versioning.hash | 5 +++++ .../python-poetry-dynamic-versioning.mk | 18 ++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 package/python-poetry-dynamic-versioning/python-poetry-dynamic-versioning.hash create mode 100644 package/python-poetry-dynamic-versioning/python-poetry-dynamic-versioning.mk diff --git a/DEVELOPERS b/DEVELOPERS index 9b4ae68ebf53..2f86bcfab5b6 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1099,6 +1099,7 @@ F: package/python-pymodbus/ N: Fiona Klute F: package/python-dunamai/ +F: package/python-poetry-dynamic-versioning/ F: package/python-pyasynchat/ F: package/python-pyasyncore/ diff --git a/package/python-poetry-dynamic-versioning/python-poetry-dynamic-versioning.hash b/package/python-poetry-dynamic-versioning/python-poetry-dynamic-versioning.hash new file mode 100644 index 000000000000..abe063096dfe --- /dev/null +++ b/package/python-poetry-dynamic-versioning/python-poetry-dynamic-versioning.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/poetry-dynamic-versioning/json +md5 91032d27f9da010d8a9b7e76bfd09d24 poetry_dynamic_versioning-1.4.1.tar.gz +sha256 21584d21ca405aa7d83d23d38372e3c11da664a8742995bdd517577e8676d0e1 poetry_dynamic_versioning-1.4.1.tar.gz +# Locally computed sha256 checksums +sha256 cd75c5564078e3aadf662a9df3d23430f4705dfeedebbd0ebbeef53998ad94a8 LICENSE diff --git a/package/python-poetry-dynamic-versioning/python-poetry-dynamic-versioning.mk b/package/python-poetry-dynamic-versioning/python-poetry-dynamic-versioning.mk new file mode 100644 index 000000000000..31567380ef7e --- /dev/null +++ b/package/python-poetry-dynamic-versioning/python-poetry-dynamic-versioning.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# python-poetry-dynamic-versioning +# +################################################################################ + +PYTHON_POETRY_DYNAMIC_VERSIONING_VERSION = 1.4.1 +PYTHON_POETRY_DYNAMIC_VERSIONING_SOURCE = poetry_dynamic_versioning-$(PYTHON_POETRY_DYNAMIC_VERSIONING_VERSION).tar.gz +PYTHON_POETRY_DYNAMIC_VERSIONING_SITE = https://files.pythonhosted.org/packages/dd/70/1138211a6e5051d28596922ed39acf20b42819db5ae1f93e465b9a903c28 +PYTHON_POETRY_DYNAMIC_VERSIONING_SETUP_TYPE = pep517 +PYTHON_POETRY_DYNAMIC_VERSIONING_LICENSE = MIT +PYTHON_POETRY_DYNAMIC_VERSIONING_LICENSE_FILES = LICENSE +HOST_PYTHON_POETRY_DYNAMIC_VERSIONING_DEPENDENCIES = host-python-poetry-core \ + host-python-dunamai \ + host-python-jinja2 \ + host-python-tomlkit + +$(eval $(host-python-package)) From 74ad4124fb98e421419ec38ef7637808a86c9ac4 Mon Sep 17 00:00:00 2001 From: "Fiona Klute (WIWA)" Date: Fri, 27 Sep 2024 20:34:00 +0200 Subject: [PATCH 29/50] package/python-aiomqtt: new package MQTT client library for use with Python asyncio. Signed-off-by: Fiona Klute (WIWA) Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/Config.in | 1 + package/python-aiomqtt/Config.in | 8 ++++++++ package/python-aiomqtt/python-aiomqtt.hash | 5 +++++ package/python-aiomqtt/python-aiomqtt.mk | 15 +++++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/python-aiomqtt/Config.in create mode 100644 package/python-aiomqtt/python-aiomqtt.hash create mode 100644 package/python-aiomqtt/python-aiomqtt.mk diff --git a/DEVELOPERS b/DEVELOPERS index 2f86bcfab5b6..3db1b3b7e837 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1098,6 +1098,7 @@ N: Falco Hyfing F: package/python-pymodbus/ N: Fiona Klute +F: package/python-aiomqtt/ F: package/python-dunamai/ F: package/python-poetry-dynamic-versioning/ F: package/python-pyasynchat/ diff --git a/package/Config.in b/package/Config.in index 6aceef9e7f01..3c2e75db6cb1 100644 --- a/package/Config.in +++ b/package/Config.in @@ -986,6 +986,7 @@ menu "External python modules" source "package/python-aiojobs/Config.in" source "package/python-aiologstash/Config.in" source "package/python-aiomonitor/Config.in" + source "package/python-aiomqtt/Config.in" source "package/python-aioprocessing/Config.in" source "package/python-aioredis/Config.in" source "package/python-aiorwlock/Config.in" diff --git a/package/python-aiomqtt/Config.in b/package/python-aiomqtt/Config.in new file mode 100644 index 000000000000..d0d31b48ba7f --- /dev/null +++ b/package/python-aiomqtt/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_AIOMQTT + bool "python-aiomqtt" + select BR2_PACKAGE_PYTHON_PAHO_MQTT # runtime + select BR2_PACKAGE_PYTHON3_SSL # runtime + help + The idiomatic asyncio MQTT client, wrapped around paho-mqtt. + + https://github.com/empicano/aiomqtt diff --git a/package/python-aiomqtt/python-aiomqtt.hash b/package/python-aiomqtt/python-aiomqtt.hash new file mode 100644 index 000000000000..12ea86d53877 --- /dev/null +++ b/package/python-aiomqtt/python-aiomqtt.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aiomqtt/json +md5 e23feb8ad69a1ae3a9701fb1f3c03a3c aiomqtt-2.3.0.tar.gz +sha256 312feebe20bc76dc7c20916663011f3bd37aa6f42f9f687a19a1c58308d80d47 aiomqtt-2.3.0.tar.gz +# Locally computed sha256 checksums +sha256 2cdee9e997c759749069649dfb9060fdb885da82bc50c0dcb4841b1dcab0b032 LICENSE diff --git a/package/python-aiomqtt/python-aiomqtt.mk b/package/python-aiomqtt/python-aiomqtt.mk new file mode 100644 index 000000000000..291547f11f96 --- /dev/null +++ b/package/python-aiomqtt/python-aiomqtt.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-aiomqtt +# +################################################################################ + +PYTHON_AIOMQTT_VERSION = 2.3.0 +PYTHON_AIOMQTT_SOURCE = aiomqtt-$(PYTHON_AIOMQTT_VERSION).tar.gz +PYTHON_AIOMQTT_SITE = https://files.pythonhosted.org/packages/db/c9/168e78bd35b21d9bdbb26178db33a8f265e4a69bb4193e72434e7cb3d1cd +PYTHON_AIOMQTT_SETUP_TYPE = pep517 +PYTHON_AIOMQTT_LICENSE = BSD-3-Clause +PYTHON_AIOMQTT_LICENSE_FILES = LICENSE +PYTHON_AIOMQTT_DEPENDENCIES = host-python-poetry-dynamic-versioning + +$(eval $(python-package)) From 04c91340ffefbfd7d4293e6e0b5e40a0e10c48b8 Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Thu, 15 Aug 2024 15:56:49 +0200 Subject: [PATCH 30/50] support/testing: add unbound runtime test Signed-off-by: Julien Olivain Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 2 + support/testing/tests/package/test_unbound.py | 79 +++++++++++++++++++ .../rootfs-overlay/etc/unbound/unbound.conf | 17 ++++ 3 files changed, 98 insertions(+) create mode 100644 support/testing/tests/package/test_unbound.py create mode 100644 support/testing/tests/package/test_unbound/rootfs-overlay/etc/unbound/unbound.conf diff --git a/DEVELOPERS b/DEVELOPERS index 3db1b3b7e837..c7a968b6c289 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1993,6 +1993,8 @@ F: support/testing/tests/package/test_tesseract_ocr.py F: support/testing/tests/package/test_thttpd.py F: support/testing/tests/package/test_trace_cmd.py F: support/testing/tests/package/test_trace_cmd/ +F: support/testing/tests/package/test_unbound.py +F: support/testing/tests/package/test_unbound/ F: support/testing/tests/package/test_usbutils.py F: support/testing/tests/package/test_usbutils/ F: support/testing/tests/package/test_vorbis_tools.py diff --git a/support/testing/tests/package/test_unbound.py b/support/testing/tests/package/test_unbound.py new file mode 100644 index 000000000000..c92719badcd9 --- /dev/null +++ b/support/testing/tests/package/test_unbound.py @@ -0,0 +1,79 @@ +import os + +import infra.basetest + + +class TestUnbound(infra.basetest.BRTest): + rootfs_overlay = \ + infra.filepath("tests/package/test_unbound/rootfs-overlay") + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + f""" + BR2_PACKAGE_UNBOUND=y + BR2_ROOTFS_OVERLAY="{rootfs_overlay}" + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + + # Check the program can execute. + self.assertRunOk("unbound -V") + + # Verify that the configuration checker validates our file. + self.assertRunOk("unbound-checkconf") + + # Our test configuration enabled the unbound remote + # control. The unbound server is supposed to be started by the + # sysv initscript. We should see the already running server. + out, ret = self.emulator.run("unbound-control status") + self.assertEqual(ret, 0) + self.assertRegex("\n".join(out), r"unbound \(pid \d+\) is running") + + # We check the "unbound-host" program is working with a simple + # query. Note: this local query succeed even if the unbound + # server is not running. We are only testing this program + # here. The server side will be tested with the BusyBox + # "nslookup" applet. + out, ret = self.emulator.run("unbound-host -t A localhost.") + self.assertEqual(ret, 0) + self.assertEqual(out[0], "localhost. has address 127.0.0.1") + + # We test few other "unbound-control" commands. + self.assertRunOk("unbound-control stats") + self.assertRunOk("unbound-control list_local_zones") + + # We check we see our test IPv4 address record. + cmd = "nslookup -type=A somehost.buildroot.test." + out, ret = self.emulator.run(cmd) + self.assertEqual(ret, 0) + self.assertIn("Address: 10.20.30.40", out) + + # We also check we see our reverse record. + cmd = "nslookup 10.20.30.40" + out, ret = self.emulator.run(cmd) + self.assertEqual(ret, 0) + expected = "40.30.20.10.in-addr.arpa\tname = somehost.buildroot.test" + self.assertIn(expected, out) + + # We check we see our test text record. + cmd = "nslookup -type=TXT sometext.buildroot.test." + out, ret = self.emulator.run(cmd) + self.assertEqual(ret, 0) + expected = "sometext.buildroot.test\ttext = \"Hello Buildroot TXT\"" + self.assertIn(expected, out) + + # We add a new record with unbound-control. + record_data = "someotherhost.buildroot.test. IN A 10.99.99.99" + cmd = f"unbound-control local_data \"{record_data}\"" + self.assertRunOk(cmd) + + # We check we see our new IPv4 address record. + cmd = "nslookup -type=A someotherhost.buildroot.test." + out, ret = self.emulator.run(cmd) + self.assertEqual(ret, 0) + self.assertIn("Address: 10.99.99.99", out) diff --git a/support/testing/tests/package/test_unbound/rootfs-overlay/etc/unbound/unbound.conf b/support/testing/tests/package/test_unbound/rootfs-overlay/etc/unbound/unbound.conf new file mode 100644 index 000000000000..4f8202d1275d --- /dev/null +++ b/support/testing/tests/package/test_unbound/rootfs-overlay/etc/unbound/unbound.conf @@ -0,0 +1,17 @@ +# +# Unbound configuration file for Buildroot runtime test. +# + +server: + do-ip6: no + local-zone: "test." nodefault + local-zone: "10.in-addr.arpa." nodefault + private-domain: "buildroot.test" + local-zone: "buildroot.test" static + local-data: "somehost.buildroot.test. IN A 10.20.30.40" + local-data: 'sometext.buildroot.test. TXT "Hello Buildroot TXT"' + local-data-ptr: "10.20.30.40 somehost.buildroot.test" + +remote-control: + control-enable: yes + control-use-cert: no From 859bd545821a838454577c4c1c9106837cda51cb Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 26 Oct 2024 18:59:41 +0200 Subject: [PATCH 31/50] package/ltrace: mark as unavailable on musl Commit bf9583a50276f52edbc37d9f85df5f2cc7fdb5dc enabled elfutils on musl, as well as all its reverse dependencies, including ltrace. Turns out that even with elfutils fixed, ltrace doesn't build on musl. Fabrice proposed a patch to fix it, at: https://patchwork.ozlabs.org/project/buildroot/patch/20231104155857.110364-1-fontaine.fabrice@gmail.com/ but ltrace has no active upstream, and some aspects of the patch don't look correct. So err on the safe side and make ltrace unavailable for musl configurations. Fixes: http://autobuild.buildroot.org/results/a3a5c46e8562d3f091a9b4b205322168fbf9d16b Signed-off-by: Thomas Petazzoni --- package/ltrace/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/ltrace/Config.in b/package/ltrace/Config.in index 21d381db7052..2dc969c4f1bf 100644 --- a/package/ltrace/Config.in +++ b/package/ltrace/Config.in @@ -15,6 +15,7 @@ config BR2_PACKAGE_LTRACE depends on BR2_USE_WCHAR # elfutils depends on !BR2_STATIC_LIBS # elfutils depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils + depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC depends on BR2_PACKAGE_LTRACE_ARCH_SUPPORTS select BR2_PACKAGE_ELFUTILS help @@ -25,7 +26,8 @@ config BR2_PACKAGE_LTRACE http://ltrace.org -comment "ltrace needs a toolchain w/ wchar, dynamic library, threads" +comment "ltrace needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads" depends on BR2_PACKAGE_LTRACE_ARCH_SUPPORTS depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_HAS_THREADS + || !BR2_TOOLCHAIN_HAS_THREADS \ + || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) From 88a3f285bb7a94fc94f0a34dd43800b8a329e540 Mon Sep 17 00:00:00 2001 From: Ludwig Kormann Date: Wed, 16 Oct 2024 14:45:35 +0200 Subject: [PATCH 32/50] configs/icnova-a20-adb4006: bump Linux to 6.6.56, U-Boot to 2024.10 Signed-off-by: Ludwig Kormann Signed-off-by: Thomas Petazzoni --- configs/icnova-a20-adb4006_defconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/icnova-a20-adb4006_defconfig b/configs/icnova-a20-adb4006_defconfig index 3f884c586c14..88b670a37c74 100644 --- a/configs/icnova-a20-adb4006_defconfig +++ b/configs/icnova-a20-adb4006_defconfig @@ -11,7 +11,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/in-circuit/icnova-a20-adb4006/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.14" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.56" BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/in-circuit/icnova-a20-adb4006/linux.fragment" BR2_LINUX_KERNEL_DTS_SUPPORT=y @@ -23,11 +23,12 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="128M" BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="icnova-a20-adb4006" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_NEEDS_GNUTLS=y BR2_TARGET_UBOOT_SPL=y BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" BR2_PACKAGE_HOST_DOSFSTOOLS=y From 4ca8f0ea762061ad04016d065f37e0c351d578f1 Mon Sep 17 00:00:00 2001 From: Ludwig Kormann Date: Wed, 16 Oct 2024 14:45:36 +0200 Subject: [PATCH 33/50] configs/icnova-a20-adb4006: enable BR2_DOWNLOAD_FORCE_CHECK_HASHES Signed-off-by: Ludwig Kormann Signed-off-by: Thomas Petazzoni --- .checkpackageignore | 1 - .../icnova-a20-adb4006/patches/linux-headers/linux-headers.hash | 1 + board/in-circuit/icnova-a20-adb4006/patches/linux/linux.hash | 2 ++ board/in-circuit/icnova-a20-adb4006/patches/uboot/uboot.hash | 2 ++ configs/icnova-a20-adb4006_defconfig | 2 ++ 5 files changed, 7 insertions(+), 1 deletion(-) create mode 120000 board/in-circuit/icnova-a20-adb4006/patches/linux-headers/linux-headers.hash create mode 100644 board/in-circuit/icnova-a20-adb4006/patches/linux/linux.hash create mode 100644 board/in-circuit/icnova-a20-adb4006/patches/uboot/uboot.hash diff --git a/.checkpackageignore b/.checkpackageignore index 9e81400f89e4..4788f97694b3 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -153,7 +153,6 @@ configs/globalscale_espressobin_defconfig lib_defconfig.ForceCheckHash configs/grinn_chiliboard_defconfig lib_defconfig.ForceCheckHash configs/grinn_liteboard_defconfig lib_defconfig.ForceCheckHash configs/hifive_unleashed_defconfig lib_defconfig.ForceCheckHash -configs/icnova-a20-adb4006_defconfig lib_defconfig.ForceCheckHash configs/imx23evk_defconfig lib_defconfig.ForceCheckHash configs/imx6-sabreauto_defconfig lib_defconfig.ForceCheckHash configs/imx6-sabresd_defconfig lib_defconfig.ForceCheckHash diff --git a/board/in-circuit/icnova-a20-adb4006/patches/linux-headers/linux-headers.hash b/board/in-circuit/icnova-a20-adb4006/patches/linux-headers/linux-headers.hash new file mode 120000 index 000000000000..5808d92afe89 --- /dev/null +++ b/board/in-circuit/icnova-a20-adb4006/patches/linux-headers/linux-headers.hash @@ -0,0 +1 @@ +../linux/linux.hash \ No newline at end of file diff --git a/board/in-circuit/icnova-a20-adb4006/patches/linux/linux.hash b/board/in-circuit/icnova-a20-adb4006/patches/linux/linux.hash new file mode 100644 index 000000000000..98edd13a5816 --- /dev/null +++ b/board/in-circuit/icnova-a20-adb4006/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 f74812f78e88992c416434cb107639e13a551dbaff36bb90d6346ab16ab71a95 linux-6.6.56.tar.xz diff --git a/board/in-circuit/icnova-a20-adb4006/patches/uboot/uboot.hash b/board/in-circuit/icnova-a20-adb4006/patches/uboot/uboot.hash new file mode 100644 index 000000000000..904fa56c02a3 --- /dev/null +++ b/board/in-circuit/icnova-a20-adb4006/patches/uboot/uboot.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2 diff --git a/configs/icnova-a20-adb4006_defconfig b/configs/icnova-a20-adb4006_defconfig index 88b670a37c74..01f4abe21580 100644 --- a/configs/icnova-a20-adb4006_defconfig +++ b/configs/icnova-a20-adb4006_defconfig @@ -2,6 +2,8 @@ BR2_arm=y BR2_cortex_a7=y BR2_ARM_FPU_NEON_VFPV4=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y +BR2_GLOBAL_PATCH_DIR="board/in-circuit/icnova-a20-adb4006/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_TARGET_GENERIC_HOSTNAME="ICnova A20 ADB4006" BR2_TARGET_GENERIC_ISSUE="Welcome to ICnova A20 ADB4006!" BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y From 122af7e193dce9781c41a5f79727823bac859fd7 Mon Sep 17 00:00:00 2001 From: Ludwig Kormann Date: Wed, 16 Oct 2024 14:45:37 +0200 Subject: [PATCH 34/50] configs/icnova-a20-adb4006: add uboot patch for reliable bootclk Up until now cpu clock gets initialized at 384 MHz, which is the highest supported cpu clock. Recent A20 batches show an increased percentage of modules reacting very sensitive to operating conditions outside the specifications. The cpu dies very shortly after PLLs, core frequency or cpu voltage are missconfigured. E.g.: - uboot SPL selects 384 MHz as cpu clock which requires a cpu voltage of at least 1.1 V. - Linux CPU Frequency scaling with most sun7i dts will reduce cpu voltage down to 1.0 V. - When intiating a reboot or reset from linux the cpu voltage may keep the 1.0 V configuration and the cpu dies during SPL initialization. Therefore reduce cpu clock at uboot SPL initialization down to 144 MHz from 384 MHz. Use patch until KConfig option in uboot becomes available. Signed-off-by: Ludwig Kormann Signed-off-by: Thomas Petazzoni --- ...ce-cpu-clock-at-SPL-initialization-t.patch | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 board/in-circuit/icnova-a20-adb4006/patches/uboot/0001-sunxi-sun4i-Reduce-cpu-clock-at-SPL-initialization-t.patch diff --git a/board/in-circuit/icnova-a20-adb4006/patches/uboot/0001-sunxi-sun4i-Reduce-cpu-clock-at-SPL-initialization-t.patch b/board/in-circuit/icnova-a20-adb4006/patches/uboot/0001-sunxi-sun4i-Reduce-cpu-clock-at-SPL-initialization-t.patch new file mode 100644 index 000000000000..edaa47ac4e8c --- /dev/null +++ b/board/in-circuit/icnova-a20-adb4006/patches/uboot/0001-sunxi-sun4i-Reduce-cpu-clock-at-SPL-initialization-t.patch @@ -0,0 +1,48 @@ +From 3cdf8aa3ff45e35a237285c107785bc3d2c6976a Mon Sep 17 00:00:00 2001 +From: Ludwig Kormann +Date: Wed, 31 Jan 2024 11:28:19 +0100 +Subject: [PATCH] sunxi: sun4i: Reduce cpu clock at SPL initialization to 144 + MHz + +Up until now cpu clock gets initialized at 384 MHz, which is +the highest supported cpu clock. + +Recent A20 batches show an increased percentage of modules +reacting very sensitive to operating conditions outside the +specifications. + +The cpu dies very shortly after PLLs, core frequency or cpu +voltage are missconfigured. E.g.: +- uboot SPL selects 384 MHz as cpu clock which requires a cpu + voltage of at least 1.1 V. +- Linux CPU Frequency scaling with most sun7i dts will reduce + cpu voltage down to 1.0 V. +- When intiating a reboot or reset from linux the cpu voltage + may keep the 1.0 V configuration and the cpu dies during SPL + initialization. + +Therefore reduce cpu clock at uboot SPL initialization down +to 144 MHz from 384 MHz. + +Signed-off-by: Ludwig Kormann +Upstream: Not Applicable +--- + arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h +index 2cec91cb20..252c4c693e 100644 +--- a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h ++++ b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h +@@ -141,7 +141,7 @@ struct sunxi_ccm_reg { + #define CCM_PLL1_CFG_SIG_DELT_PAT_EN_SHIFT 2 + #define CCM_PLL1_CFG_FACTOR_M_SHIFT 0 + +-#define PLL1_CFG_DEFAULT 0xa1005000 ++#define PLL1_CFG_DEFAULT 0xa1004c01 + + #if defined CONFIG_OLD_SUNXI_KERNEL_COMPAT && defined CONFIG_MACH_SUN5I + /* +-- +2.39.2 + From 03c3083b977b4e63af531044143679f38792e430 Mon Sep 17 00:00:00 2001 From: TIAN Yuanhao Date: Thu, 19 Sep 2024 05:58:20 -0700 Subject: [PATCH 35/50] package/chrony: set /var/lib/chrony ownership with CHRONY_PERMISSIONS Fixes: chronyd[241]: Could not open /var/lib/chrony/chrony.drift.tmp : Permission denied Refs: https://github.com/jens-maus/RaspberryMatic/blob/3.77.7.20240826/buildroot-external/overlay/base/etc/init.d/S46chrony#L44 https://github.com/troglobit/myLinux/blob/5ab2ec53d70904b1c3f2570afaa31eeaa4c4487b/package/skeleton-init-finit/skeleton/etc/tmpfiles.d/chrony.conf Signed-off-by: TIAN Yuanhao Signed-off-by: Thomas Petazzoni --- package/chrony/chrony.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/chrony/chrony.mk b/package/chrony/chrony.mk index 9ed9dcff5633..11270206bd74 100644 --- a/package/chrony/chrony.mk +++ b/package/chrony/chrony.mk @@ -24,6 +24,10 @@ define CHRONY_USERS chrony -1 chrony -1 * /run/chrony - - Time daemon endef +define CHRONY_PERMISSIONS + /var/lib/chrony d 755 chrony chrony - - - - - +endef + ifeq ($(BR2_PACKAGE_LIBNSS),y) CHRONY_DEPENDENCIES += libnss else From ab3fb12c79e3edd809923f762cafcedd29b9df29 Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Mon, 16 Sep 2024 10:14:46 +0300 Subject: [PATCH 36/50] package/wpebackend-fdo: bump version to 1.14.3 This is a bugfix release which plugs a couple of small leaks, and includes patch "0001-Cast-to-EGLNativeWindowType-explicitly.patch", which can now be removed. Release notes: https://wpewebkit.org/release/wpebackend-fdo-1.14.3.html Signed-off-by: Adrian Perez de Castro Signed-off-by: Thomas Petazzoni --- ...st-to-EGLNativeWindowType-explicitly.patch | 36 ------------------- package/wpebackend-fdo/wpebackend-fdo.hash | 7 ++-- package/wpebackend-fdo/wpebackend-fdo.mk | 2 +- 3 files changed, 5 insertions(+), 40 deletions(-) delete mode 100644 package/wpebackend-fdo/0001-Cast-to-EGLNativeWindowType-explicitly.patch diff --git a/package/wpebackend-fdo/0001-Cast-to-EGLNativeWindowType-explicitly.patch b/package/wpebackend-fdo/0001-Cast-to-EGLNativeWindowType-explicitly.patch deleted file mode 100644 index eae0d22e3084..000000000000 --- a/package/wpebackend-fdo/0001-Cast-to-EGLNativeWindowType-explicitly.patch +++ /dev/null @@ -1,36 +0,0 @@ -From e56a2597eb66c2221b004aa3356b06c1b071b5b5 Mon Sep 17 00:00:00 2001 -From: Adrian Perez de Castro -Date: Wed, 14 Aug 2024 00:51:26 +0300 -Subject: [PATCH] Cast to EGLNativeWindowType explicitly - -In order to avoid off build failures due to mismatching (but -compatible) declarations of wl_egl_window and EGLNativeWindowType, -add an explicit cast to EGLNativeWindowType inside the -TargetWayland::nativeWindow() function. - -Solves the following build issue found by the Buildroot autobuilders: - - http://autobuild.buildroot.net/results/92c5cc3134e92c263a0cbb4c05ef8956569e434b/ - -Signed-off-by: Adrian Perez de Castro -Upstream: https://github.com/Igalia/WPEBackend-fdo/commit/e56a2597eb66c2221b004aa3356b06c1b071b5b5 ---- - src/egl-client-wayland.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/egl-client-wayland.cpp b/src/egl-client-wayland.cpp -index 10e02f0..22bb212 100644 ---- a/src/egl-client-wayland.cpp -+++ b/src/egl-client-wayland.cpp -@@ -63,7 +63,7 @@ TargetWayland::~TargetWayland() - - EGLNativeWindowType TargetWayland::nativeWindow() const - { -- return m_egl.window; -+ return (EGLNativeWindowType) m_egl.window; - } - - void TargetWayland::resize(uint32_t width, uint32_t height) --- -2.46.0 - diff --git a/package/wpebackend-fdo/wpebackend-fdo.hash b/package/wpebackend-fdo/wpebackend-fdo.hash index 26ba12172711..5055998ab7d6 100644 --- a/package/wpebackend-fdo/wpebackend-fdo.hash +++ b/package/wpebackend-fdo/wpebackend-fdo.hash @@ -1,6 +1,7 @@ -# From https://wpewebkit.org/releases/wpebackend-fdo-1.14.2.tar.xz.sums -sha1 f453f8d77e93f4ac6ac81c1874d4d6bdcb45c253 wpebackend-fdo-1.14.2.tar.xz -sha256 93c9766ae9864eeaeaee2b0a74f22cbca08df42c1a1bdb55b086f2528e380d38 wpebackend-fdo-1.14.2.tar.xz +# From https://wpewebkit.org/releases/wpebackend-fdo-1.14.3.tar.xz.sums +md5 ab73398b1e35495977e50bee103969d2 wpebackend-fdo-1.14.3.tar.xz +sha1 2d2945df15cc1efa957657fa727f3bc4c6f580bb wpebackend-fdo-1.14.3.tar.xz +sha256 10121842595a850291db3e82f3db0b9984df079022d386ce42c2b8508159dc6c wpebackend-fdo-1.14.3.tar.xz # Hashes for license files: sha256 c9f6803371047fad3e72200ec6cd226329a5ee08ac61104c8211c2761fb46825 COPYING diff --git a/package/wpebackend-fdo/wpebackend-fdo.mk b/package/wpebackend-fdo/wpebackend-fdo.mk index 7ef347b6221f..dbabacf49847 100644 --- a/package/wpebackend-fdo/wpebackend-fdo.mk +++ b/package/wpebackend-fdo/wpebackend-fdo.mk @@ -4,7 +4,7 @@ # ################################################################################ -WPEBACKEND_FDO_VERSION = 1.14.2 +WPEBACKEND_FDO_VERSION = 1.14.3 WPEBACKEND_FDO_SITE = https://wpewebkit.org/releases WPEBACKEND_FDO_SOURCE = wpebackend-fdo-$(WPEBACKEND_FDO_VERSION).tar.xz WPEBACKEND_FDO_INSTALL_STAGING = YES From ee9d6414d1a27eaf6a5909e746190239c2982740 Mon Sep 17 00:00:00 2001 From: Yu-Chien Peter Lin Date: Wed, 25 Sep 2024 15:21:48 +0800 Subject: [PATCH 37/50] package/andes-spi-burn: new package Add a new package for Andes AE350 SPI_burn tool to program flash memory. Signed-off-by: Yu Chien Peter Lin Reviewed-by: Leo Yu-Chi Liang Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/Config.in.host | 1 + package/andes-spi-burn/Config.in.host | 8 ++++++++ package/andes-spi-burn/andes-spi-burn.hash | 3 +++ package/andes-spi-burn/andes-spi-burn.mk | 20 ++++++++++++++++++++ 5 files changed, 33 insertions(+) create mode 100644 package/andes-spi-burn/Config.in.host create mode 100644 package/andes-spi-burn/andes-spi-burn.hash create mode 100644 package/andes-spi-burn/andes-spi-burn.mk diff --git a/DEVELOPERS b/DEVELOPERS index c7a968b6c289..7f9a60b1b964 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2516,6 +2516,7 @@ F: package/tcf-agent/ N: Yu Chien Peter Lin F: board/andes F: configs/andes_ae350_45_defconfig +F: package/andes-spi-burn/ F: package/kmon/ N: Olaf Rempel diff --git a/package/Config.in.host b/package/Config.in.host index e4fbee4f2a8e..191833d94d92 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -4,6 +4,7 @@ menu "Host utilities" source "package/aespipe/Config.in.host" source "package/agent-proxy/Config.in.host" source "package/amlogic-boot-fip/Config.in.host" + source "package/andes-spi-burn/Config.in.host" source "package/android-tools/Config.in.host" source "package/asn1c/Config.in.host" source "package/babeltrace2/Config.in.host" diff --git a/package/andes-spi-burn/Config.in.host b/package/andes-spi-burn/Config.in.host new file mode 100644 index 000000000000..09d5ddb2b454 --- /dev/null +++ b/package/andes-spi-burn/Config.in.host @@ -0,0 +1,8 @@ +config BR2_PACKAGE_HOST_ANDES_SPI_BURN + bool "host andes-spi-burn" + depends on BR2_riscv + help + Andes Technology SPI_burn tool to program bootloader and + device-tree blob onto flash memory of AE350 platform. + + https://github.com/andestech/IntelJ3 diff --git a/package/andes-spi-burn/andes-spi-burn.hash b/package/andes-spi-burn/andes-spi-burn.hash new file mode 100644 index 000000000000..5022f0fc1b5b --- /dev/null +++ b/package/andes-spi-burn/andes-spi-burn.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 72a5b016ebe0da77662a10edb8078c29cfcbedd8c0ff523d299248e0b1fb84dd andes-spi-burn-5b8193c35360febd8445cfa32adc6b13a861616d.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/andes-spi-burn/andes-spi-burn.mk b/package/andes-spi-burn/andes-spi-burn.mk new file mode 100644 index 000000000000..8ee5fb289708 --- /dev/null +++ b/package/andes-spi-burn/andes-spi-burn.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# andes-spi-burn +# +################################################################################ + +ANDES_SPI_BURN_VERSION = 5b8193c35360febd8445cfa32adc6b13a861616d +ANDES_SPI_BURN_SITE = $(call github,andestech,IntelJ3,$(ANDES_SPI_BURN_VERSION)) +ANDES_SPI_BURN_LICENSE = Apache-2.0 +ANDES_SPI_BURN_FILES = LICENSE + +define HOST_ANDES_SPI_BURN_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) -f Makefile_SPIburn +endef + +define HOST_ANDES_SPI_BURN_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/SPI_burn $(HOST_DIR)/bin/SPI_burn +endef + +$(eval $(host-generic-package)) From 202566ec145ad838d438137f5cf11fb4f8fdd190 Mon Sep 17 00:00:00 2001 From: Yu-Chien Peter Lin Date: Wed, 25 Sep 2024 15:21:49 +0800 Subject: [PATCH 38/50] configs/andes_ae350_45: enable host-andes-spi-burn Enable Andes SPI_burn tool for updating buildroot generated bootloader and device-tree blob onto flash memory. Signed-off-by: Yu Chien Peter Lin Reviewed-by: Leo Yu-Chi Liang Signed-off-by: Thomas Petazzoni --- configs/andes_ae350_45_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/andes_ae350_45_defconfig b/configs/andes_ae350_45_defconfig index fd8b7db0e74b..7b5a6f73c6c1 100644 --- a/configs/andes_ae350_45_defconfig +++ b/configs/andes_ae350_45_defconfig @@ -34,6 +34,7 @@ BR2_TARGET_UBOOT_NEEDS_OPENSBI=y BR2_TARGET_UBOOT_FORMAT_CUSTOM=y BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" BR2_TARGET_UBOOT_SPL=y +BR2_PACKAGE_HOST_ANDES_SPI_BURN=y BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y From 04892eca6369dbc20e96a18a560c9bcf68687c23 Mon Sep 17 00:00:00 2001 From: Yu-Chien Peter Lin Date: Wed, 25 Sep 2024 15:21:50 +0800 Subject: [PATCH 39/50] board/andes/ae350/uboot.config.fragment: support loading U-Boot in RAM Do not disable SPL RAM support so the u-boot.itb programmed on flash memory can be used. Signed-off-by: Yu Chien Peter Lin Reviewed-by: Leo Yu-Chi Liang Signed-off-by: Thomas Petazzoni --- board/andes/ae350/uboot.config.fragment | 1 - 1 file changed, 1 deletion(-) diff --git a/board/andes/ae350/uboot.config.fragment b/board/andes/ae350/uboot.config.fragment index fa38bbca3a63..4497ed4c744b 100644 --- a/board/andes/ae350/uboot.config.fragment +++ b/board/andes/ae350/uboot.config.fragment @@ -1,6 +1,5 @@ CONFIG_SPL_FS_FAT=y CONFIG_SPL_MMC=y -# CONFIG_SPL_RAM_SUPPORT is not set CONFIG_SPL_OPENSBI_LOAD_ADDR=0x0 CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS=0x0 CONFIG_DISPLAY_CPUINFO=y From a51a55262d53a839fe53f546b1f854f81da49b33 Mon Sep 17 00:00:00 2001 From: Yu-Chien Peter Lin Date: Wed, 25 Sep 2024 15:21:51 +0800 Subject: [PATCH 40/50] board/andes/ae350/readme.txt: add bootloader/DT flashing instructions Add a section to document how to update bootloader on AE350 platforms with SPI_burn tool. Signed-off-by: Yu Chien Peter Lin Reviewed-by: Leo Yu-Chi Liang Signed-off-by: Thomas Petazzoni --- board/andes/ae350/readme.txt | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/board/andes/ae350/readme.txt b/board/andes/ae350/readme.txt index 4de4cb38943b..36561fc777f2 100644 --- a/board/andes/ae350/readme.txt +++ b/board/andes/ae350/readme.txt @@ -41,6 +41,49 @@ After building, you should obtain the following files: |-- u-boot-spl.bin `-- u-boot.itb +How to update the bootloader and device-tree +============================================ + +To update the bootloader and device tree, make sure you have +an ICEman (Andes OpenOCD [1]) and AICE [2] connection set up +as below: + + Local Host Local/Remote Host + .-----------------. .--------------. + | buildroot images| | | + | | ICEman host + | .----------. | | .--------. | + | | SPI_burn |<---+--socket--+->| ICEman | | + | '----------' | | '--.-----' | + '-----------------' '-----|--------' + | + USB + .--------------. | + | target | .-----v-----. + | board <----JTAG---| AICE | + | | '-----------' + '--------------' + +[1] https://github.com/andestech/ICEman +[2] https://www.andestech.com/en/products-solutions/andeshape-platforms/aice-micro/ + +The Andes SPI_burn tool will be located in output/host/bin. Use +the following commands to update the bootloader and device tree: + + $ SPI_burn --host $ICE_IP --port $ICE_BURNER_PORT --addr 0x0 -i u-boot-spl.bin + $ SPI_burn --host $ICE_IP --port $ICE_BURNER_PORT --addr 0x10000 -i u-boot.itb + $ SPI_burn --host $ICE_IP --port $ICE_BURNER_PORT --addr 0xf0000 -i ae350_ax45mp.dtb + +Note that the --addr option specifies the offset starting from +the flash base address 0x80000000 and set by U-Boot configurations. +e.g. +u-boot-spl.bin : CONFIG_SPL_TEXT_BASE=0x80000000 +u-boot.itb : CONFIG_SPL_LOAD_FIT_ADDRESS=0x80010000 +ae350_ax45mp.dtb: CONFIG_SYS_FDT_BASE=0x800f0000 + +How to write the SD card +======================== + Copy the sdcard.img to a SD card with "dd": $ sudo dd if=sdcard.img of=/dev/sdX bs=4096 From bcde59be440e315c02296183fd916f720d02cbab Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Sat, 26 Oct 2024 19:27:41 +0200 Subject: [PATCH 41/50] package/python-pyqt5-sip: bump version to 12.15.0 The versioning scheme of this package is not trivial: the PyQt5-sip version number does not corresponds to the actual version tag name in its Python-SIP source repository. For that reason, this commit adds a comment explaining this peculiar mapping. This comment will help, in future maintenance tasks. To better understand the upstream changes in this package explained in this commit log, it is worth mentioning that: - PyQt5-sip 12.13.0 was generated with Python-SIP 6.7.12, and - PyQt5-sip 12.15.0 was generated with Python-SIP 6.8.6. The package license has changed to BSD-2-Clause, in upstream commits: https://github.com/Python-SIP/sip/commit/0ba3b233ec8ed7f22f2f2f950b64f61b50ddfc00 https://github.com/Python-SIP/sip/commit/4dde1491f7b8ace15833cffb86bee82d60683968 https://github.com/Python-SIP/sip/commit/f32039b07c47280039dcdcd0f8a2b1323fda912e This commit updates the _LICENSE and _LICENSE_FILES macro accordingly. The license hash file is also updated. While at it, this commit also adds the MD5 hash published upstream. This commit also introduces minor improvements to better follow Buildroot package conventions: - the .mk file header is changed to lower case, - hash file comments are updated, - the locally calculated license file hash is changed from MD5 to SHA256. Signed-off-by: Julien Olivain Signed-off-by: Thomas Petazzoni --- .../python-pyqt5-sip/python-pyqt5-sip.hash | 11 +++++----- package/python-pyqt5-sip/python-pyqt5-sip.mk | 20 ++++++++++++++----- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/package/python-pyqt5-sip/python-pyqt5-sip.hash b/package/python-pyqt5-sip/python-pyqt5-sip.hash index fb4a8cb04d48..909ee2ef3365 100644 --- a/package/python-pyqt5-sip/python-pyqt5-sip.hash +++ b/package/python-pyqt5-sip/python-pyqt5-sip.hash @@ -1,7 +1,6 @@ -# from https://pypi.org/project/PyQt5-sip/12.30.0 -sha256 7f321daf84b9c9dbca61b80e1ef37bdaffc0e93312edae2cd7da25b953971d91 PyQt5_sip-12.13.0.tar.gz +# From https://pypi.org/pypi/PyQt5-sip/json +md5 9e0909e79f40619b0f2d3d3c33b4d4f7 PyQt5_sip-12.15.0.tar.gz +sha256 d23fdfcf363b5cedd9d39f8a9c5710e7d52804f5b08a58e91c638b36eafcb702 PyQt5_sip-12.15.0.tar.gz -# Hash for license files: -md5 9cd437778ebd1c056a76b4ded73b3a6d LICENSE -md5 e91355d8a6f8bd8f7c699d62863c7303 LICENSE-GPL2 -md5 7ea41d866d6638e430db5287a3f66090 LICENSE-GPL3 +# Locally calculated +sha256 3859cfca971e429d6b79bdfeb1dc9e43aa9592f7295bf28fdd62824097909383 LICENSE diff --git a/package/python-pyqt5-sip/python-pyqt5-sip.mk b/package/python-pyqt5-sip/python-pyqt5-sip.mk index e52081ab4574..49762ec58c20 100644 --- a/package/python-pyqt5-sip/python-pyqt5-sip.mk +++ b/package/python-pyqt5-sip/python-pyqt5-sip.mk @@ -1,14 +1,24 @@ ################################################################################ # -# python-SIP-QT5 +# python-sip-qt5 # ################################################################################ -PYTHON_PYQT5_SIP_VERSION = 12.13.0 -PYTHON_PYQT5_SIP_SITE = https://files.pythonhosted.org/packages/ee/81/fce2a475aa56c1f49707d9306b930695b6ff078c2242c9f2fd72a3214e1f +# Note about the package version: +# This module version corresponds in fact to the "sip" ABI +# version (not the version of its generator). See: +# https://github.com/Python-SIP/sip/blob/6.8.6/sipbuild/module/source/12/sip.h.in#L43 +# The source git repository of this module is located at: +# https://github.com/Python-SIP/sip/tree/main/sipbuild/module/source +# The Python-SIP version/tag which generated a given "sip" module is +# recorded in the PyPI source file "sip.h", in the SIP_VERSION_STR +# macro. For example, PyQt5-sip 12.15.0 was generated with Python-SIP +# 6.8.6. +PYTHON_PYQT5_SIP_VERSION = 12.15.0 +PYTHON_PYQT5_SIP_SITE = https://files.pythonhosted.org/packages/1b/15/78318d50f10062c428e97e7ce387e772616a4673c356018b905f247a6a85 PYTHON_PYQT5_SIP_SOURCE = PyQt5_sip-$(PYTHON_PYQT5_SIP_VERSION).tar.gz -PYTHON_PYQT5_SIP_LICENSE = SIP license or GPL-2.0 or GPL-3.0 -PYTHON_PYQT5_SIP_LICENSE_FILES = LICENSE LICENSE-GPL2 LICENSE-GPL3 +PYTHON_PYQT5_SIP_LICENSE = BSD-2-Clause +PYTHON_PYQT5_SIP_LICENSE_FILES = LICENSE PYTHON_PYQT5_SIP_SETUP_TYPE = setuptools $(eval $(python-package)) From 02ccc0d6f17a77b93a82c7cec81aebf923947426 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Mon, 30 Sep 2024 10:00:59 -0600 Subject: [PATCH 42/50] package/cloudflared: bump to version 2024.9.1 Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/cloudflared/cloudflared.hash | 2 +- package/cloudflared/cloudflared.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/cloudflared/cloudflared.hash b/package/cloudflared/cloudflared.hash index 1aa959f8b04e..e924d12481d2 100644 --- a/package/cloudflared/cloudflared.hash +++ b/package/cloudflared/cloudflared.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 c61ef286962c3bb9c5edb580b89dbf8293083fa09a8f0f59379fe8ec2d04cada cloudflared-2024.6.1-go2.tar.gz +sha256 f96b703ea848bc538322eb957749b0b2395e0cf83213cf310cbde0a3f598eac4 cloudflared-2024.9.1-go2.tar.gz sha256 58d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd LICENSE diff --git a/package/cloudflared/cloudflared.mk b/package/cloudflared/cloudflared.mk index a243686441ba..68849e9b8257 100644 --- a/package/cloudflared/cloudflared.mk +++ b/package/cloudflared/cloudflared.mk @@ -4,7 +4,7 @@ # ################################################################################ -CLOUDFLARED_VERSION = 2024.6.1 +CLOUDFLARED_VERSION = 2024.9.1 CLOUDFLARED_SITE = $(call github,cloudflare,cloudflared,$(CLOUDFLARED_VERSION)) CLOUDFLARED_LICENSE = Apache-2.0 CLOUDFLARED_LICENSE_FILES = LICENSE From 2bcf0a963159eb6beba80dce1b901d8ad7ec5bbc Mon Sep 17 00:00:00 2001 From: Aleksandr Makarov Date: Thu, 26 Sep 2024 15:41:31 +0300 Subject: [PATCH 43/50] package/cpp-httplib: new package Signed-off-by: Aleksandr Makarov Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 3 ++ package/Config.in | 1 + package/cpp-httplib/Config.in | 21 +++++++++++++ package/cpp-httplib/cpp-httplib.hash | 3 ++ package/cpp-httplib/cpp-httplib.mk | 44 ++++++++++++++++++++++++++++ 5 files changed, 72 insertions(+) create mode 100644 package/cpp-httplib/Config.in create mode 100644 package/cpp-httplib/cpp-httplib.hash create mode 100644 package/cpp-httplib/cpp-httplib.mk diff --git a/DEVELOPERS b/DEVELOPERS index 7f9a60b1b964..8ad5540dc9c6 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -81,6 +81,9 @@ F: package/libmbim/ F: package/libqmi/ F: package/modem-manager/ +N: Aleksandr Makarov +F: package/cpp-httplib/ + N: Alessandro Partesotti F: package/oatpp/ diff --git a/package/Config.in b/package/Config.in index 3c2e75db6cb1..b03bc2ffcf76 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1999,6 +1999,7 @@ menu "Networking" source "package/bluez5_utils-headers/Config.in" source "package/c-ares/Config.in" source "package/cni-plugins/Config.in" + source "package/cpp-httplib/Config.in" source "package/cppzmq/Config.in" source "package/curlpp/Config.in" source "package/czmq/Config.in" diff --git a/package/cpp-httplib/Config.in b/package/cpp-httplib/Config.in new file mode 100644 index 000000000000..9bd93ee0af8d --- /dev/null +++ b/package/cpp-httplib/Config.in @@ -0,0 +1,21 @@ +comment "cpp-httplib needs a toolchain w/ C++, wchar, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_CPP_HTTPLIB + bool "cpp-httplib" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_WCHAR + help + A C++ header-only HTTP/HTTPS server and client library. + + https://github.com/yhirose/cpp-httplib + +if BR2_PACKAGE_CPP_HTTPLIB +config BR2_PACKAGE_CPP_HTTPLIB_COMPILE + bool "compile as a shared library" + select BR2_PACKAGE_HOST_PYTHON3 + help + Build as library + +endif # BR2_PACKAGE_CPP_HTTPLIB diff --git a/package/cpp-httplib/cpp-httplib.hash b/package/cpp-httplib/cpp-httplib.hash new file mode 100644 index 000000000000..45c221410515 --- /dev/null +++ b/package/cpp-httplib/cpp-httplib.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 6ed5894bbbc4a34a0f4c5e962672d0003d2ea099bbadacc66f6dee2b213ff394 cpp-httplib-0.18.0.tar.gz +sha256 4b45cbe16d7b71b89ae6127e26e0d90a029198ca5e958ad8e3d0b8bbed364d8b LICENSE diff --git a/package/cpp-httplib/cpp-httplib.mk b/package/cpp-httplib/cpp-httplib.mk new file mode 100644 index 000000000000..5a02b562b3c1 --- /dev/null +++ b/package/cpp-httplib/cpp-httplib.mk @@ -0,0 +1,44 @@ +################################################################################ +# +# cpp-httplib +# +################################################################################ + +CPP_HTTPLIB_VERSION = 0.18.0 +CPP_HTTPLIB_SITE = $(call github,yhirose,cpp-httplib,v$(CPP_HTTPLIB_VERSION)) +CPP_HTTPLIB_LICENSE = MIT +CPP_HTTPLIB_LICENSE_FILES = LICENSE +CPP_HTTPLIB_INSTALL_STAGING = YES +CPP_HTTPLIB_CONF_OPTS = \ + -Dcpp-httplib_test=false + +ifeq ($(BR2_PACKAGE_CPP_HTTPLIB_COMPILE),y) +CPP_HTTPLIB_CONF_OPTS += -Dcpp-httplib_compile=true +CPP_HTTPLIB_DEPENDENCIES += host-python3 +else +# Header only library +CPP_HTTPLIB_INSTALL_TARGET = NO +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +CPP_HTTPLIB_CONF_OPTS += -Dcpp-httplib_openssl=enabled +CPP_HTTPLIB_DEPENDENCIES += openssl +else +CPP_HTTPLIB_CONF_OPTS += -Dcpp-httplib_openssl=disabled +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +CPP_HTTPLIB_CONF_OPTS += -Dcpp-httplib_zlib=enabled +CPP_HTTPLIB_DEPENDENCIES += zlib +else +CPP_HTTPLIB_CONF_OPTS += -Dcpp-httplib_zlib=disabled +endif + +ifeq ($(BR2_PACKAGE_BROTLI),y) +CPP_HTTPLIB_CONF_OPTS += -Dcpp-httplib_brotli=enabled +CPP_HTTPLIB_DEPENDENCIES += brotli +else +CPP_HTTPLIB_CONF_OPTS += -Dcpp-httplib_brotli=disabled +endif + +$(eval $(meson-package)) From 4ed9f14ac8cd787a138f107f62339f5c39f8add2 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sat, 26 Oct 2024 14:28:27 -0600 Subject: [PATCH 44/50] package/python-grpcio: bump to version 1.67.0 Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-grpcio/python-grpcio.hash | 4 ++-- package/python-grpcio/python-grpcio.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-grpcio/python-grpcio.hash b/package/python-grpcio/python-grpcio.hash index c470f97e78f9..e47f73f694da 100644 --- a/package/python-grpcio/python-grpcio.hash +++ b/package/python-grpcio/python-grpcio.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/grpcio/json -md5 e8adaa7345b99791542c7ca4245f30c0 grpcio-1.66.2.tar.gz -sha256 563588c587b75c34b928bc428548e5b00ea38c46972181a4d8b75ba7e3f24231 grpcio-1.66.2.tar.gz +md5 7f03599b67e1959d616b16a29f79a30d grpcio-1.67.0.tar.gz +sha256 e090b2553e0da1c875449c8e75073dd4415dd71c9bde6a406240fdf4c0ee467c grpcio-1.67.0.tar.gz # Locally computed sha256 checksums sha256 590198e3f305f2c347fde64d637c65492bbef554db6c8364e149cd375e3797ee LICENSE diff --git a/package/python-grpcio/python-grpcio.mk b/package/python-grpcio/python-grpcio.mk index 70af9b5c3a9a..6aad3445b53a 100644 --- a/package/python-grpcio/python-grpcio.mk +++ b/package/python-grpcio/python-grpcio.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_GRPCIO_VERSION = 1.66.2 +PYTHON_GRPCIO_VERSION = 1.67.0 PYTHON_GRPCIO_SOURCE = grpcio-$(PYTHON_GRPCIO_VERSION).tar.gz -PYTHON_GRPCIO_SITE = https://files.pythonhosted.org/packages/71/d1/49a96df4eb1d805cf546247df40636515416d2d5c66665e5129c8b4162a8 +PYTHON_GRPCIO_SITE = https://files.pythonhosted.org/packages/ec/ae/3c47d71ab4abd4bd60a7e2806071fe0a4b6937b9eabe522291787087ea1f PYTHON_GRPCIO_SETUP_TYPE = setuptools PYTHON_GRPCIO_LICENSE = Apache-2.0 PYTHON_GRPCIO_LICENSE_FILES = LICENSE From 60d546f9675cb60fc37e15d64bfe9daa0c589ef9 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sat, 26 Oct 2024 14:36:20 -0600 Subject: [PATCH 45/50] package/python-ipython: bump to version 8.29.0 Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-ipython/python-ipython.hash | 4 ++-- package/python-ipython/python-ipython.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-ipython/python-ipython.hash b/package/python-ipython/python-ipython.hash index 77d804f70c03..ca2b0ea16c0f 100644 --- a/package/python-ipython/python-ipython.hash +++ b/package/python-ipython/python-ipython.hash @@ -1,6 +1,6 @@ # md5, sha256 from https://pypi.org/pypi/ipython/json -md5 2031b37b5054423f1c5009d99da1ca86 ipython-8.28.0.tar.gz -sha256 0d0d15ca1e01faeb868ef56bc7ee5a0de5bd66885735682e8a322ae289a13d1a ipython-8.28.0.tar.gz +md5 728e73b95f7a3078fcbce50e64396bc3 ipython-8.29.0.tar.gz +sha256 40b60e15b22591450eef73e40a027cf77bd652e757523eebc5bd7c7c498290eb ipython-8.29.0.tar.gz # Locally computed sha256 checksums sha256 341afcbd729887b7046fe7b98fc4f4edff3aed8d38f06eefd9b30670f043df17 COPYING.rst sha256 e0e390748ed440ab893ca1f135a88a920aaf5409dbb90a5b427c75c5e51268fb LICENSE diff --git a/package/python-ipython/python-ipython.mk b/package/python-ipython/python-ipython.mk index 9c1afed03a30..7e7806b12d20 100644 --- a/package/python-ipython/python-ipython.mk +++ b/package/python-ipython/python-ipython.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_IPYTHON_VERSION = 8.28.0 +PYTHON_IPYTHON_VERSION = 8.29.0 PYTHON_IPYTHON_SOURCE = ipython-$(PYTHON_IPYTHON_VERSION).tar.gz -PYTHON_IPYTHON_SITE = https://files.pythonhosted.org/packages/f7/21/48db7d9dd622b9692575004c7c98f85f5629428f58596c59606d36c51b58 +PYTHON_IPYTHON_SITE = https://files.pythonhosted.org/packages/85/e0/a3f36dde97e12121106807d80485423ae4c5b27ce60d40d4ab0bab18a9db PYTHON_IPYTHON_LICENSE = BSD-3-Clause PYTHON_IPYTHON_LICENSE_FILES = COPYING.rst LICENSE PYTHON_IPYTHON_CPE_ID_VENDOR = ipython From 1aadfc32cfe8298013a4fb9a5d8c725d3a4a5245 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sat, 26 Oct 2024 14:41:36 -0600 Subject: [PATCH 46/50] package/python-magic-wormhole: bump to version 0.17.0 Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-magic-wormhole/python-magic-wormhole.hash | 4 ++-- package/python-magic-wormhole/python-magic-wormhole.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-magic-wormhole/python-magic-wormhole.hash b/package/python-magic-wormhole/python-magic-wormhole.hash index fae8e189ec65..38ac016f0d68 100644 --- a/package/python-magic-wormhole/python-magic-wormhole.hash +++ b/package/python-magic-wormhole/python-magic-wormhole.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/magic-wormhole/json -md5 a90c49d375a014cff1b1fc0f4fdba833 magic-wormhole-0.16.0.tar.gz -sha256 14e6c146898dbda7a6d190262623a69419955363e7e434d64aad2d233d6d94c9 magic-wormhole-0.16.0.tar.gz +md5 61143e1480353de7b502d1b904837fb0 magic_wormhole-0.17.0.tar.gz +sha256 142c7a271684b0b04470792601848f6b0ade0d8bf54fbcb30c6259d75edd9d06 magic_wormhole-0.17.0.tar.gz # Locally computed sha256 checksums sha256 4a9cc2415c52cef591b6822eee68fed36d7e6d80284b09638cff61d762d99060 LICENSE diff --git a/package/python-magic-wormhole/python-magic-wormhole.mk b/package/python-magic-wormhole/python-magic-wormhole.mk index 1c55a7000a7a..37fddf6c219e 100644 --- a/package/python-magic-wormhole/python-magic-wormhole.mk +++ b/package/python-magic-wormhole/python-magic-wormhole.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_MAGIC_WORMHOLE_VERSION = 0.16.0 -PYTHON_MAGIC_WORMHOLE_SOURCE = magic-wormhole-$(PYTHON_MAGIC_WORMHOLE_VERSION).tar.gz -PYTHON_MAGIC_WORMHOLE_SITE = https://files.pythonhosted.org/packages/1a/55/b82ace1c0c090bc6f629a93f3fb1ed60436731b166de2454d1585532c86f +PYTHON_MAGIC_WORMHOLE_VERSION = 0.17.0 +PYTHON_MAGIC_WORMHOLE_SOURCE = magic_wormhole-$(PYTHON_MAGIC_WORMHOLE_VERSION).tar.gz +PYTHON_MAGIC_WORMHOLE_SITE = https://files.pythonhosted.org/packages/1b/a8/32a54e75643206665f569dac6ab19727aefb508b148882f1d05dff003667 PYTHON_MAGIC_WORMHOLE_SETUP_TYPE = setuptools PYTHON_MAGIC_WORMHOLE_LICENSE = MIT PYTHON_MAGIC_WORMHOLE_LICENSE_FILES = LICENSE From de5d167df20c33892c5c5048d26361c7793d8111 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sat, 26 Oct 2024 14:47:14 -0600 Subject: [PATCH 47/50] package/python-mako: bump to version 1.3.6 Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-mako/python-mako.hash | 4 ++-- package/python-mako/python-mako.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/python-mako/python-mako.hash b/package/python-mako/python-mako.hash index 07caaf8f7556..0a39db7db9b1 100644 --- a/package/python-mako/python-mako.hash +++ b/package/python-mako/python-mako.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/mako/json -md5 0cf9ef37c1f8ffd453ef2b2a3a5573b3 Mako-1.3.5.tar.gz -sha256 48dbc20568c1d276a2698b36d968fa76161bf127194907ea6fc594fa81f943bc Mako-1.3.5.tar.gz +md5 ca119a43eb3eff532bd5d55d585d1caa mako-1.3.6.tar.gz +sha256 9ec3a1583713479fae654f83ed9fa8c9a4c16b7bb0daba0e6bbebff50c0d983d mako-1.3.6.tar.gz # Locally computed sha256 checksums sha256 15627b36b38d0729cdd686df9abf606503d99d624b2f5ec5cb254a75d5afa891 LICENSE diff --git a/package/python-mako/python-mako.mk b/package/python-mako/python-mako.mk index 258b2db014bd..68cfc98bc2fb 100644 --- a/package/python-mako/python-mako.mk +++ b/package/python-mako/python-mako.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_MAKO_VERSION = 1.3.5 -PYTHON_MAKO_SOURCE = Mako-$(PYTHON_MAKO_VERSION).tar.gz -PYTHON_MAKO_SITE = https://files.pythonhosted.org/packages/67/03/fb5ba97ff65ce64f6d35b582aacffc26b693a98053fa831ab43a437cbddb +PYTHON_MAKO_VERSION = 1.3.6 +PYTHON_MAKO_SOURCE = mako-$(PYTHON_MAKO_VERSION).tar.gz +PYTHON_MAKO_SITE = https://files.pythonhosted.org/packages/fa/0b/29bc5a230948bf209d3ed3165006d257e547c02c3c2a96f6286320dfe8dc PYTHON_MAKO_SETUP_TYPE = setuptools PYTHON_MAKO_LICENSE = MIT PYTHON_MAKO_LICENSE_FILES = LICENSE From 06958532f9ea2c4c87f4affec1bb296da024418d Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sat, 26 Oct 2024 14:51:25 -0600 Subject: [PATCH 48/50] package/python-markupsafe: bump to version 3.0.2 Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-markupsafe/python-markupsafe.hash | 4 ++-- package/python-markupsafe/python-markupsafe.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-markupsafe/python-markupsafe.hash b/package/python-markupsafe/python-markupsafe.hash index 8902d3d0ec49..c5ba01559284 100644 --- a/package/python-markupsafe/python-markupsafe.hash +++ b/package/python-markupsafe/python-markupsafe.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/markupsafe/json -md5 202a35d8c8309cd6e70f8b03c5eb7b61 markupsafe-3.0.1.tar.gz -sha256 3e683ee4f5d0fa2dde4db77ed8dd8a876686e3fc417655c2ece9a90576905344 markupsafe-3.0.1.tar.gz +md5 cb0071711b573b155cc8f86e1de72167 markupsafe-3.0.2.tar.gz +sha256 ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0 markupsafe-3.0.2.tar.gz # Locally computed sha256 checksums sha256 489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea LICENSE.txt diff --git a/package/python-markupsafe/python-markupsafe.mk b/package/python-markupsafe/python-markupsafe.mk index c96207d14b12..11e870827070 100644 --- a/package/python-markupsafe/python-markupsafe.mk +++ b/package/python-markupsafe/python-markupsafe.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_MARKUPSAFE_VERSION = 3.0.1 +PYTHON_MARKUPSAFE_VERSION = 3.0.2 PYTHON_MARKUPSAFE_SOURCE = markupsafe-$(PYTHON_MARKUPSAFE_VERSION).tar.gz -PYTHON_MARKUPSAFE_SITE = https://files.pythonhosted.org/packages/b4/d2/38ff920762f2247c3af5cbbbbc40756f575d9692d381d7c520f45deb9b8f +PYTHON_MARKUPSAFE_SITE = https://files.pythonhosted.org/packages/b2/97/5d42485e71dfc078108a86d6de8fa46db44a1a9295e89c5d6d4a06e23a62 PYTHON_MARKUPSAFE_SETUP_TYPE = setuptools PYTHON_MARKUPSAFE_LICENSE = BSD-3-Clause PYTHON_MARKUPSAFE_LICENSE_FILES = LICENSE.txt From 868d30c654b78ba74c8627244ebee079a04c0245 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sun, 13 Oct 2024 11:06:30 +0200 Subject: [PATCH 49/50] package/lua-uuid: new package Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/lua-uuid/Config.in | 6 ++++++ package/lua-uuid/lua-uuid.hash | 3 +++ package/lua-uuid/lua-uuid.mk | 13 +++++++++++++ 4 files changed, 23 insertions(+) create mode 100644 package/lua-uuid/Config.in create mode 100644 package/lua-uuid/lua-uuid.hash create mode 100644 package/lua-uuid/lua-uuid.mk diff --git a/package/Config.in b/package/Config.in index b03bc2ffcf76..0e311ad55c04 100644 --- a/package/Config.in +++ b/package/Config.in @@ -776,6 +776,7 @@ menu "Lua libraries/modules" source "package/lua-testmore/Config.in" source "package/lua-ubjson/Config.in" source "package/lua-utf8/Config.in" + source "package/lua-uuid/Config.in" source "package/lua-valua/Config.in" source "package/lua-zlib/Config.in" source "package/luabitop/Config.in" diff --git a/package/lua-uuid/Config.in b/package/lua-uuid/Config.in new file mode 100644 index 000000000000..b2f259f2fd4e --- /dev/null +++ b/package/lua-uuid/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_LUA_UUID + bool "lua-uuid" + help + Generates uuids in pure Lua. + + https://github.com/Tieske/uuid diff --git a/package/lua-uuid/lua-uuid.hash b/package/lua-uuid/lua-uuid.hash new file mode 100644 index 000000000000..d5942078e09e --- /dev/null +++ b/package/lua-uuid/lua-uuid.hash @@ -0,0 +1,3 @@ +# computed by luarocks/buildroot +sha256 e615c1fb1c22e50af5860e45794c027b1a5524cb8e7e6206ad3fed8e78b1f59e uuid-1.0.0-1.src.rock +sha256 27e7bf0219274247f4014cfb5070abfb2bb27e66c17a2dbd61427cf7fed81199 uuid/LICENSE.md diff --git a/package/lua-uuid/lua-uuid.mk b/package/lua-uuid/lua-uuid.mk new file mode 100644 index 000000000000..5d763071f8ef --- /dev/null +++ b/package/lua-uuid/lua-uuid.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# lua-uuid +# +################################################################################ + +LUA_UUID_VERSION = 1.0.0-1 +LUA_UUID_NAME_UPSTREAM = uuid +LUA_UUID_SUBDIR = uuid +LUA_UUID_LICENSE = Apache-2.0 +LUA_UUID_LICENSE_FILES = $(LUA_UUID_SUBDIR)/LICENSE.md + +$(eval $(luarocks-package)) From 71f36ef9385f860683b5c39a2c3af9f821833c5a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 28 Aug 2024 09:25:39 +0200 Subject: [PATCH 50/50] package/file: fix musl compile issue It is not totally clear which update is responsible for the breakage. The breakage has been occurring for as long as Jan 2022. Therefore it should be backported to older supported buildroot releases. Add a patch from Gentoo people, also reported Upstream to fix the issue. Fixes: http://autobuild.buildroot.org/results/abf/abfe66cec3680d396c5774ba492f34599e513edc/ Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni --- .../0001-file-seccomp-fstatat64-musl.patch | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/file/0001-file-seccomp-fstatat64-musl.patch diff --git a/package/file/0001-file-seccomp-fstatat64-musl.patch b/package/file/0001-file-seccomp-fstatat64-musl.patch new file mode 100644 index 000000000000..ecb12fe44e1e --- /dev/null +++ b/package/file/0001-file-seccomp-fstatat64-musl.patch @@ -0,0 +1,32 @@ +From 8c13923a8e17a02be0989649b2edc20124816729 Mon Sep 17 00:00:00 2001 +From: Mike Gilbert +Date: Tue, 15 Jun 2021 16:08:22 -0400 +Subject: [PATCH] seccomp: undef fstatat64 to avoid build failure on musl + +sys/stat.h in musl does this: + + #define fstatat64 fstatat + +Counteract this with an #undef. + +Bug: https://bugs.gentoo.org/789336 +Bug: https://bugs.astron.com/view.php?id=473 +Signed-off-by: Mike Gilbert +Signed-off-by: Waldemar Brodkorb +Upstream: N/A under discussion +--- + src/seccomp.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/seccomp.c b/src/seccomp.c +index 5a39ee45..d2a1139a 100644 +--- a/src/seccomp.c ++++ b/src/seccomp.c +@@ -205,6 +205,7 @@ enable_sandbox_full(void) + #endif + ALLOW_RULE(fstat64); + #ifdef __NR_fstatat64 ++#undef fstatat64 + ALLOW_RULE(fstatat64); + #endif + ALLOW_RULE(futex);